Linux Kernel 2.6.00004

Source: Internet
Author: User
Linux Kernel compilation 2.6.2.164 -- Linux general technology-Linux programming and kernel information. For details, see the following section. 1 Linux kernel version released on the official website is http://www.kernel.org, download linux-2.6.20.4.tar.bz2, (41.4 M ).
2 # cp linux-2.6.20.4.tar.bz2/usr/src
# Cd/usr/src
# Rm-f linux

3 # bzip2-d linux-2.6.20.4.tar.bz2
# Tar-xvf linux-2.6.20.4.tar

4 # mkdir linux
# Mv linux linux-2.6.20.4
# Ln-s linux-2.6.20.4 linux

5 # cd/usr/src/linux; make mrproper

6 # cd/usr/include/
# Rm-r asm linux scsi
# Ln-s/usr/src/linux/include/asm-i386 asm
# Ln-s/usr/src/linux/include/linux
# Ln-s/usr/src/linux/include/scsi

7 choose one command:
# Make config (the most traditional text-based configuration interface is not recommended)
# Make menuconfig (Text menu-based configuration interface, recommended for character terminals)
# Make xconfig (the configuration interface based on the graphic window mode is recommended in Xwindow)
# Make oldconfig (if you only want to modify some small points based on the original Kernel configuration, it will save a lot of trouble)

8 configure your kernel then save & quit.

9 # make

10 # make dep
# Make clean
# Make bzImage
# Make modules
# Make modules_install
# Make install

11 check/boot/grub. conf, was it inserted into new title about 2.6.20.4 or not.

12 # reboot

13 enjoying your new kernel system!

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.