Update Kernel

Update Kernel

2024-01-24
Default
Linux

Quick guide on how to update a kernel on Gentoo Linux manually.

First copy the .config to the directory with the new kernel sources.

Next update the config. The oldconfig script will ask the user how to configure the additional options of the new kernel.

make oldconfig

Finally build the kernel and its modules, install the kernel and the modules and update grub.

make -j32 modules_prepare && make all -j32 && make modules_install && make install && grub-mkconfig -o /boot/grub/grub.cfg && emerge --ask @module-rebuild