[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not able to map hd1->hd0 for booting Windows on hd1
From: |
Marco Gerards |
Subject: |
Re: Not able to map hd1->hd0 for booting Windows on hd1 |
Date: |
Wed, 21 Jul 2004 15:36:25 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Jason Rennie <address@hidden> 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