Installing LIQUORIX (ZEN) KERNEL 4.2.3 for fun and profit :)

Started by ZEROF, October 16, 2015, 05:06:14 AM

Previous topic - Next topic

ZEROF

Hi,

This tutorial is not for new Linux users and i will not take any responsibility on what this can do (or not) to your pc or your laptop.

PART 1

What you need know:

1. Don't use this on old pc's and laptop hardware
2. You are going to install 4.2.3 kernel
3. This can broke something in your BackBox installation
4. Before you start, check http://liquorix.net/ too see why you can do this
5. Don't use this kernel on servers

First find and remove older kernels:

sudo apt-get install aptitude
aptitude search ~ilinux-image


To remove older kernel versions use this command (check your kernel version with uname -r, before
removing any version from you system), this is just one example.

sudo apt-get autoremove linux-image-3.13.0-25-generic

Don't remove all of them, keep 2 versions. You can deal with them if all goes ok with new liquorix/zen kernel. Then we need to install 4.9 gcc version that we need to use in kernel build process.

add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update
apt-get install g++-4.9


Installing new kernel:

nano /etc/apt/sources.list

Add

#LIQUORIX KERNEL

deb http://mirror.unit193.net/liquorix sid main
deb-src http://mirror.unit193.net/liquorix sid main


Then:

apt-get update
apt-get install liquorix-keyring


#32bit without PAE

sudo apt-get install linux-image-liquorix-686 linux-headers-liquorix-686

#32-bit with PAE (HIGHMEM64G):

sudo apt-get install linux-image-liquorix-686-pae linux-headers-liquorix-686-pae

#64bit

sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64

Then type:

sudo reboot

PART 2

P.S. If you are using NVIDIA before reboot:

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


# OR If you are updating the kernel and you have installed the drivers already

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo aptitude reinstall nvidia-current nvidia-settings


What you will get with this kernel?

My laptop is Thinkpad x201 with i5 and 8gm of ram. I got better performances and network speed is even better. I tested aircrak-ng, openvas and some other tools and on my side all looks ok.

Good luck and have fun (on your own risk) :).



Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

ZEROF

Ok, as this is Debian kernel i was sure that some bugs will popup:

sudo perl -pi -e 's,GRUB_CMDLINE_LINUX="(.*)"$,GRUB_CMDLINE_LINUX="$1 apparmor=1 security=apparmor",' /etc/default/grub
sudo update-grub
sudo reboot

This will fix AppArmor restart/start on boot.

I saw few errors on boot, but i didn't have time to check them all. One is cups (linux printer server), but that is standard issue with default kernel as well. Bluetooth is not in best shape, but this is old hardware.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*