How to upgrade Ubuntu 14.10 kernel to version 3.17.1

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:  Got a PRISM and Boundless Informant problem? Whisper and Tor can help

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.

Share:

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

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
4 Comments
Inline Feedbacks
View all comments
dar
dar
6 years ago

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.

Innocent Bystander
Innocent Bystander
6 years ago

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

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
4
0
Hya, what do you think? Please comment.x
()
x
Algorithm 2020

Did you get your ticket yet?

Algorithm 2022 is a 3-day conference on blockchain, cryptocurrencies and AI set for Feb. 10 – 12, 2022, in Dallas. Speakers from the US Air Force, Ministry of Digital Transformation, Ukraine, and more. click that button to learn more and get your ticket. Use BSD20 code for 20% off ticket price.