http://www.linuxplanet.com/linuxplanet/reviews/6410/1
Custom Linux Kernels with Debian and FedoraThe Debian Way of Customizing KernelsAugust 9, 2007 Earlier this week we took a tour of the generic way of building custom Linux kernels. Today we'll look some nice Debian shortcuts, and Fedora's unique way of building custom kernels. The Debian Way of Customizing KernelsDebian's kernel source packages are named
Binary Debian kernel packages are named
To get started, install a build environment (see part 1), plus your kernel sources and the # aptitude install linux-source-2.6.22 kernel-package fakeroot
This downloads the source tarball into # mv /usr/src/linux-source-2.6.22.tar.bz2 ~/kernel Change to your personal kernel-building directory and unpack the tarball: $ tar zxvf linux-source-2.6.22.tar.bz2 Then change to the top-level source directory and start configuring your new kernel: $ cd linux-source-2.6.22 $ make mrproper $ make xconfig When you're done slogging through configuration, run these commands: $ make-kpkg clean $ make-kpkg -rootcmd fakeroot -rev kernel.1 linux_image
# dpkg -i linux-image-2.6.22_kernel.1_i686.deb
This installs the modules and handles module dependencies, creates a boot menu entry, and copies the kernel and related file to the |