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.
|