Installing gentoo problem[solved]

I have to the part in the handbook about configuring the linux kernel. I am now having problems with changing my directory to /usr/src/linux because it says that the directory doesn't exist. I tried using ls to figure out wich directory is missing, and it is the linux directory. How do I fix this. I tried to just make the directory and then run the make menuconfig command but it said that "make: *** No rule to make target 'menuconfig'. Stop."

eselect kernel list
eselect kernel set <some number>

Should do it

If you've not installed a kernel, first emerge -a gentoo-sources

Or the kernel sources of your choice.

thank you this worked.

1 Like