Bug 199505
Summary: | grub fails to install | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Quiring <pquiring> | ||||||||||||
Component: | anaconda | Assignee: | Peter Jones <pjones> | ||||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | medium | ||||||||||||||
Version: | 6 | CC: | marius.andreiana, mattdm, samuel-rhbugs | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2007-04-07 03:58:33 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Bug Depends On: | |||||||||||||||
Bug Blocks: | 150224 | ||||||||||||||
Attachments: |
|
Description
Peter Quiring
2006-07-19 23:23:28 UTC
Can you provide the /boot/grub/device.map as well as /var/log/anaconda* Created attachment 132714 [details]
/boot/grub/device.map
Interesting to note that hdb is NOT in this map file.
Created attachment 132715 [details]
/var/log/anaconda.log
Created attachment 132716 [details]
/var/log/anaconda.syslog
Created attachment 132717 [details]
/var/log/anaconda.xlog
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 drives) 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 that? I tried that, no change. In the "advanced bootloader options" everything looks fine. By default it shows: /dev/hda (MBR) (selected) /dev/hdb1 If I change the order of the drives it shows: /dev/hdb (MBR) (selected) /dev/hdb1 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]
alternate device.map
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 170407. 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 *** |