Originally posted by burns
cannot stat kernel-2.6.7-gentoo-r11 : No such file or directory
The same if I add /boot to the begining.
Should I have mounted hda1 to /boot after chrooting or somthing? It was the first thing I did once the live CD booted.
ok theres two linux environments (thus to /etc folder, two /tmp and so on). The first linux environment belongs to the livecd and is what you see when you first bootup. The way gentoo is installed is you use the livecd environment to create your own gentoo install and your gentoo install is built in /mnt/gentoo. The reason why it's done this way is because you need at least some basic linux command to start creating your own gentoo from scratch. Your custom rolled gentoo in /mnt/gentoo is the second linux environment. In the documentation everything
before the 'chroot' line you will be accessing the livecd. When you 'chroot' something you jail yourself into that directory. Example at the beginning you have
Code:
/bin
/boot
/dev
/etc
/mnt ----- gentoo [color=deeppink]-----[/color]
/opt [color=deeppink]\[/color]
/proc [color=deeppink]/bin[/color]
/sbin [color=yellow]/boot[/color]
/tmp [color=deeppink]/dev[/color]
/var [color=deeppink]/etc[/color]
[color=deeppink]/mnt/[/color]
[color=deeppink]/opt[/color]
[color=deeppink]/proc[/color]
[color=deeppink]/sbin[/color]
[color=deeppink]/var[/color]
Thw white half being the livecd the pink half being on /dev/hda3 and the yellow part being on /dev/hda1. Now when you chroot something say with the command 'chroot /mnt/gentoo /bin/bash' you jail yourself to the pink side for the tree therefore / will be the gentoo directory and thus you annot access the white half which is the livecd (whilst before the chroot it used to be / and the livecd half could be accessable).
Now whenever you want to build a kernel, run lilo or grub, or run emerge you
must be chrooted in the pink half. There are somethings that do not require you to chroot into the pink half such as just accessing file. I think this is whats confusing you the two environments and where you are in it. I hope it kind of clear things up.