Notes About compiling Kernel 3.9 on my Asus X202E with Debian

thanks to http://linuxg.net/compile-kernel-3-9-on-debian-wheezy/

Very short notes for personal use:

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 

(Visited 750 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *