Linux Kernel manual compilation

Source: Internet
Author: User

compiling the kernel manually1.uname-r View Kernel version first2.YumGroupinstall"Development Libraries" "Development Tools"Installing development tools and library files can be viewed by Yum Grouplist first3. Download Kernel www.kernel.org4.TarXF linux-2.6.28.10.Tar. gz-c/usr/src/5. cd/usr/src6.LN-SV linux-2.6.28.10Linux Create a link7. CD Linux8overwrite the original module configuration file with the current directoryCP/boot/config-2.6. +-504.23.4. el6.x86_64/usr/src/linux/. config9. MakeMenuconfig must be in the kernel directory error: [[email protected] linux]# MakeMenuconfigUnable toFindThe ncurses libraries or the***Required header files.***'Make menuconfig'requires the Ncurses libraries.Install ncurses (ncurses-devel) and try again. *** Make[1]: * * * [Scripts/kconfig/dochecklxdialog] Error1Solution:Yum Installncurses-devel execute make menuconfig againTen. Enter the selection module with the SPACEBAR to select the last connect the two ESC keyboard save exit will generate a. config file A. Compile Make  MakeModules_install Installing kernel modules Make Install -. Reboot to select a new kernel


Two compile-time cleanup required
Make clean
Make Mrproper
If necessary, back up the. config file in advance

Linux Kernel manual compilation

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.