GRUB not liking WinXP and MBR on a SATA
So I've got three HDs, two IDEs (hda, hdb) and one new SATA drive (sda). I can't for the life of me get Grub to boot Windows XP.
I had Windows XP on hda1 taking up the entire disk, and Gentoo on sda (sda1 - boot, sda2 - swap, and sda3 - /). I was able to boot either OS by selecting the hard drive through the BIOS, but I could never get Grub to boot Windows. It would just print out:
title=Windows XP Pro
rootnoverify (hd0,3)
chainloader +1
and freeze. So, I thought maybe if I were to move my Windows partition to the sda drive I could get it to boot. I made a new partition, sda4, as the same size as hda1, and used dd to copy the data over. I then configured my /boot/grub/menu.1st as so:
default 0
timeout 20
title=Gentoo Linux 2.6.15-r1
root(hd2,0)
kernel /boot/vmlinuz root=/dev/sda3
title=Gentoo Linux 2.6.15-r1 (Safe)
root(hd2,0)
kernel /boot/vmlinuz.old root=/dev/sda3
title=Windows XP Pro
rootnoverify (hd0,3)
chainloader +1
When I select Windows XP Pro, it still just shows me the commands and freezes. I can boot Gentoo no problem. What's confusing me is that when I run grub under linux, it properly recognizes the sda drive as (hd2), but when I boot to Grub and am using the command-line options to try to boot Windows, it only detects the windows partition as (hd0,3).. shouldn't it be (hd2,3)?
Another related problem, is that hitting TAB when I run grub on linux results in a tab, not auto complete. WTF?
|