Ubuntu 14.10 upgrade kernel

How to upgrade Ubuntu 14.10 kernel to version 3.17.1

Upgrading a distribution’s kernel is something I tend to shy away from. There was a time, though, when recompiling the Linux kernel was fun. But that was years ago. Now, I just use the version that’s installed and let the system take care of upgrading to the latest stable version.

But after I found out that my Linux Mint-powered-laptop, which I had just upgraded to Linux Mint 17.1, was still using kernel version 3.13, I decided I needed to be running a more recent kernel version and upgraded it to kernel 3.16.

After that, I took a look at a test installation of Ubuntu 14.10 and found that it was using kernel 3.16. A visit to http://kernel.ubuntu.com/~kernel-ppa/mainline/ revealed that kernel 3.17.1 was available, so I decided to upgrade to that.

That’s the gist of this tutorial – how I upgraded the kernel in Ubuntu 14.10 from 3.16 to 3.17.1. It’s a very simple task, but one that can cause a minor headache – if you’re using some fancy hardware that requires special drivers.

Even at that, it’s still worth trying, because the worst that can happen after upgrading is your system will boot, but certain features will not work. If that happens, you can always remove the offending kernel. The commands for doing that are given at the end of this tutorial.

Related Post:  Accessing Linux systems remotely

So, to upgrade to kernel to the latest mainline Ubuntu 14.10 kernel, which at the time of this writing is version 3.17.1, visit http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/ and download the three required files. Those three files are shown in Figure 1.

Ubuntu 14.10 upgrade kernel

Figure 1: Kernel files to download for upgrading to version 3.17.1.

In that link, you have the option of download a generic or low-latency kernel. Unless you have a very low-end computer or have the need for real-time features, the generic version is what you’ll download. So download all three files to your Downloads folder, open a shell terminal and cd (change) into it. The following code block shows the sequence of commands you’ll use to install it.

Related Post:  End-to-end Machine Learning with TensorFlow on Google Cloud Platform

After that, reboot the computer. Once logged in, you can verify that your system is using the new kernel by typing:

If for any reason you want to remove the just installed kernel, follow the sequence of commands in this code block.

After that last command has completed, reboot the computer and you should be using the previous kernel.

Please share:

4 Responses

Add a Comment

Your email address will not be published. Required fields are marked *