How-to Update Linux Gentoo Kernel with genkernel Easy Guide

November 12th, 2012 by Regaz



The Guide Shows You How-to Updating the Linux Gentoo Kernel Using the Genkernel Package/Tool.

To Make the Entire Process Easier to Visualize and Retain the Post 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 the Tut Easier to Understand ;)

gnomePenguin Gentoo
  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 Look: Solution

    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
(Visited 31 times, 1 visits today)
Share on Tumblr

Tags: , , , , , ,