Ubuntu13.10 compile the 3.13.6 kernel

Source: Internet
Author: User
Reference: http: bbskafancnthread-1572091-1-1htm install compiling environment is necessary Library sudoap # Reference: http://bbs.kafan.cn/thread-1572091-1-1.htm
##
# Install the compilation environment as a necessary Library
Sudo apt-get install build-essential
Sudo apt-get install libncurses5-dev

# Download the 3.13.6 source code package
Wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.6.tar.xz
Tar-Jxvf linux-3.13.6.tar.xz
Cd linux-3.13.6

# Clear the files generated by the previous compilation. if this is not required for the first time
Make mrproper

# You can copy the kernel configurations of the original system. optional.
Cp/boot/config-3.11.0-12-generic. config

# Run the configuration file
Make menuconfig

# Compile the kernel and module
Make bzImage
Make modules
Sudo make modules_install
Sudo make install

# Update grub
Sudo update-grub

# How to delete the compiled and installed kernel
# If the new kernel is not working properly, delete the files and directories related to the new kernel in/boot and/lib/modules.
# Sudo update-grub
Related Article

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.