Debian Kernel Compile HowTo
Debian-Kernel-Compile-Howto (Kernel 2.6)
Debian and the kernel
LINUX KERNEL 2.6 HOWTO
2.6.8核心編譯全過程
make kernel 小記.
cd /usr/src
tar xvfj kernel-source-2.6.10.tar.bz2
ln -s /usr/src/kernel-source-2.6.10 /usr/src/linux
patch -p1 < /path/to/kernel/patch
sudo make menuconfig
# 看最下面要一定要選的東西(must choose)
cd /usr/src
make-kpkg buildpackage -rev Custom.1 kernel_image
# 製作 inirtd.img
sudo ln -s /usr/src/linux-[version] /lib/module/[version]
mkinitrd -k -o /boot/initrd.img-2.6.10 -r /dev/hda5 2.6.10
dpkg -i kernel-image-[version]_Custom.1_i386.deb
must choose:
Compressed ROM File System Support (cramfs)
Ram Disk Support
Initial RAM Disk (initrd)
VGA 16 Color Graphics Suport
Vesa VGA Graphics support
Framebuffer Console Support
Bootsplash Screen
make-kpkg buildpackage -rev Custom.1 kernel_image