Gentoo Install - Stuck, please help!

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
I'm not sure what to do now at all...the only thing I did differently from the install guide was use reiserfs instead of ext2... it says it can't find the image :(
 

DasFox

Diamond Member
Sep 4, 2003
4,668
46
91
Lucky for you I run Gentoo too. Put the install CD back in, mount your partitions, chroot in and then edit the config.

mount /dev/hdax /mnt/gentoo
mount /dev/hdax /mnt/gentoo/boot

Replace x of course with your hdd

cd /mnt/gentoo

mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

Now you're in and ready to go all you need to do now is cd /boot/grub, or I forgot cd /mnt/gentoo/boot/grub :)

Edit the config and then reboot!

ALOHA
 

DaiShan

Diamond Member
Jul 5, 2001
9,617
1
0
If you are unsure how to fix your grub.conf, post what you have and I'll edit it for you. Also please post the dev names of your hard drives (/dev/hd*)
 

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
Hey thanks so much for the help. I had to go to sleep, but I'll get right on to trying these things, if I can't get it working I'll post what I have.

Thanks again! :)

EDIT: DasFox, sprechen Sie deutsch?
 

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
Well, here is what I have...

my system is setup like this

/dev/hda1 is /boot and it's reiserfs
/dev/hda2 is swap
/dev/hda3 is / and it's reiserfs

now here is my current grub.conf

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r10
root(hd0,0)
kernel /boot/kernel-2.6.12-gentoo-r10 root=/dev/hda3

Now, one thing I noticed.... when I take a look in boot, it only has two folders... boot and grub... I don't see the kernel anywhere :( Did I someone fail to properly install it?

Thanks again
 

sigs3gv

Senior member
Oct 14, 2005
513
0
0
Originally posted by: htmlmasterdave
Well, here is what I have...

my system is setup like this

/dev/hda1 is /boot and it's reiserfs
/dev/hda2 is swap
/dev/hda3 is / and it's reiserfs

now here is my current grub.conf

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r10
root(hd0,0)
kernel /boot/kernel-2.6.12-gentoo-r10 root=/dev/hda3

You don't need the bolded part because hda1 is already /boot. Therefore, upon mount your kernel line would attempt to look for /boot/boot/kernel-2.6.12-gentoo-r10.

To fix this replace the current kernel line with:
kernel /kernel-2.6.12-gentoo-r10 root=/dev/hda3
 

htmlmasterdave

Golden Member
Jul 13, 2001
1,309
0
0
I was just about to post that I managed to fix the problem, my grub.conf was definitely incorrect, but it so happens I also forgot to actually install the kernel. There are all kinds of things I apparently still need to do though... right now I'm trying to figure out why my ethernet card (eth0) does not exist. I thought the manual's instructions allowed for all of the modules to load on boot.
 

DaiShan

Diamond Member
Jul 5, 2001
9,617
1
0
Yeah you need to make sure that /boot is mounted when you compile your kernel. Also, why not just compile support for your NIC into the kernel, save you some headaches. From the livecd type lspci to get the model number of your NIC, take down this information, then go into your kernel and type Y when you get to your network card (to include in the kernel)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Also, why not just compile support for your NIC into the kernel, save you some headaches.

Because modules are more flexible, for instance the only way to reload the NIC driver if it's static is to reboot which is stupid.