Ubuntu 14.10 upgrade kernel

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.

Related Post:  How to configure a network interface on Pardus 2009.1

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.

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.

# Change to the Downloads folder

cd Downloads

# Verify that the files are there

ls | grep *deb

linux-headers-3.17.1-031701_3.17.1-031701.201410150735_all.deb
linux-headers-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
linux-image-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb

# They are. Cool! Let's install them.

sudo dpkg -i *deb

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

# Verify running kernel

uname -r

3.17.1

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

# What are the installed kernels?

dpkg --list | grep linux-image

ii  linux-image-3.16.0-23-generic   
ii  linux-image-3.17.1-031701-generic    
ii  linux-image-extra-3.16.0-23-generic 
ii  linux-image-generic

# Remove the one you just installed

sudo apt-get purge linux-image-3.17.1-031701-generic

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

Related Post:  17 alternatives to your default image viewer on Fedora

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

4 Responses

  1. These are good instructions but I wonder why you decided on 3.17.1 when 3.17.6 and 3.18.0 kernels were released yesterday. I chose to upgrade to 3.18.0 and all seems good.

  2. If you could change the kernel for LinuxMint 17.1 from 3.13 to 3.17.1, I suppose the same procedure could also apply for Xubuntu 14.04?

    Once done, what would happen on System update? Would it see that the kernel (now 3.17.1) is different than what there is in the repo 3.13.x. Would system update overwrite the manually installed kernel?

    Thanks for any clarification

Leave a Reply

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

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.