Compile your own function-customized Fedora7 kernel
Source: Internet
Author: User
Compile your own function-customized Fedora7 kernel Step 1 ~ /Downlocd/linux-2.6.21.tar.gz/usr/src...
Compile your own function custom Fedora7 kernel first step: download the required kernel version from the http://www.kernel.org/pub/ I still first download a kernel source code and then www.2cto.com # cp ~ /Downlocd/linux-2.6.21.tar.gz/usr/src # cd/usr/src # tar-xzf linux-2.6.21.tar.gz Step 2: # cp/boot/config-2.6.21-1.3194.fc7. /. run make oldconfig. make oldconfig will prompt the new configuration options in the new kernel. the old configuration options use the original one. config.
Run make menuconfig to check which configuration options are selected, and select or remove some options as needed. Step 3: Run make on www.2cto.com Step 4: install the compilation module # make modules_install Step 5: # cp/usr/src/linux-2.6.21/arch/i386/boot/bzImage/boot/vmlinuz-2.6.21 # cp/usr/src/linux-2.6.21/System. map/boot/System. map 2.6.21
Step 6: make initrd-2.6.21.img # cd/boot # mkinitrd/boot/initrd-2.6.21.img 2.6.21 (note: Ubuntu/Debian is using mkintramfs. the usage is as follows: mkintramfs 2.6.21-o/boot/initrd-2.6.21.img where 2.6.21 is the corresponding kernel directory name under/lib/modules .) step 7: modify the file/boot/grub. add a boot entry for the new kernel in conf, title Fedora (2.6.21-1.3194.fc7) root (hd0, 7) www.2cto.com kernel/boot/vmlinuz-2.6.21-1.3194.fc7 ro root = LABEL =/rhgb quiet vga = 792 initrd/boot/initrd-2.6.21-1.3194.fc7.imgt Itle Fedora (2.6.21) root (hd0, 7) kernel/boot/vmlinuz-2.6.21 ro root = LABEL =/rhgb quiet initrd/boot/initrd-2.6.21.img remarks: the author uses the desktop wired network card is marvell model marvell-88E8057, so go to the marvell official website download driver, not sure in the kernel can support, can use it no matter.
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.