This document was created and used on redhat 7.x - it has not been updated or looked at in view of redhat 8 or 9. Use at your own risk. This will be updated shortly once my redhat9/Fedora build is up and running. (2004/01/04)
Step 1: Confirm files required are present and verified
-
kernel-xxx.rpm
-
kernel-doc.rpm
-
kernel-source-xxx.rpm
-
other files noted in the redhat alert
Step 2: Install the files
-
Install the kernel rpm with rpm --force -ivh kernel-xxx.rpm
-
Install the remaining files with rpm -Uvh kernel-*whatever*.rpm
Step 3: Confirm links are in /boot
Check that the following are linked to the new version of the kernel:
-
System.map
-
kernel.h
-
module-info
-
vmlinuz
Step 4: Modify /etc/lilo.conf to point to the new kernel
Note you can use just /boot/vmlinuz for the new image rather than vmlinuz-2.4.x-x.
Copy the existing stanza, use /boot/vmlinuz and modify the old label to whatever you like.
Step 5: Run Lilo to update the boot record
Run /sbin/lilo -v and watch the messages. You should see various messages showing the new kernel image being added.
After this, configuration is completed. Depending on your level of confidence, you may wish to create a boot disk (ref mkbootdisk)
Also note - if you have a SCSI controller, you need to create a initrd.
This information is taken from the redhat kernel-upgrade howto: http://www.redhat.com/support/docs/howto/kernel-upgrade/s1-appa.html