Latest kernel kernel2.6.38-rc1 compiled in Fedora14

Source: Internet
Author: User
For traditional compilation methods, see http://www.linuxidc.com/linux/2011-01/31456.htm. (The Ubuntu used by the author is the same as Fedora) preparation work su-c 'yuminstallrpmdevtool' (install rpmdevtools) yu

For traditional compilation methods, see http://www.linuxidc.com/linux/2011-01/31456.htm. (The author uses the same Ubuntu and Fedora)

Preparations
Su-c 'yum install rpmdevtool'(Install rpmdevtools)
Yum-utils must also be installed, but it is installed by default.

Step 1: Download the kernel source code package

Official Website: www.kernel.org

The latest version: 2.6.38-rc1, download URL: http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.38-rc1.tar.bz2

You can use wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.38-rc1.tar.bz2 to download

  Step 2: extract the source code package

(Some people say that it is incorrect to decompress the source code to the/usr/src directory. You can decompress it to any directory)

  Cd ~ Wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38-rc1.tar.bz2

  Tar-jxvf linux-2.6.38-rc1.tar.bz2

  Step 3: Configure options


Cd Linux-2.6.38-rc1
Cp
/ Boot / Config - 'Uname - R'. config
Make mrproper(Delete the garbage generated by the last compilation. This is not required for the first compilation)

Make menuconfig(Enable the kernel option configuration interface)

Select the second to last item, OK, and then exit.

  Description, make menuconfig will find the. config configuration file under the linux-2.6.38-rc1 directory, if not found, use the CPU-related config file as the default configuration. Of course, we can also copy the configuration of the current system as a comparison, such as cp/boot/config-'uname-R'. config (. config is the hidden file ls-a to view)

Show me what I did after my success

Fedora

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.