Install the kernel in Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. After compilation, the bzImage file will appear in the arch/i386/boot directory.
To install the kernel, follow these steps:
(1) Create the mynewkernel directory under the/boot directory and copy bzImage to the/boot/mynewkernel directory:
$ Sudo cp arch/i386/boot/bzImage/boot/mynewkernel
(2) Change the bzImage name in/boot/mynewkernel.
$ Sudo mv bzImage vmlinuz-2.6.17.13
(3) backup and modify the grub configuration file
$ Sudo cp/boot/grub/menu. lst menu. lst. origin
Modify menu. list and add the following content (copy related content from existing menu. list ):
Title zp, make defconfig, 2.6.17.13
Root (hd0, 2)
Kernel/boot/mynewkernel/vmlinuz-2.6.17.13 root =/dev/sda3 ro quiet splash
Savedefault
Boot
(4) Installation module:
$ Sudo make modules_install
Reboot: select the new kernel boot from the grub boot menu.
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.