I would like to upgrade to the latest 3.17 Linux Kernel because it has support for the Xbox One Controller and I really want to test it out.
I am running Ubuntu 14.10 64bit with the latest pre-release updates.
I have looked around the internet but most of the tutorials seem outdated, I don't want to follow them, have something mess up and have to reinstall everything
I successfully updated my Ubuntu 14.10 installation to the 3.17.8 kernel using the Mainline builds. To update to 3.17, you have to:
Download the corresponding linux-image-*-generic-* package:
on a 32-bit system:
on a 64-bit system:
Install the package with
dpkg
:For some configurations (special drivers, manually compiled kernel modules), you also need the linux-headers-*-generic-* packages.
I had to do this a little while ago when I bought a new sound card for my machine which was running ubuntu 12.04 at the time. I had to upgrade my kernel to 3.16.2 to get the updated sound card driver. The process is fairly straight forward. I take no responsibility for this going wrong for you, if it does :-). It worked well for me:
sudo apt-get install g++ libncurses5-dev dpkg-dev
Download the stable kernel from linux kernel 3.17.8 at www.kernel.org
Assuming the tarball has been downloaded to your Downloads folder, move to that folder with
cd ~/Downloads
and then unpack the tarball withtar -xf linux-3.17.8.tar.xz
.cd ./linux-3.17.8
. you now need to copy a kernel config file from your /boot folder into this new kernel source folder. Copy your current kernel config file with thiscp /boot/config-`uname -r` ./.config
make olddefconfig
make menuconfig
to enter the kernel configuration utiltiy. Don't do this unless you really need to. There are A LOT of options, most of which most people wouldn't know anything about. You might have to find the driver for your controller and select it to include as a kernel module. With a bit of luck it will already be included. Personally I would first try to compile the kernel without making any changes to the config, and if your controller still doesn't work then edit the config and see if there is a new driver to include.make deb-pkg
. This will compile the new kernel and build DEB packages which you can use to install the new kernel. If you have multi-core processor, which most people do, you can speed up the compiling process by adding an argument to the make command. For example if you have a quad core then you could usemake -j4 deb-pkg
or if you have an 8 core processor thenmake -j8 deb-pkg
and so on ... the compiling process will take quite a while so getting your machine to use multiple threads will help speed things up a bit. Once it's finished compiling and building the DEB packages you will find a set of DEB packages in your Downloads folder.sudo -i gedit /etc/default/grub
. Find the follwoing line in the fileGRUB_HIDDEN_TIMEOUT=0
and comment it out with a #. Also find the lineGRUB_TIMEOUT
and set a value for it like 10 (10 seconds). This will give you a 10 second count down before the machine boots into the first kernel in the list. Once this is done and the file saved. Run this in the terminal windowsudo update-grub
make the changes take effect. Also, before installing the new kernel, if you are using a proprietry nvidia driver you should probably drop back to nouveau driver which comes included with the linux kernel. You can do this through the "Additional drivers" utility.sudo dpkg -i ../linux*3.17.8*.deb
.uname -r
. Hope this works for you. It worked well for me! One last note: if you are running a custom compiled kernel like this then you will not recieve the usual Ubuntu kernel updates for it. Eventually the ubuntu kernel will probably be updated with the updated driver for your controller and you can then go back to using the ubuntu provided kernel and continue to recieve thier updates.I hope this helps!