Op Wed, 15 Dec 2010 18:08:14 +0100 schreef Andrew Benton  
<[email protected]>:

> Hello World!
> In order to make room for more games (the only reason I run Windows) I
> recently reinstalled Windows XP on a separate hard disk. If I go into
> the BIOS boot menu and get the BIOS to boot that disk then Windows
> boots fine. However, I can't get grub to boot it. The screen goes blank
> and I get a cursor blinking in the top left corner. The relevant entry
> in grub.cfg looks like this:
>
> menuentry "Windows" {
>   set root=(hd1,1)
>   chainloader +1
> }
>
> I get the same result if I try this:
>
> menuentry "Windows" {
>   set root=(hd0,1)
>   chainloader +1
> }
>
> /dev/sda1 is currently blank. Windows is installed on /dev/sdb1.
>
> andy:~$ cat /boot/grub/device.map
> (hd0) /dev/sda
> (hd1) /dev/sdb
> andy:~$
>
> I've a feeling this is because I have grub installed on the MBR of my
> linux disk and in the BIOS boot order the windows disk is the second
> one. I think windows XP likes to be on the first partition of the first
> disk.

I do not think so. I have three XP-installations on two harddisks and they  
all boot fine.
I have Grub 2 on the first harddisk (hd0) and it boots XP on the 2nd  
harddisk with:

menuentry "Windows NT/2000/XP (loader) (on /dev/sdb1)" {
        insmod fat
        set root=(hd1,1)
        search --no-floppy --fs-uuid --set 14bf-ed52
        drivemap -s (hd0) ${root}
        chainloader +1

(result of update-grub and grub-install in Linux Mint on the 1st harddisk)
It does not boot XP on the 1st harddisk, but I have not had the time to  
figure out why.
If I know more, I let you know, but I give priority to building LFS 6.7  
(problem building gcc;
did something wrong in the toolchain, I presume).

Maybe also this site can help you:
http://kubuntuforums.net/forums/index.php?topic=3106368.0
See under the heading The Quick-and-Dirty Solution.

Hans.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to