Finally, a deb file of the kernel is compiled. I have checked the main parts: boot/System. map-2.6.22.9-wuxb-1boot/config-2.6.22.9-wuxb-1boot/vmlinuz-2.6.22.9-wuxb-1lib/modules/here a pair of modules usr/share/doc/Linux-image-2.6.22.9-wuxb-1/several documents and make
Finally, a deb file of the kernel is compiled. Let's take a look at the main parts:
Boot/System. map-2.6.22.9-wuxb-1
Config-2.6.22.9-wuxb-1/boot
Vmlinuz-2.6.22.9-wuxb-1/boot
Lib/modules/here is a pair of modules
Usr/share/doc/Linux-image-2.6.22.9-wuxb-1/several documents
It is basically the same as using make for compilation, but using deb package for installation is naturally easier and easier, and grub is automatically changed.
You can manually tune the grub sequence. The newly installed kernel is in the front by default.
Compilation process:
Obtain the kernel source code. sudo apt-get install Linux-kernel-source is a convenient method in Ubuntu.
Decompress the Linux kernel to a folder (any), copy the config * file in the. boot/directory to the source directory, and rename it. config.
Make-menuconfig
Well configured (it is best not to configure it at the beginning)
Sudo make-kpkg -- initrd -- append_to_version =-wuxb-1 kernel_image kernel_headers
After compilation, you can find the two deb packages in the previous folder and install them.
Haha, I haven't tried whether the compiled kernel can be used yet.