Description of problem: Aftering installing on hdb the install phase has failed
to install the grub boot sector on hda. No errors encountered during install
phase. (note : hda = WinXP 100% NTFS, hdb = 100% free space). I tried to boot
into rescue mode and try the "grub-install /dev/hda" after running "chroot
/mnt/sysimage" but I get an error message "/dev/hdb1 does not have a
corresponding BIOS drive number".
Version-Release number of selected component (if applicable):
How reproducible:Always (tried twice)
Steps to Reproduce:
1.Boot from DVD on USB-DVD-ROM
2.Allow anaconda to perform auto partitioning on free space.
3.Install Fedora Core (no error messages)
5.Still booting into WinXP (no grub)
Actual results:Boots into XP boot manager.
Expected results:Boot into grub manager.
Additional info:I have saved a copy of the MBR from hda when I use to have FC5
installed on hda (hda was partitioned then). Could I just paste this MBR back
into hda and will grub be "smart" enough to look for /boot on hdb??? Or is
there config info saved in the grub master boot sector for where to look for /boot?
Can you provide the /boot/grub/device.map as well as /var/log/anaconda*
Created attachment 132714 [details]
Interesting to note that hdb is NOT in this map file.
Created attachment 132715 [details]
Created attachment 132716 [details]
Created attachment 132717 [details]
Those are the requested log files. Hope they help.
PS. I tried to copy the MBR from a previous FC5 install as I asked about in the
additional info -> didn't work -> just get a blank screen on bootup.
Got it working. Looks like that device.map was not setup correctly.
1) I switched the drives (master <-> slave)
2) run linux rescue mode
3) edited device.map and added "(hd1) /dev/hdb"
4) run "grub-install /dev/hdb" (note that I use hdb here since I switched the
5) switched the drives back
Steps 1 & 5 were probably not needed but I was trying stuff till I got it working.
Looks like the grub MBR is specific to install after all.
FYI : I tried to run grub-install again without switching the drives and it
works. So steps 1 & 5 were not needed in my fix posted earlier. The problem is
definitely the device.map, but why?
Hrmm... we might have broken writing out things for multiple drives, although
the code seems fine from inspection
Well... I tried to install FC5 and I get the same results. So this is not a
regression. I've never tried this current hardware config before with Fedora.
I use to just re-partition my main drive since I was using FAT32 and it was easy
to resize, but now I use NTFS (faster) so I decided to pop in a smaller drive
and make it the slave to use for Fedora.
I'll try other things and keep you posted.
Could be just some sort of hardware compatibility issue.
This probably just means we can't detect which one is bootable, and you need to
change the disk order on the "advanced bootloader options" screen. Can you try
I tried that, no change. In the "advanced bootloader options" everything looks
fine. By default it shows:
/dev/hda (MBR) (selected)
If I change the order of the drives it shows:
/dev/hdb (MBR) (selected)
which doesn't make any sense.
The device.map isn't getting generated properly for grub-install.
The second of those (which you say doesn't make sense) appears to be correct -
have you tried it to see what happens?
Created attachment 136949 [details]
As your can in this device.map when I switch the drive order, it has both drives
listed in there, but there order is reversed as expected.
I'm still booting directly into WinXP, so anaconda must have installed the MBR
on hdb as expected in this case.
Did you use the default partitioning with LVM? This may be a duplicate of bug
Yes, Bug 170407 seems similar.
Fedora Core 5 and Fedora Core 6 are, as we're sure you've noticed, no longer
test releases. We're cleaning up the bug database and making sure important bug
reports filed against these test releases don't get lost. It would be helpful if
you could test this issue with a released version of Fedora or with the latest
development / test release. Thanks for your help and for your patience.
[This is a bulk message for all open FC5/FC6 test release bugs. I'm adding
myself to the CC list for each bug, so I'll see any comments you make after this
and do my best to make sure every issue gets proper attention.]
I would change the version if I could, but I can't. This is almost certainly a
duplicate of bug 170407, but that one has FC4 as the version.
Thanks. I'll mark this as a dupe and update that one.
*** This bug has been marked as a duplicate of 170407 ***