Upgrade RHEL6.1 kernel using rpm

Source: Internet
Author: User

Upgrade RHEL6.1 kernel using rpm

Background: because the server is down and involves a Red Hat kernel bug, you need to upgrade the Linux kernel to 2.6.32-279 or later.

Procedure:

1. Download the kernel upgrade package of the corresponding version:

Including kernel and kernel-fireware

Https://rhn.RedHat.com/rhn/software/packages/details/Overview.do? Pid = 1, 751581

Https://rhn.redhat.com/rhn/software/packages/details/Overview.do? Pid = 1, 751551

2. Install kernel-firmware before installing kernel:

There is no error message, but the two files exist. However, the kernel-firmware is not installed.

This cause is mentioned in the official BUG. For details, refer to here or here. The main solution is to use rpm-Uvh instead of rpm-ivh to install kernel-firmware. Then install the kernel.

Refer to this instructions for installation:

Correct installation:

3. Install the new kernel:

Note: Do not use rpm-Uvh here. The reason is that the original kernel is upgraded directly with the U parameter, while the new kernel is installed with I, and the original kernel still exists. This prevents new kernel faults.

The new kernel has been installed successfully:

4. Check the startup items:

The corresponding startup Item is generated correctly.

5. Change/boot/grub/menu. lst to the old kernel by default: default = 1

6. Check whether the old kernel is normal after restart.

7. Change/boot/grub/menu. lst to the new kernel after normal startup: default = 0

8. The upgrade is complete.

The Ubuntu 13.10 (Saucy Salamander) Kernel has been upgraded to Linux Kernel 3.10 RC5

Linux Kernel 3.4.62 LTS is now available for download

How to install Linux kernel 13.10 On Ubuntu 3.12

Linux Kernel: click here
Linux Kernel: click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.