Compile linux2.6.20 notes on slackware10.2

Source: Internet
Author: User
Compile linux2.6.20 on slackware10.2-Linux general technology-Linux programming and kernel information. The following is a detailed description. Prerequisites:

Slackware10.2 contains various default packages
Find the config file for 2.6 On the slackware disc.
Linux2.6.20 source code

Process:

Decompress the source package to a directory, decompress the directory named linux-2.6.20
Rename the config file for 2.6 On the slackware disc to. config to be copied to the linux-2.6.20/
Go to the linux-2.6.20/directory and run make menuconfig
Select the "Load an Alternate Configuration File" item and click OK.
Then select "Save an Alternate Configuration File". It's OK.
Then select EXIT to EXIT.
Run make clean to make sure everything is in the latest state.
Run make bzImage

Make modules
Make modules_install
Cp arch/i386/boot/bzImage/boot2.6.20/
Cp System. map/boot2.6.20/

Modify the/etc/lilo. conf file and add the following lines:

Image =/boot2.6.20/bzImage
Root =/dev/hda1
Label = slack-2.6.20
Read-only

Run lilo and restart. Select 2.6.20 as the kernel.

Summary:

The above process ignores a very important part, that is, how to customize compilation options. Linux Kernel compilation has many options, and it takes some time to fully master and meet the stability requirements. These are all issues that kernel experts need to think about.

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.