Will try this:
1. Follow by these commands:
# cd /usr/src
# wget
http://www.kernel.org/pub/linux/kern...2.6.31.tar.bz2
# tar –jxf linux-2.6.31.tar.bz2
# ln -s linux-2.6.31 linux
# cd /usr/src/linux
# cp /proc/config.gz
# gunzip config.gz
# mv config .config
2. For customize the kernel configuration:
# make menuconfig
* It’s recommended to reload the old config file in “Load an Alternate Configuration File”
3. For compile and add it to boot folder:
# make all && make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.31-l7
# cp System.map /boot/System.map-2.6.31-l7
# cp .config /boot/config-2.6.31-l7
4. Edit lilo.conf with “vi /etc/lilo.conf” and add these lines at the top of older one:
default = Sl-2.6.31
image = /boot/vmlinuz-2.6.31-l7
root = /dev/sda2
label = Sl-2.6.31
read-only
5. For update the LILO:
# lilo
# Reboot