After updating the kernel source with portage:
- Set symlink to new version
eselect kernel listsudo eselect kernel set <n>(withnthe number of the desired kernel version
- Copy the
.configfile to the new kernel foldersudo cp /usr/src/linux-1.2.3-gentoo/.config /usr/src/linux/.config(where1.2.3is the currently running kernel version)
- Update the
.configfor new itemscd /usr/src/linuxsudo make oldconfig- Adjust new options as needed
- Build the kernel:
sudo makesudo make modules_installsudo make install
See also
- Gentoo wiki docs: https://wiki.gentoo.org/wiki/Kernel/Upgrade