此内容没有您所选择的语言版本。
Chapter 3. Kernel Upgrades
Make sure to install the latest kernel where all proprietary drivers, if applicable, are certified and supported. Note that proprietary drivers are often installed under
/lib/modules/<kernel-version>/kernel/drivers/addon. For example, the EMC PowerPath drivers can be found in the following directory when running the 2.4.21-32.0.1.ELhugemem kernel:
Therefore, when you upgrade the kernel you must ensure that all proprietary modules can be found in the right directory so that the kernel can load them. To check which kernels are installed, run the following command:
rpm -qa | grep kernel
$ rpm -qa | grep kernel
To check which kernel is currently running, execute the following command:
uname -r
$ uname -r
For example, to install the 2.4.21-32.0.1.ELhugemem kernel, download the kernel-hugemem RPM and execute the following command:
rpm -ivh kernel-hugemem-2.4.21-32.0.1.EL.i686.rpm
# rpm -ivh kernel-hugemem-2.4.21-32.0.1.EL.i686.rpm
Note
Never upgrade the kernel using the RPM option '
-U'. The previous kernel should always be available if the newer kernel does not boot or work properly.
To make sure the right kernel is booted, check the
/etc/grub.conf file if you use GRUB and change the "default" attribute if necessary. Here is an example:
In this example, the "
default" attribute is set to "0" which means that the 2.4.21-32.0.1.ELhugemem kernel will be booted. If the "default" attribute would be set to "1", then 2.4.21-32.0.1.ELsmp would be booted. After you installed the newer kernel reboot the system. Once you are sure that you do not need the old kernel anymore, you can remove the old kernel by running:
rpm -e <OldKernelVersion>
# rpm -e <OldKernelVersion>
When you remove a kernel, you do not need to update
/etc/grub.conf.