bugGNU GRUB - Bugs: bug #9724, Cannot boot Windows XP on hd1;...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9724: Cannot boot Windows XP on hd1; 'map' command doesn't work

Submitted by:  Jason Rennie <jrennie>
Submitted on:  Thu 22 Jul 2004 03:22:34 AM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Jason Rennie
Open/Closed: ClosedRelease: 0.95
Release: NoneReproducibility: Every Time
Planned Release: None

Sat 15 Dec 2007 01:00:18 PM UTC, comment #5:

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Project Administrator
Mon 26 Jul 2004 02:41:01 PM UTC, comment #4:

Miguel Angel Haluza pointed out to me that I should have used "rootnoverify (hd1,0)" in my original set-up. He is able to boot XP on non-first HD in this way.

I don't think I would have made my mistake if the following was included in the manual under Booting::OS-specific notes::DOS/Windows:

Note that Grub's own drive numbering is unaffected by the map command. I.e. in the given scenario, the following sequence of commands would boot DOS/Windows:

grub> map (hd0) (hd1)
grub> map (hd1) (hd0)
grub> rootnoverify (hd1,0)
grub> makeactive
grub> chainloader +1
grub> boot

Jason Rennie <jrennie>
Thu 22 Jul 2004 03:28:38 AM UTC, comment #3:

Wishing you could edit comments...
bugs #9159

Jason Rennie <jrennie>
Thu 22 Jul 2004 03:27:18 AM UTC, comment #2:

Doh! I meant:
bugs 9159

Jason Rennie <jrennie>
Thu 22 Jul 2004 03:24:43 AM UTC, comment #1:

The exact grub version is 0.95+cvs20040624-3 (Debian)

Again, this bug may be related to
bugs #9195

Jason Rennie <jrennie>
Thu 22 Jul 2004 03:22:34 AM UTC, original submission:

I have the following disk set-up:

/dev/hda1 * 20GB Debian Sarge (mounted as /)
/dev/hda2 2GB Swap Space

/deb/hdb1 * 40GB Windows XP

My Windows grub menu.lst entry:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1
boot

When I select this entry, grub reports

Error 13: Invalid or unsupported executable format

If I use 'root' instead of 'rootnoverify', I get this additional message:

Filesystem type is ext2fs, partition type 0x83

If I get rid of the two map commands, I get the same message. It seems that the map commands aren't working. If I do 'root (hd1,0)', I get this message:

Filesystem type unknown, partition type 0x7

but then the machine freezes. Adding back the map commands doesn't change anything.

Thinking that this might be a issue with the location of /boot on the drive, I repartitioned & reinstalled Debian with this configuration on hda:

/dev/hda1 * 1GB ext3 /boot
/dev/hda2 19GB ext3 /
/dev/hda3 2GB Swap Space

I got the same problem as described above. I then decided to swap the drives and reinstall (so that I wouldn't need to call 'map' to boot Windows XP). New configuration:

/deb/hda1 * 40GB Windows XP

/dev/hdb1 * 1GB ext3 /boot
/dev/hdb2 19GB ext3 /
/dev/hdb3 2GB Swap Space

Windows /boot/grub/menu.lst entry:

title Windows 95/98/NT/2000
root (hd0,0)
makeactive
chainloader +1

Now I can boot Windows XP.

This may be related to bug #9159.

Jason Rennie <jrennie>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by robertmh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 01:00:18 PM UTCrobertmhOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1