Compile Kernel 3.9 on Debian Wheezy and Crunchbang Linux 11 (Waldorf)

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).

http://zachariasblog.files.wordpress.com/2012/02/screenshotat2012-02-07220950.png

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

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!