Bug 503299
| Summary: | grub installs on wrong disk (or wants to) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Allen Kistler <ackistler> |
| Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | cpanceac, rmaximo, vanmeeuwen+fedora |
| 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: | 2010-07-21 16:09:30 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: | |||
|
Description
Allen Kistler
2009-05-31 00:54:48 UTC
Re: Comment #1 I don't think so. The drives are all SCSI for me, but I'd bet IDE would result the same. I actually tested with 4 drives. IDs 0-3, all on the same controller, although you only need 2 to see the bug. If the drives are all initialized or uninitialized to begin, then anaconda puts them in the right order. But if some are initialized and some are uninitialized, then anaconda says the "BIOS" lists the previously initialized ones before the newly initialized ones. I'm reasonably sure the BIOS doesn't care which ones have partition tables. In any case, once you partition them, they definitely go in ID order (like after you install and reboot). Anaconda does get ID0 = sda, ID1 = sdb, etc., correct. The initial partitioning screen has a drop down box that allows you to select which hard drive should be booted from. This defaults to the first drive in the drivelist, as detected by our bootloader code. The sort order does not appear to take into account whether the disk is initialized or not, but it does take the BIOS disk order into account. So I guess it's possible the BIOS could be lying to us here. What does this drop down box show you? What's listed in it, and what's the default? Does the default here differ from the default in the bootloader screen or where grub actually gets installed? Take an example where sda is uninitialized and sd[b-d] are initialized.
1. The combo box on the first partitioning screen lists sdb as the boot drive.
The combo box lists the drives in order: a, b, c, d
2a. If you select Custom Layout, the combo box gets disabled.
Define the custom layout on the second partitioning screen
(i.e., custom layout screen).
The bootloader screen lists the "BIOS" order as b, c, d, a.
That remains true even if you change the boot drive before it's disabled.
(You can change the order on the bootloader screen, of course, which is the
original workaround #1.)
If you don't change the order on the bootloader screen, then the bootloader
gets installed on sdb, and grub.conf refers to sda (where /boot usually is)
as hd3, requiring both parts of original workaround #2.
2b. If you select anything *other* than Custom Layout and select sda as boot
(changing it from sdb), then grub goes on sda and gets configured
correctly.
So I guess the original condition in the description should be "install any _custom_ partitioning you desire," since none of the pre-specified options lead to the bootloader screen, where the bug really seems to be.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Re: Comment 5 Moving from F11 back to rawhide. It only makes sense there. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This should be fixed in F13 and later. Pre-partitioning boot device selection UI has changed, and in my tests anaconda defaults to sda (the freshly reinitialized) here. Also, change of selection is honored in bootloader (post-partitioning) screen. |