Jason Rennie <[EMAIL PROTECTED]> writes:

> Hello,
>
> I have the following disk set-up:
>
> /dev/hda1 *  20GB  Debian Sarge (mounted as /)
> /dev/hda2     2GB  Swap Space
>
> /deb/hdb1 *  40GB  Windows XP
>
> I've followed the grub instructions for DOS/Windows.  This is what the
> entry for Windows looks like in my /boot/grub/menu.lst:
>
> title Windows
> map (hd0) (hd1)
> map (hd1) (hd0)
> root (hd0,0)
> makeactive
> chainloader +1
> boot
>
> But, whenever grub runs the "root (hd0,0)" command, grub sees the
> linux partition:
>
>  Filesystem type is ext2fs, partition type 0x83

It seems that mapping was not required and that your second harddrive
was reported by the BIOS as the first.

> which is the filesystem and partition type of hd0,0.  When grub tries
> to boot it reports "Error 13: Invalid or unsupported executable
> format".  If I instead do "root (hd1,0)", grub sees the windows
> partition:
>
>  Filesystem type unknown, partition type 0x7

Perhaps you are using a NTFS partition.  In that case you should use
rootnoverify instead of root.

--
Marco



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to