smith Apprentice
Joined: 12 Sep 2003 Posts: 222
|
Posted: Wed Sep 17, 2003 9:17 pm Post subject: grub dual boot - only one harddrive |
|
|
primary partition
hda1 - 6gig ntfs (winxp)
extended patition
hda5 - /boot
hda6 - /swap
hda7 - /
I wanted to install grub on the MBR so I did the following first:
I issues the following commands:
root (hd0,0)
setup (hd0)
but both returned errors.. I am guessing b/c hd0 is ntfs format???
So then I decided to try the following:
root (hd0,4)
setup (hd0,4)
It didn't complain about anything.. and seemed to install fine. Did I do this correctly? (btw I haven't tried to reboot yet b/c it was still installing kde as I was leaving for the day)
my grub.conf is as follows:
title: gentoo 1.4
root (hd0,4)
kernel (hd0,4)/boot/kernel-2.4.20-r5 root=/dev/hda5
initrd (hd0,4)/boot/initrd-2.4.20-r5
title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1
(can't remember the exact kernel numbers right now..they are at work..but that looks right, I used genkernel)
So when I reboot.. whats the prediction?? or tell me what I need to correct plz.. so I can do it b4 I try to reboot. |
|