Categories: CategoryLinux

Install the debian package: kernel-package. Get the kernel sources from http://www.kernel.org or install the kernel sources from the debian distribution.

For UbuntuLinux see https://wiki.ubuntu.com/KernelHowto

$ cd /usr/src/kernel-source-xxx

$ make xconfig                   # tcl-interface
or
$ make menuconfig                # dialog-interface

$ make-kpkg kernel_image
$ cd ..
$ dpkg -i kernel-image-xxx.deb
$ lilo

Configuration files:

/etc/lilo.conf
/etc/kernel-pkg.conf

create add-on modules

modules are in /usr/src/modules/

$ cd /usr/src/kernel-source-xxx
$ make-kpkg modules_image
$ cd ..
$ dpkg -i xyz-modules-xxx.deb