This article is from the the Brief Linux FAQ (BLFAQ) Maintained by Neil Zanella email@example.com
In short, as root issue the following commands after downloading a kernel:
# mv linux-x.y.z.tar.gz /usr/src; cd /usr/src # tar zxpvf linux-x.y.z.tar.gz # cd linux-x.y.z # make menuconfig # make dep # make clean # make bzImage (or better, insert a floppy and do a "make zdisk"). # make zlilo (or if this doesn't work, cp /usr/src/linux-2.0.x/arch/i386/boot/zImage /boot/vmlinuz Edit /etc/lilo.conf and change the image label to point to /boot/vmlinuz-x.y.z and rerun /sbin/lilo) reboot (here you may use the disk you made if something goes wrong) # cd /usr/src/linux-x.y.z # make modules; make modules_install
... and your kernel and modules should be all done.