Share your experience in compiling the kernel (a little error is reported after compilation, and you are expected to solve it)
Source: Internet
Author: User
Share your experience in compiling the kernel (a little error after compilation, and hope you can solve it)-Linux general technology-Linux programming and kernel information. For more information, see the following. 1. First, go to the http://www.kernel.org to download the kernel.
2. decompress tar-jxf linux -*
3. mv linux-*/usr/src)
4. make mrproper
5. cp/boot/config-* (configuration component of the old kernel). config/usr/src/linux -*
6. make oldconfig
7. make-j2
8. sudo make install
9. make modules
10. sudo make modules_install
11. sudo mkinitramfs-o/boot/initrd. img-** (* kernel version)
12. sudo update-grub
After the restart, enter the new kernel and "an error occurred while mounting/home" will be skipped by s. everything is normal.
But how can I modify it so that no error is reported?
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.