"Original" Linux compiled kernel

Source: Internet
Author: User

Before adding the necessary library, compile the software what please Baidu.

Copy to User/src

sudo cp linux-4.0.6.tar.xz/usr/src

Enter the SRC directory:

Cd/usr/src

Next unzip

Unzip first

TAR.XZ file We enter first

sudo xz–d linux-4.0.6.tar.xz

Get the tar suffix file in the type sudo tar–xvf linux-4.0.6.tar

Decompression complete.

Access directory: CD linux-4.0.6/

Purify: Make Mrproper

Then the configuration kernel. We maintain the original kernel configuration first to understand the original kernel file name. First find the original kernel configuration file in the terminal input

Cd/boot

In the input LS as

Replication Configuration

sudo cp/boot/config-3.16.0-30-generic. config

Type

Make Menuconfig

Select Save to select Load

Back to start

Make Bzimage

Make modules

sudo make Modules_install

sudo make install

sudo update-grub

"Original" Linux compiled kernel

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.