- Code: Select all
sudo apt-get install build-essential ncurses-base ncurses-dev fakeroot kernel-package
sudo mkdir /opt/kernel
sudo chmod 777 /opt/kernel
tar -xzf linux-*.tar.gz
cp /boot/config-3.8.0-25-generic .config
# Hold down "Enter" until the shell prompt returns
fakeroot make-kpkg clean
fakeroot make-kpkg --initrd kernel_image kernel_headers modules_image
# Takes a really long time
sudo dpkg -i linux-headers-*.deb
sudo dpkg -i linux-image-*.deb
sudo chmod 755 /opt/kernel
DISCLAIMER: I know of no specific need to do this. If you're an "If it ain't broke, don't fix it"-kind of person, then, of course, you probably have no interest in this. This information is intended for others, like me, who might feel that "newer is better (unless proven otherwise)". What can I say, I'm an upgrade junkie.
UPDATE: Based on the information that eanfrid provided, it seems that the above may actually be a slight downgrade. However, if you'll read my post 2013-08-12 post below, you'll find an easier and actual kernel upgrade procedure.