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've not tried installing grub onto the MBR of the disk that
windows is on and then booting from that disc every time. I'm scared
(and slightly scarred) that if I do that I'll not be able to boot
windows at all and have to reinstall it again (boring).
I remember reading that with grub legacy you could fool windows into
thinking it was on the first disk with something like this in menu.lst:
map (hd0) (hd1)
map (hd1) (hd0)
Does anyone know how to do something similar with the grub we use now?
Or is there something else I've not thought of?
Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page