Compile the kernel linux-2.6.37-rc4 in Ubuntu10.10: The procedure is as follows for your reference; 1. download the linux-2.6.37-rc4 here, you can choose either the stable version or the new beta version, but be sure to download the Fullsource version. 2. Install the relevant Compilation Program. Install make, gcc, make-kpkg, run xconfig, and other kernel-related tools. Execute; sudoapt-getinstal
Successfully compiled the kernel linux-2.6.37-rc4 in Ubuntu 10.10:
The procedure is as follows;
1. Download linux-2.6.37-rc4 here,
You can select a stable version or a new test version, but you must download the Full source version.
2. Install the relevant Compilation Program. Install make, gcc, make-kpkg, run xconfig, and other kernel-related tools.
Execution;
Sudo apt-get install build-essential kernel-package libncurses5-dev fakeroot
3. Extract the source code
Execution;
Tar jfx linux-2.6.37-rc4.tar.bz2-C ~ /Linux
If you cannot find the linux directory, create one ,~ /Linux can be any directory, but note that you need to reserve more than 2 GB Space
4. Go to the directory where the source code is located.
Execution;
Cd ~ /Linux/linux-2.6.37-rc4/
5. Clear the temporary files left by the previous compilation. If the source code package is just unlocked, skip this step.
Execution;
Make mrproper
6. Use make localmodconfig to automatically streamline the kernel
Execution;
Make localmodconfig
7. Start to compile the kernel.
Execution;
Sudo make-kpkg clean
Fakeroot make-kpkg -- initrd -- append-to-version =-lostubuntu kernel_image
Note: The "-lostubuntu" can be changed to your favorite content, according to my compiled kernel name is "linux-image-2.6.37-rc4-lostubuntu"
8. Install the kernel
You can double-click to install the compiled kernel in the previous directory.
Or
Execution;
Cd ..
Sudo dpkg-I linux-image-2.6.37-rc4-lostubuntu001_2.6.37-rc4-lostubuntu001-10.00.Custom_i386.deb
9. After the installation is complete, compare the size with the old kernel:
Execution;
Ls-l/boot/
10. Restart to verify the kernel.
Sudo reboot
If the kernel verification fails, select the old kernel in GRUB and try again ......