|
grub with PATA/SATA Windows FC5
I am having trouble getting grub to work properly. It works fine when I boot from the floppy. Here's what I have:
Primary IDE : old windows install - want to ignore this
Secondary IDE : Fedora Core 5
SATA 1 and 2 : mirrored drives using nvidia raid. This should show up as (hd2) for grub. When in Linux, both /dev/sd[ab] appear and also dm-1 through dm-10 which are the paritions on the mirror drives. Right now I don't want to mount the windows parititon on Linux - need to get it to boot first.
Boot order is normal, Primate ide, sec ide, Sata raid.
When it boots from the hard drive, it fails in stage1.5 with a error 17.
Here's the grub.conf file from /boot/grub on hd1
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title WinXp
rootnoverify (hd2,0)
chainloader +1
title Fedora Core (2.6.16-1.2096_FC5)
root (hd1,0)
kernel /vmlinuz-2.6.16-1.2096_FC5 ro root=LABEL=/ rhgb quiet selinux=0
initrd /initrd-2.6.16-1.2096_FC5.img
It doesn't get far enough to load this file. In grub, I did this:
root (hd1,0)
setup (hd2)
No errors were reported.
What am I doing wrong.
It tries to boot and then fails in stage1.5. I've wasted a perfectly good Sunday on this - it has to be an easy fix.
This was from an upgrade from FC4 to FC5. I also updated the device.map and it is this:
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sda
(hd3) /dev/sdb
Also once it sees the grub.conf file, will I need to map hd2 to hd0 to get windows to boot?
Thanks,
|