Custom Kernel

To compile your own kernel you can follow these steps

sudo su
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.1.tar.bz2
tar -xf linux-3.2.1.tar.bz2
cd linux-3.2.1

# if you dont have already installed these
apt-get install build-essential kernel-package

# use local config to get a kernel based on actual configuration
make localmodconfig

# always use available cores + 1 for concurrency level
export CONCURRENCY_LEVEL=5; PATCH_THE_KERNEL=YES make-kpkg 
 --revision 1 --append_to_version -custom --bzImage --arch-in-name 
 --initrd kernel-image

dpkg -i ../linux-image-3.2.1-custom_1_amd64.deb

Leave a Comment