Home

CyberKabila

Updating the Linux Kernel
STEP1
  • Edit '/etc/lilo.conf'

  • Change image=/boot/vmlinuz-2.4.2-2 to image=/boot/vmlinuz

  • that is ,remove the version number after vmlinuz

  • Save the file ,and run /sbin/lilo -v

  • Make sure no error messages appear. Here is what one sees when this is done on my machine:

LILO version 21.4.-4......

Added linux*....

Writing boot sector.

 

STEP 2
  • Our new kernel is in /mnt/cdrom/linux/update/kernel/i686 directory

  • we installed the kernel in following way:

  • mount /mnt/cdrom

  • cd  /mnt/cdrom/linux/update/kernel/i686

  • rpm -ivh kernel-2.4.3-12.i686.rpm

  • /sbin/lilo -v

  • New kernel installed , run

  • /sbin/reboot

STEP 3
  • When your machine fully rebooted, check your new kernel version with

  • uname -sr

      which should show:

      Linux 2.4.3-12

STEP 4

Your old kernel is still around .To remove it run:

  • rpm -ev kernel-2.4.2-2  kernel-source-2.4.2-2  kernel-headers-2.4.2-2 kernel-doc-2.4.2-2

STEP 5

Now since old kernel is removed ,you should installed new ones.

  • cd  /mnt/cdrom/linux/update/kernel/i686

  • rpm -Uvh  kernel-source*  kernel-headers*   kernel-doc*

site designed and developed by mukesh and adam

                                                                                    Counter
Hosted by www.Geocities.ws

1