Objective
I want to install the latest Linux Kernel available for my system. I also want still to work with my already installed VirtualBox which needs to install a kernel module after a kernel switch.
Motivation
There was no real resaon behind my plans to install the Linux Kernel 3.17.1. I just thought it's time for an upgrade. My current kernel is 3.13.
Prerequisites
- Linux Mint 17.1 Rebecca
- Oracle VM VirtualBox Manager 4.3.24
Solution
Install the Linux Kernel packages
To check which kernel packages are currently available you can do a search like (filtered by version "3.17"):
$> apt-cache search linux- | grep 3.17
you'll see some output like this:
linux-headers-3.17.1-031701 - Header files related to Linux kernel version 3.17.1
linux-headers-3.17.1-031701-generic - Linux kernel headers for version 3.17.1 on 64 bit x86 SMP
linux-image-3.17.1-031701-generic - Linux kernel image for version 3.17.1 on 64 bit x86 SMP
linux-headers-3.17.1-031701-generic - Linux kernel headers for version 3.17.1 on 64 bit x86 SMP
linux-image-3.17.1-031701-generic - Linux kernel image for version 3.17.1 on 64 bit x86 SMP
For 64-Bit systems download the following packages ...
$> wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701_3.17.1-031701.201410150735_all.deb
$> wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
$> wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-image-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
and for 32-Bit systems download the following ...
$> wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701_3.17.1-031701.201410150735_all.deb
$> wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701-generic_3.17.1-031701.201410150735_i386.deb
$> wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-image-3.17.1-031701-generic_3.17.1-031701.201410150735_i386.deb
Now install the packages:
$> sudo dpkg -i linux-headers-3.17.1*.deb linux-image-3.17.1*.deb
Reboot the system.
$> sudo reboot
After a successful reboot, you can delete the *.deb packages again:
$> rm linux-*
Uninstall the Linux Kernel again (if you don't like it anymore)
You can uninstall the new kernel with the following command, be aware that this may make your system unusable.
$> sudo apt-get remove 'linux-headers-3.17.1*' 'linux-image-3.17.1*'
Setup the VirtualBox Kernel module
$> sudo /etc/init.d/vboxdrv setup
You'll see output similar to:
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.
Now you are done!
No comments:
Post a Comment