Bug 170493

Summary: GRUB config is invalid for "Other" OS.
Product: [Fedora] Fedora Reporter: Ivo Sarak <ivo>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CANTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
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: 2005-10-15 15:07:13 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 Ivo Sarak 2005-10-12 11:49:01 UTC
Description of problem:
Anaconda will create invalid GRUB config for "Other" OS and because of it is not
possible to boot into this Other OS. In my case it is Windows XP and it is
placed on /dev/hda1. FC4 itself is on /dev/sda.


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


How reproducible:


Steps to Reproduce:
1. Install FC4 on system where /dev/hda1 has Windows XP installed and /dev/sda
is for FC4;
2. On system BIOS make the /dev/sda as primary boot device;
3. Install the FC4 to /dev/sda and during GRUB configuration change the device
order (under advance settings) and set the /dev/sda first and /dev/hda as second
sevice;
  
Actual results:
/boot/grub/grub.conf:

title Other
        rootnoverify (hd1,0)
        chainloader +1


Expected results:
/boot/grub/grub.conf:

title Other
        map (hd0,0) (hd1,0)
        map (hd1,0) (hd0,0)
        rootnoverify (hd1,0)
        chainloader +1


Additional info:

Comment 1 Jeremy Katz 2005-10-15 15:07:13 UTC
Unfortunately, the need to do mapping isn't something which can be determined in
an automatic fashion.  For the setup of the vast majority of users, the
configuration we set up is the better one to use.