Hello Linux Geeksters. In this article I will show you how to build the kernel 3.9 on the newly released Debian Wheezy and Crunchbang Linux 11 (Waldorf).
Follow this steps for a proper installation:
Install the needed packages:
$ sudo apt-get install kernel-package fakeroot build-essential ncurses-dev
Download the new kernel:
$ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.9.tar.bz2
Extract the archive and cd into it:
$ tar xvf linux-3.9.tar.bz2
$ cd linux-3.9/
Do this tweaks:
$ cat /boot/config-`uname -r`>.config
$ make oldconfig
You will be asked a lot of questions. If in doubt, choose the default answer (press enter).
Next, do:
$ make-kpkg clean
Compile the kernel:
$ sudo time fakeroot make-kpkg -j4 –initrd kernel_image kernel_headers
Replace 4 with the number of cores on your computer.
Install the Kernel:
$ sudo dpkg -i ../linux-image-3.9.0_3.9.0-10.00.Custom_amd64.deb ../linux-headers-3.9.0_3.9.0-10.00.Custom_amd64.deb