Archive

Kernel Compiling

Using make-kpkg

Debian contains a very useful command for helping you to compile and install kernels. It’s called make-kpkg. This article gives a quick summary of the features of make-kpkg.

In this article, all the shell command examples assume that you’re starting from the root directory of the kernel source (from, e.g., the /usr/local/src/linux-2.6.0 directory, or wherever your source happens to be). Shell commands with a “#” prompt are run as root. Commands with a “$” prompt are run as a normal user.

It is also assumed that you have already downloaded, unpacked and configured your [continued…]