Rhel5.4 upgrade the kernel-general Linux technology-Linux technology and application information. For more information, see. [I = s] This post was last edited by yqw1122
Today, I upgraded the rhel5.4 kernel to 2.6.28.10.
Paste the specific method
I am very happy. The method should not be particularly "scientific", but it has been compiled successfully. I hope to give some reference to anyone who wants to upgrade the kernel.
1. Download 2.6.28.10from http://www.kernel.org/network.
2. decompress the package to the/usr/src directory, ls to view the linux-2.6.28.10 directory
3. Go to the linux-2.6.28.10 directory
# Make menuconfig (custom kernel) (if not, use make config instead)
# Make
(Long wait)
# Make modules_install
# Make install
This step is over, and the basic things are done.
Next, modify grub.
# Cd/etc
# Vi grub. conf
Grub content: # boot =/dev/sda
Default = 1 (Change 1 to 0. Save and exit)
Timeout = 8
Splashimage = (hd0, 0)/boot/grub/splash.xpm.gz
Hiddenmenu
Title Red Hat Enterprise Linux Server (2.6.28.10)
Root (hd0, 0)
Kernel/boot/vmlinuz-2.6.28.10 ro root = LABEL =/rhgb quiet
Initrd/boot/initrd. img
Title Red Hat Enterprise Linux Server (2.6.18-164. el5)
Root (hd0, 0)
Kernel/boot/vmlinuz-2.6.18-164.el5 ro root = LABEL =/rhgb quiet
Initrd/boot/initrd-2.6.18-164.el5.img
Restart the computer and enter. Check that the kernel uname-r is 2.6.28.10.
But there is a small bug, that is, the boot "insmod: error inserting '/lib/dm-region-hash.ko':-1 File exists" prompt
Remove the bug method I will not go into details, please refer to the http://hi.baidu.com/linuxnature/... da571901e9281f.html, write very detailed
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