hda1 = hd0,0
hda6 = hd0,5
I am trying to setup Grub here is my specs:
/dev/hda1 Windows XP
What is hda6 (hd?,?) and hda1 (hd0,0)?
Add this to the botton of /etc/grub.conf:
title Windows XP
That should be all. It worked with my Win2k dual boot.
I installed gentoo linux on my bro's laptop. I followed the directions install grub but when I reboot I only get the grub prompt.. I hate grub... If my bro is not able to boot into win he will kill me.
you have to create a /boot/grub/menu.lst:I installed gentoo linux on my bro's laptop. *I followed the directions install grub but when I reboot I only get the grub prompt.. *I hate grub... *If my bro is not able to boot into win he will kill me.
this is mine, change your (hdX,X) values
More Info:Code:# File /boot/grub/menu.lst - Bootmenu definition # # Start Entry 0 by default default 0 timeout 10 # makeing it nicer ;) color green/black light-green/black #Standard Linux title Linux 2.4 kernel (hd0,1)/boot/bzImage root=/dev/hda2 #Windows 98 title Windows 98 chainloader (hd0,0)+1
I've done grub-install yet no luck. What I get is a grub promt.. If I type configfile /boot/grub/menu.lst is brings up the spash screen menu an it works but if I reboot I must do the same thing again... Atleast I got it to load windows now my bro will be happy.
It sounds like you didn't get GRUB installed in the MBR.
Do a grub-install and from the grub> prompt issue these commands.
Now edit the /boot/grub/menu.lst file to reflect your setup.
Have a Win bootdisk handy in case this gets hosed up. Boot from the floppy and do an fdisk /mbr to get rid of GRUB and restore the Windows boot.
Well this all sounds nice, one question though...
My root partition is /dev/md1 - what do I put in hd(x,y) ??
According to "info grub" ( yes, you can actually type in to get the manual ), Grub do not distinguish between IDE or SCSI. So I would guess that that is also true for RAID drives. As long as it's on first HDD, it would use it as hd (x,x). Of course, yu already knew that HDD numbers are begins with zero as well as partition numbers. Plus, the extended partitions always begins with number 4 ( which is the fifth partition ) regardless of whether you have three primary partition or one primary partition.
So in your case, I would guess the entry would be (hd0,0).