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.