Upgrade Kernel

This is a quick how-to on upgrading kernel Linux

Install Packages

sudo apt-get install kernel-package fakeroot build-essential ncurses-dev time

Download Desired Kernel

wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-<KERNEL_VERSION>.<MAJOR_VERSION>.<MINOR_VERSION>.tar.gz

Extract Archive

tar -xof linux-<KERNEL_VERSION>.<MAJOR_VERSION>.<MINOR_VERSION>.tar.gz
cd linux-<KERNEL_VERSION>.<MAJOR_VERSION>.<MINOR_VERSION>

Compile Kernel

cat /boot/config-`uname -r` > .config
make oldconfig
make-kpkg clean
sudo time fakeroot make-kpkg -j# --initrd kernel_image kernel_headers

Install Kernel

cd ..
sudo dpkg -i *.deb

Reboot

[cygnus@cygnus-x1] ~ 1> sudo init 6

Verify

[cygnus@cygnus-x1] ~ 2> uname -r
3.10.1
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply