Installing a new kernel in a Ubuntu based distribution

Written by Robert -

I was having some video card driver issues which seem to be fixed in the latest Linux Kernel 4.1.0. Because of that, I wanted to upgrade my kernel to the latest version.

First, go to the tmp folder:
cd /tmp

Create an empty folder for the new kernel, in this case I created a folder for 410 and enter it:
mkdir kernel410
cd kernel410/

Download the kernel version required. In this case I downloaded the latest stable kernel available:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/linux-headers-4.1.0-040100rc2-generic_4.1.0-040100rc2.201505032335_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/linux-headers-4.1.0-040100rc2_4.1.0-040100rc2.201505032335_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/linux-image-4.1.0-040100rc2-generic_4.1.0-040100rc2.201505032335_amd64.deb

Install the three files required for the new kernel:
sudo dpkg -i *.deb

Update grub if everything was successful:
sudo update-grub

After a reboot, you can now use a newer kernel version.

Comments