How to Upgrade Linux Kernel

Source: Internet
Author: User

Step 1 download the kernel source code

Go to http://www.kernel.org/download kernel source code

Step 2 find the appropriate configuration file

You can use the configuration file I gave you to rename it as. config and put it in the source code root directory. Note that there is a "point" before config ".

You can also go to your local/boot directory to find configuration files suitable for your local machine.

Step 3 configure the kernel

# Make menuconfig configure the kernel

Step 4 compile the kernel

# Make

Step 5 compile the module

# Make modules

Part 6 installation Module

# Make modules_install

Step 7 install the kernel

# Make install

Step 8 configure the Startup File

Check whether the configuration file of grub or lilo is correctly modified. If it has been modified, you do not need to change it manually. Otherwise, you need to modify the configuration file so that the system can be booted through the new kernel at the next restart.

 

 

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.