Bug 89522

Summary: GRUB should use "map" for Windows on non-primary partition
Product: [Retired] Red Hat Linux Reporter: Steve Hall <digitect>
Component: grubAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-23 19:39:18 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 Steve Hall 2003-04-23 19:35:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

Description of problem:

Windows 95 (probably many newer) can not boot from a slave hard drive,
even when particularly specifying, i.e., "rootnoverify (hd1,0)". But
GRUB can easily be configured to work around this using the "map"
argument:

  # load Windows on a second (slave) hard drive
  title Windows
      map (hd1) (hd0)
      rootnoverify (hd0,0)
      chainloader +1

Read more here:
  http://www.gnu.org/software/grub/grub-faq.en.html#q10

This should be the default setup when a vfat filesystem is detected on
any drive other than the primary. (Note GRUB properly detected the
filesystem and location, and even passed off to the OS, Windows just
failed to boot from there.)


Version-Release number of selected component (if applicable):
(default, not sure)

How reproducible:
Always

Steps to Reproduce:
Occurs with any default RH9 install with a Windows 95 (newer?) OS on a
non-primary drive partition.

Additional info:

It seems likely this would be an acceptable even on a later version of Windows
that *was* able to handle booting from non-primary. I'm categorizing as
Severity:High because it completely disables the OS. (*skips opportunity to make
jokes*)

Comment 1 Jeremy Katz 2003-04-23 19:39:18 UTC
Depends entirely on BIOS and version of Windows.  Newer versions of Windows are
able to boot from a slave hard drive fine -- I know I did it with Windows 98
many years ago.