How To Install The Latest Liquorix 3.0-4 Kernel in Mint 11

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Lantesh
Level 6
Level 6
Posts: 1212
Joined: Sat Apr 12, 2008 1:02 pm

How To Install The Latest Liquorix 3.0-4 Kernel in Mint 11

Postby Lantesh » Mon Sep 05, 2011 2:10 pm

I am writing this tutorial because I have been using the Liquorix kernel since March of this year, but when I tried to install the new 3.0 kernel it didn't work, and my system went into a kernel panic. I did some research, and found a solution. I created this tutorial from the original Liquorix installation instructions for the 2.6 kernel published back in March on Webupd8 (http://www.webupd8.org/2011/03/how-to-i ... el-in.html), and the solution I found to the 3.0 kernel issue that I found on the Tech Patterns forums (http://techpatterns.com/forums/about1916.html). I do not claim any credit for the actual information, only for writing this nice little tutorial for you.


How To Install The Latest Liquorix 3.0-4 Kernel in Mint 11

First add the Liquorix repository:

Code: Select all

echo "deb http://liquorix.net/debian sid main" | sudo tee /etc/apt/sources.list.d/liquorix.list

Code: Select all

echo "deb-src http://liquorix.net/debian sid main" | sudo tee -a /etc/apt/sources.list.d/liquorix.list

Code: Select all

sudo apt-get install '^liquorix-([^-]+-)?keyring.?'

Code: Select all

sudo apt-get update



Now install the kernel. Choose the appropriate option for your system architecture.

32 bit:

Code: Select all

sudo apt-get install linux-headers-3.0-4.dmz.1-liquorix-686 linux-image-3.0-4.dmz.1-liquorix-686


64 bit:

Code: Select all

sudo apt-get install linux-headers-3.0-4.dmz.1-liquorix-amd64 linux-image-3.0-4.dmz.1-liquorix-amd64



The latest 3.0 kernels don't create an initrd image on Ubuntu based systems (not supported by the developer at this time), and so things go into a kernel panic when you try to boot your PC. This is because the version of the package module-init-tools that ships with Mint 11 can't handle creating the initrd image. Manually creating it fixes the problem. To do this first we have to update the module-init-tools package to the latest that is available for Oneiric. Here are the links for both the 32 bit, and 64 bit deb packages. Download the appropriate one for your PC, and install it.

32 bit:
https://launchpad.net/ubuntu/oneiric/i386/module-init-tools/3.16-1ubuntu1

64 bit:
https://launchpad.net/ubuntu/oneiric/amd64/module-init-tools/3.16-1ubuntu1


Now run the following commands:

Code: Select all

sudo update-initramfs -u -k all


Code: Select all

sudo update-grub


That's it. You are done, and should now be able to reboot into the 3.0-4 Liquorix kernel. :D

Keep in mind that as the kernel is updated in the liquorix repository it will be necessary to edit the kernel install commands I've listed above with the appropriate package names. I will not be updating this tutorial each time the packages change, but this is simple if you have a basic understanding of what you are doing. If you don't then you shouldn't be messing with your kernel anyway. ;-)

Return to “Tutorials”