The 2.6.21.5 kernel-general Linux technology-Linux programming and kernel information is compiled on Fedora7. The following is a detailed description. I used to compile the kernel several times when I was doing LFS. today on my machine, I compiled the latest 2.6.21.5 Kernel on the newly installed Fedora7, which is also an attempt, the procedure is relatively simple:
1) download the kernel, decompress it to/usr/src, and then connect the/usr/src/linux-2.6.21.5 folder to the previous directory, but the previous directory of linux appears linux-> linux-2.6.21.5. This is the first step.
2) Go to the linux folder and run # make mrproper. The time is short. Then run # make xconfig. I am using the X-based configuration method, after all, I have never used it before.
3) select the desired settings for configuration. Although it is in English, it is not difficult to understand, but you must know your hardware better. After configuration, save and release.
4) execute # make dep to determine the association, and then wait for a long time.
5) Compile the kernel # make bzImage, which is a large kernel for editing.
6) Compile the Module # make modules for a long time. It may be because I have compiled a lot of content into the module,
7) install the Module # make modules_install. After the installation is complete, generate/lib/modules/2.6.21.5.
8) then configure to copy/usr/src/linux/arch/i386/boot/bzImage to/boot/vmlinuz-2.6.21.5 with the kernel
Just copy the original write. This is relatively simple, and then restart and enter the new kernel boot. I am directly succeeded. I am excited that ing ......
Succeeded, I compiled ntfs support, this time does not need to use ntfs-3g, convenient. After a few days, I will try again to find out the specific options in the kernel.
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