Chapter 7 - The Linux kernel under Debian
Debian has its own method of recompiling the kernel and related modules. See
Debian and the kernel,
7.1 Kernel recompile
The use of
from Debian unstable may help when compiling the latest Linux
the bottom of this, for the official information.
Since it is a moving target, kernel compilation is a difficult subject that may
confuse even the most admired developer:
- Manoj Srivastava wrote:
--initrd requires a Debian-only cramfs patch.
- Herbert Xu wrote:
No it does not, all you have to do to use a filesystem other than CRAMFS is to
set MKIMAGE in
Be careful and always rely on the
/usr/share/doc/kernel-package/README.gz by Manoj and Kent. Make
sure to obtain the latest unstable version of the
package if you are to compile the latest version of the kernel.
initrd is not needed for a kernel compiled only for one machine.
I use it since I want my kernel to be almost the same as the one provided by
the kernel-image packages. If you use initrd, make sure to read
mkinitrd.conf(5). See also