Here's the basic steps on how you make and install a kernel.I'll assume that you already know the basics of Linux.
1: Go get a stable kernel (2.4.20 is a good stable kernel) from
Get the full version. It's a hefty 26 MB.
2: Now you should have linux-2.4.20.tar.bz2 . Decompress the whole archive to /usr/src/linux . If you already have /usr/src/linux, rename it to /usr/src/linux-old
3: Go into /usr/src/linux and depending what configurator you wish to use: "make menuconfig" or "make xconfig"
4: The toughest part is here: Configuration of modules and kernel options. A lot of options are device modules. Still, plenty others reconfigure the settings of the kernel itself.
The best 2 things are to read the HELP tab on every option until you get used to what the options do, and Try the options out! If you dont know what it does, compile and try it out. Just make sure to keep the old kernel to revert to.
5: Now it's time for the batch compile. "make dep && make modules && make bzImage" If that gives you an error, you probably made a really bad choice on something, or there's a bug in the kernel configurator.
6: This is my personal choice, but I copy my kernels to /ddmmyyyy-kernelbranch format into root. Others may perfer to put kernels into /boot . the format shows me the date of compile and the version. /02042003-2.5.63 shows me it was made on APR 2, 2003 Kernel 2.5.63 .
7: Take the file name you chose (and the path) and add a line to /etc/lilo.conf to boot from the new kernel. Just follow the format of the other choices.
8: run "lilo" . If you dont, you wont be able to use the kernel. If you dont run lilo, and if this is your only kernel (very stupid to have only 1 kernel), your system wont boot.
*** 7 and 8 dont apply if you use GRUB. I'm unsure as how grub configures to new kernels as I dont use it.
Please let Tek-Tips members know if their posts were helpful.