怎样升级内核

怎样升级内核

小弟用的是REDHAT,内核是2.2的,请问怎样升级到2.4呢?请各位高手指点.      
cd /usr/src/
rm -rf /usr/src/linux
cp linux-i386-2.4.4.tar.gz /usr/src/
gzip -cd linux-2.0.35.tar.gz | tar xvf usr/src/linux
cd /usr/include
rm -rf linux asm scsi
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/scsi scsi
cd /usr/src/linux
make mrproper

  login as root.
cd /usr/src/linux
make config    (make menuconfig ,make xconfig)
make dep
make clean
make zImage
cd /usr/src/linux/arch/i386/boot
cp zImage /boot
make modules
vi /etc/lilo.conf
    add a line:
    image=/boot/zImagelabel=l244
ESC
:wq
lilo
reboot