Upgrading a Kernel Package

Upgrading from one kernel package to another is simple; you just need to install the new package using the rpm command. If you want to retain the ability to run the old kernel, you should back up the files called /boot/vmlinuz-<version number> and /boot/initrd-<version-number> and also the directory /lib/modules/<version-number>/, and restore them after you have installed the new kernel RPM. You also want to check that you have an entry in the GRUB configuration for the old kernel and possibly do a mkinitrd. (See the section "Building the Kernel'' later in the chapter — however, this should take place automatically during the installation of the kernel if you are installing from an RPM package.) If you use LILO for booting, check the LILO configuration and rerun LILO before rebooting.

Was this article helpful?

0 0

Post a comment