Recompile a linux kernel
cd /usr/src/linux-xxx
bunzip2 linux-2.4.20-8.tar.bz2
tar xf linux-2.4.20-8.tar
su
mv /home/hunter/linux-2.4.20-8 /usr/src/
chown -R root:root /usr/src/linux-2.4.20-8
ll /usr/src
cp –rp /boot /boot.bak
cp –rp /lib/modules/2.4.20-8 /lib/modules/2.4.20-8.bak
Here's a summary of the steps:
make mrproper # Delete more than 'make clean'
make xconfig # Or use 'make menuconfig' ou 'make config'
# Load the saved config file, if you have one.
make
make dep
make bzImage # Optional
make install
make modules
make modules_install
# Copy arch/architecture/ Optionnel
cp boot/bzImage /boot/bzImage.name
Configure the bootloader
lilo
lilo –v