After building my first LFS system, I realized the LFS project has great kernel docsSee http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.htmlwhich really points to this great doc http://www.linuxfromscratch.org/hints/downloads/files/kernel-configuration.txtNote unless in a chroot like in LFS, just use make menuconfig instead of all the LANG stuff |
# apt-get install build-essential
$ cd /tmp
$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2
# tar -xjvf linux-2.6.25.tar.bz2 -C /usr/src
# cd /usr/src/linux-2.6.... (the new linux folder)
$ make menuconfig - Text based color menus, radiolists & dialogues. This option also useful on remote server if you wanna compile kernel remotely.
$ make xconfig - X windows (Qt) based configuration tool, works best under KDE desktop
$ make gconfig - X windows (Gtk) based configuration tool, works best under Gnome Desktop.
$ make
$ make modules
$ su - (to become root)
# cd /usr/src/linux2.6...
# make modules_install
# make install
# cd /boot
# mkinitramfs -o initrd.img-2.6.xx 2.6.xx (sub your kernel version of course)
# update-grub