4. Put the kernel under/usr/src and decompress it.
Cp yourkernelPATH/linux-2.6.20.6.tar.bz2/usr/src
Cd/usr/src
Tar jxvf linux-2.6.20.6.tar.bz2
5. linux-2.6.20.6 folder
Cd linux-2.6.20.6
6. Configure The Kernel
Make clean & make mrproper
To save trouble, copy and use the previous config File
Cp/boot/config-'uname-R'. config
7. Configure the kernel
Make menuconfig
If the specific configuration has time, follow the steps below:
Http://lamp.linux.gov.cn/Linux/kernel_options.html
8. Build The Kernel
Make-kpkg clean
Fakeroot make deb-pkg
This process is very long, depending on the speed and character of your machine.
Files that will generate linux-2.6.20.6_2.6.20.6_i386.deb under/usr/src
9. Install The New Kernel
Dpkg-I linux-2.6.20.6_2.6.20.6_i386.deb
10. Create A Ramdisk
Install several necessary packages first
Aptitude install libhtml-template-perl libparse-recdescent-perl
Aptitude install yaird
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.