How to Update Linux Gentoo Kernel With Genkernel Easy Guide

November 12, 2012 | By Regaz.

The Guide shows you How to Updating the Linux Gentoo Kernel Using the Genkernel Package/Tool.

And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.

The content and details are expressly reduced to give Focus only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

How to Install Linux Gentoo 12.1 64-bit KDE4 Desktop from LiveDVD to Hard-Drive Easy Visual-Guide
  1. Open a Terminal Window
    (Press “Enter” to Execute Commands)

  2. Download Latest Kernel Sources

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    First, it’s Best to Update you Portage Collection with.

    emerge --sync

    Then proceed to Download the Kernel Sources.

    emerge kernel-sources
  3. Install or Update genkernel Package

    emerge genkernel
  4. Updating Symlink to Kernel Sources

    unlink /usr/src/linux
    cd /usr/src
    ln -s ./linux-3.-gentoo /usr/src/linux
  5. 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.

  6. Update GRUB Consequently

    nano -w /boot/grub/grub.conf

    Inserting Something Like:

    title Gentoo Linux 3.
    root (hd0,0)
    kernel /boot/kernel-genkernel-<-arch-3.X.Y>-gentoo real_root=/dev/sda
    initrd /boo/initramfs-genkernel-<-arch-3.X.Y>-gentoo

    After you Should be able to Boot Into Gentoo with the Newly Updated Kernel :)

  7. If you have Problems During New Kernel Installation:

    Gentoo Kernel Troubleshooting

Tags: , , , , , ,