Bug 113371 - Anaconda seems to not install grub on the MBR
Summary: Anaconda seems to not install grub on the MBR
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
(Show other bugs)
Version: 1
Hardware: i686 Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2004-01-13 10:51 UTC by Paolo C.
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-05 16:00:41 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Paolo C. 2004-01-13 10:51:23 UTC
Description of problem:

I installed fc1 but when I boot the machine I can only boot windowsXp,
there is no sign of grub ( I installed it the MBR)


Command (m for help):
Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1            15      3738  29912998+   7  HPFS/NTFS
/dev/hda2   *         1        14    112423+  83  Linux
/dev/hda3          3739      4997  10112917+  83  Linux

Partition table entries are not in disk order
Command (m for help):
Disk /dev/hdb: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1       897   7205121    b  Win95 FAT32
/dev/hdb2           898      1027   1044225   82  Linux swap

Ed il grub.conf:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this
file # NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
title Red Hat Linux (2.4.20-8)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1

Boot the machine with the linux cd and perform the following steps 
doesn't solve the problem:
#chroot /mnt/sysimage
#grub-install /dev/hda

Version-Release number of selected component (if applicable):

How reproducible:
Just install grub on the MBR

Steps to Reproduce:
Actual results:
I can only boot windowsXP

Expected results:
I expected to have a dual boot machine (XP and Fedora)

Additional info:

Comment 1 Jeremy Katz 2004-01-13 20:42:38 UTC
Is your machine somehow booting from hdb instead of hda?  Can you
attach the contents of /boot/grub/device.map?

Comment 2 Paolo C. 2004-01-13 22:18:43 UTC
Here it is the content of that file:

# this device map was generated by anaconda
(fd0)     /dev/fd0
(hd0)     /dev/hda

I don't think the machine is somehow booting from hdb because WinXP 
is on hda and is booting fine.

Comment 3 Paolo C. 2004-01-19 15:05:36 UTC
the problem it is fixed, 
here it is the whole discussion:

I dunno if I have to close the BUG report because
the problem is fixed (I can boot the machine) but a problem is still 
present, the disks are switched.

Note You need to log in before you can comment on or make changes to this bug.