Ubuntu12.04 uses the latest Linux kernel approach __linux

Source: Internet
Author: User

Ubuntu12.04 using the latest Linux kernel methods

First, the environment:

1. Virtual machine installation Ubuntu12.04 64 bits

2, use the system Linux version for Linux-3.13 (Intermediate upgrade once system)

3, the latest Linux kernel Linux-4.5.0 version

Second, compile Linux kernel

1, Linux official website: https://www.kernel.org Download the latest kernel Linux-4.5.0

2, copy to the virtual machine first and decompression

3, access to the Linux kernel source directory

cd/home/test/vm/kernel/linux-4.5

4, Make Mrproper

5, make localmodconfig use the default configuration

6, make DEP some machines do not need

7. Make Clean

8, make Bzimage

9, make modules

10, sudo make Modules_install

Third, add grub option

1, sudo make install this operation will generate config-4.5.0, system.map-4.5.0, vmlinuz-4.5.0 and other files in/boot

2, UPDATE-GRUB2 This operation will modify the contents of/boot/grub/grub.cfg file, add 4.5.0 startup options

3, sudo reboot reboot

Four, use

1, in the boot process, you will see the addition of new options

2, using the UNAME-A command to view the kernel version of information, you will see the latest kernel version is being used Linux-4.5.0

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.