RHEL4 kernel is upgraded in 10 steps-Linux general technology-Linux programming and kernel information. The following is a detailed description. Make a reference.
1. Download linux-2.6.10.tar.gz from http://www.kernel.org/-- I downloaded it to/root.
2. Decompress the package and move it to/usr/src.
# Cd/root
# Tar-zxvf linux-2.6.10.tar.gz
# Music linux-2.6.10/usr/src
3. Delete compilation configuration information that may fail before
# Linux-2.6.10/cd/usr/src/
# Make mrproper
4. kernel module configuration. You can select new functions, such as NTFS, wireless network, and Bluetooth.
# Make xconfig, make gconfig, or make menuconfig -- I think the first one is more convenient.
5. Create a compressed kernel Image
# Make bzImage
6. Compilation Module
# Make modules
7. Installation Module
# Make modules_install
8. Install the kernel
# Make install
9. Modify/boot/grub. conf and change the new kernel to the default startup Item.
# Vi/boot/grub. conf
Change default = 0 --> default = 1
10 Restart the machine
Successful. No error at all! I implemented it in my own book.
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