The Guide Show How-to Updating the Linux Gentoo Kernel Using the Genkernel Package/Tool.
To Make the Entire Process Easier to Visualize and Retain the Article Includes the Basic Screenshots of the Essentials Steps Involved.
The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut more Easy & Digestive ;)
- Open a Terminal Window
- Download Latest Kernel Sources
sudo su
First it's Best to Update you Portage Collection with
emerge --sync
Then proceed to Download the Kernel Sources
emerge kernel-sources
- Install or Update genkernel Package
emerge genkernel
- Updating Symlink to Kernel Sources
unlink /usr/src/linux
cd /usr/src
ln -s ./linux-3.<X.Y>-gentoo /usr/src/linux
- Generate New Kernel and Initramfs
genkernel all
Keep Waiting Because the Entire Generation Process should Take About 1 Hour...
After you Find the Freshly Generated Kernel and Initramfs Into /boot
- Update Grub Consequently
nano -w /boot/grub/grub.conf
Inserting Something Like:
title Gentoo Linux 3.<X.Y> root (hd0,0) kernel /boot/kernel-genkernel-<-arch-3.X.Y>-gentoo real_root=/dev/sda<Z> initrd /boo/initramfs-genkernel-<-arch-3.X.Y>-gentoo
After you Should be Able to Boot Into Gentoo with the Newly Updated Kernel :)
If you have Problems During New Kernel Installation: