• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Help a newb with Grub and dual-booting.

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Needitcooler

Member
Joined
Apr 7, 2002
Location
Seattle
I have been running FC3 for the last few months and decided it is time to upgrade to Gentoo. I am at the point in my installation where I have to specify and configure grub as my bootloader. I am confused as to how I should label my hard drives within grub.conf.

My system is as follows:
1 x PATA HD
1 x CD-Rom
1 x DVD-Rom
1 x SATA HD with Windows XP installed
1 x SATA HD with Gentoo installed

Thanks for any help.
 
Its set up logically according to your ide chains, skipping floppy drives, and I believe cd drives. The first harddrive is labeled hd0, and the first partition is 0, so harddrive 1, partition 1, is hd0,0. Harddrive 2, partition 1 is hd1,0.

Now, say that you installed Gentoo on your 4th harddrive, 2nd partition. It would be setup like: hd3,1. Get it?
 
Now I keep getting a kernel panic when I try to boot gentoo. Windows boots fine though. My grub.conf for gentoo looks like this...

title=Gentoo Linux 2.6.11
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/sdb3

This doesn't seem to work. What am I doing wrong?
 
Back