Custom Debian kernel

This is just a check list to compile a custom debian kernel.

Install the kernel-package package

     $> apt-get install kernel-package

Unpack the kernel sources

     $> tar jxvf kernel-source-2.4.27.tar.bz2

Configure the kernel

     $> cd kernel-source-2.4.27/
     $> make menuconfig


     $> make-kpkg --revision 01 --append-to-version -adc kernel_image

Install your custom kernel

     $> dpkg -i kernel-image-2.4.27-adc_01_i386.deb

Some notes about the options


Sets the revision number of the resulting debian package.


Sets the EXTRAVERSION variable in the kernel Makefile. It is useful to have a separate modules tree in /lib/modules for each kernel you want to use.