Linux 2.6 kernel compilation and configuration installation and upgrade

Source: Internet
Author: User

Linux has updated many versions. I personally think that the Linux 2.6 kernel is a good File System in the Linux system series. I would like to recommend it to you here. Today, the technology is constantly updated and all kinds of files used have been eliminated. I think there are still good ones, such as the Linux 2.6 kernel.

I plan to upgrade the Linux 2.6 kernel and compile it. I found some information on the Internet. This article takes Linux 2.6 kernel upgrade as an example. Linux 2.6 kernel compilation is much easier than before. This article describes how to Upgrade Linux 2.6 kernel compilation under FC8.

1. First, compile the Linux 2.6 kernel from the following URL:

Http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2

2. Then untar the package under/usr/src.

Tar-xjfv linux-2.6.25.tar.bz2.

3. Configure the Linux 2.6 kernel

Cd/usr/src/linux-2.6.25make mrproper (delete some stable files, for the package just downloaded this step is not necessary) make menuconfig (display in the menu, you can customize the Linux module, command help on the top of the menu)

4. Compile the Linux 2.6 kernel

Make (this step takes the most time, I spent nearly 40 minutes) make modules_install make install (the System will put vmlinuz and System. map to the/boot directory and modify grub at the same time) make bzImage make modules before 2.6, and also need to make vmlinuz and System. copy map to the/boot directory. to get a more detailed description of the compilation, refer to the README of/usr/src/linux-2.6.25. this file is available for each Linux kernel release.

5. Restart the machine

Shutdown-r now. In the grub menu at the beginning, you can choose to use a new kernel to start linux. If this error occurs during startup: "Enforcing mode requested but no policy loaded. halting now. "Kernel panic: Attempted to kill init!

Try adding enforcing = 0 to your grub. conf. kernel/boot/bzImage-2.6.5 ro root =/dev/hda5 enforcing = 0 or set selinux value to disabled in the/etc/SELINUX/config file.

  1. Linux 2.6 kernel compilation and configuration installation and upgrade
  2. Linux 2.6 kernel configuration option Annotation
  3. Linux 2.6 kernel embedded system applications
  4. Linux 2.6 kernel is successfully transplanted to iPhone
  5. Linux 2.6 kernel startup and command line Transfer Process Analysis

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.