Fedora8 Upgrade Linux kernel to 2.6.25

Source: Internet
Author: User
Linux Kernel compilation is much more convenient than before, this article describes the detailed steps to upgrade the Linux kernel to 2.6.25 under Fedora8. 1. first get the linux-2.6.25.http from the following URL:

Linux 2.6 kernel compilation is much easier than previously. This article describes the detailed steps for upgrading the Linux kernel to 2.6.25 under Fedora 8.

1. First get the linux-2.6.25 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 kernel
Cd/usr/src/linux-2.6.25
Make mrproper (delete some stable files, this step is unnecessary for the downloaded package)
Make menuconfig)

3. Compile the kernel

Make (this step takes up to 40 minutes)
Make modules_install
Make install (the System will copy vmlinuz and System. map to the/boot directory and modify grub at the same time)

Make bzImage make modules before 2.6, and copy vmlinuz and System. map to the/boot directory.

For more details about the compilation, see the/usr/src/linux-2.6.25 README. This file is available for each Linux kernel release.

4. Restart the machine
Shutdown-r now
In this way, you can choose to start linux with a new kernel in the grub menu.

If this error occurs during startup:
"Enforcing mode requested but no policy loaded. Halting now ."
Kernel panic: Attempted to kill init!

You can solve this problem by using the following methods:
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.

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.