How to Install Liquorix/zen Kernel on Ubuntu/Mint Linux

Recipe # | posted in Howto, Linux | Comments

1 – Problem Description

We need to replace our distribution’s (Debian/Ubuntu/Mint) stock kernel with liquorix/zen kernel.

2 – Solution

Liquorix provides debian builds of the zen kernel for debian testing, sid, or any debian based distributions.So, we need to:

sudo -i
nano /etc/apt/sources.list

and add the following line:

deb sid main future

Save & exit. Then, update keyring:

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

Install gcc-4.7

add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install gcc-4.7

Now, we are going to install the kernel:

apt-get install linux-image-3.8-8.dmz.1-liquorix-686:i386 linux-headers-3.8-8.dmz.1-liquorix-686:i386

apt-get install linux-image-3.8-8.dmz.1-liquorix-amd64 linux-headers-3.8-8.dmz.1-liquorix-amd64

Install the new Nvidia drivers 310.14

add-apt-repository ppa:xorg-edgers/ppa
apt-get update
apt-get install nvidia-current nvidia-settings

# OR If you are updating the kernel and you have installed the drivers already
aptitude reinstall nvidia-current nvidia-settings

OR the latest Ati Catalyst package

# Remove old driver first
sh /usr/share/ati/
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* 
# Download new driver and install

chmod +x
sh ./ --buildpkg Ubuntu/quantal
dpkg -i fglrx*.deb
aticonfig --initial -f

dkms remove virtualbox-guest/4.1.12 —all

Currently, 3.8-8.dmz.1 is the latest build.

Now, restart your pc and fly with zen kernel.

3 – References

[1] Zen Kernel

[2] Liquorix

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

[4] How do I install gcc-4.7