Compile FC1 kernel-general Linux technology-Linux programming and kernel information. The following is a detailed description. Today, the FTP server software proftpd under Linux is installed. Because it does not change the default FTP directory, You have to mount the NTFS partition to the default FTP folder. however, to speed up, I have deleted FC5 and SUSE10.1 and can only re-compile the FC1 kernel to mount the NTFS partition.
I tried to compile the kernel before, but it was not successful. compilation takes a long time. this time I wanted the next PATCH 2.4.22, but after downloading it, I couldn't find how to use the PATCH to upgrade the kernel. I didn't even find it ). I had to download a kernel 2.6.16, the latest version. follow the online method step by step.
Copy the downloaded linux-2.6.16.tar.gz file to the/usr/src directory and decompress it to the current folder (you can also use commands on the terminal to decompress the file, but I don't think it is more convenient on the terminal). Then enter the terminal:
# Cd/usr/src/linux-2.6.16 // enter the directory of the downloaded Kernel File
# Make mrproper // clear the previous Kernel configuration file. This step can be skipped because the file has not been decompressed.
# Make menuconfig // make sure to maximize the terminal window, otherwise an error will be reported. you can enlarge the font in the menu bar on the terminal. the options are added or deleted by yourself. do not change most of them. Modify only the ones you have determined. Otherwise, errors may occur. of course, you can do whatever you like. one thing to note is that if the file system was previously ext3, You must select Y instead of M on ext3; otherwise, the file system may fail to start normally.
# Make
# Make modules_install
# Make install
If these steps are successful, the/boot Directory should have the 2.6.16 file, and the grub. conf file has been changed. Check the file and restart it.
Start the computer and select the kernel 2.6.16 option. During the startup process, the hardware change dialog box may appear. I delete the NIC first and then find the NIC. Just set the IP address. and then enter the system. If you do not want the previous kernel, you can delete it. however, it is recommended that the old kernel be deleted when the new kernel works normally several times after startup.
After the kernel is updated, it feels a little faster (it should not be a psychological effect, huh, huh). NTFS partitions can also be loaded directly.
It took more than an hour to get everything done this time. the previous afternoon, however, failed to get back. Happy!
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