cd to /usr/src, and linux should be a symlink to the actually installed kernel source
user$ ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 19 Oct 25 20:30 linux -> linux-3.16.5-gentoo
drwxr-xr-x 20 root root 4096 Oct 9 20:42 linux-3.10.17-gentoo
drwxr-xr-x 25 root root 4096 Oct 12 18:34 linux-3.14.16-gentoo
drwxr-xr-x 24 root root 4096 Oct 25 20:30 linux-3.16.5-gentoo
user$ uname -r
3.14.16-gentoo
user$
(looks like i missed a new kernel .... )
kinda (!!!):
/usr/src/linux links to the last kernel compiled
emerge downloads the new source (nothing happens, until the admin acts)
admin links /usr/src/linux to the new kernel source at /usr/src
cp's the old config to the new kernel dir
compiles the new kernel and cp's it too /boot
Right? Wrong? I am not that sure ...
I just upgraded the kernel (emerge --update @world *downloaded* the new source, but the user/admin has to compile it himself), and something kinda went south with the link (went south means: i didn't fully understand it).
Don't forget to cp the old kernel .config to the new kernel, else you gotta start from scratch again.
Besides the handbook i also looked at:
https://wiki.gentoo.org/wiki/Kernel/UpgradeI mixed both, wiki and handbook, and asked the rest in IRC.
At the same time someone else asked in IRC, and he had problems with upgrading the kernel by looking only at the handbook too.
Doesn't sound as if it was your problem only (or only the one of the two of us)
initrd ... i read somewhere that i'm not supposed to have one
Well: lol. It sounds outstanding funny, to me.
Might be, might not, i simply don't know.
Last edited by
nadir on Mon Oct 27, 2014 8:03 pm, edited 1 time in total.