In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to compile the Ubuntu kernel system, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Command:
The xxx of the last command sudo make-kpkg clean fakeroot make-kpkg-initrd-append-to-version=xxx kernel_image can be chosen by yourself, but it cannot be uppercase. The following work is to wait for the completion of compiling the Ubuntu kernel, depending on your configuration and your machine. If there is something wrong with the configuration, it may take a day and a night to compile. The compiled package should be less than 10 MB, and it doesn't matter if it is larger than 20 MB, then there will be a problem.
Install the Ubuntu kernel
The compiled installation package is in the parent directory, so we should be / usr/src mouse click package and install it to compare the size with the old Ubuntu kernel: ls-l / boot/ do not delete the old Ubuntu kernel at this time, because if something goes wrong, you have to find him.
Restart to verify it
It is recommended to download the video card driver and change it to a simple file name so that it can be installed later.
There's a real problem.
In my experience, * compilation is bound to fail, so select the old kernel in GRUB, delete the newly installed kernel in Synaptic package Manager, kill it, and repeat the above (before 7).
Install the video card driver in the Ubuntu kernel
If you have compiled the driver of the Intel graphics card or ATI graphics card into the Ubuntu kernel, congratulations, the following is ignored. If your kernel starts successfully after reboot, but cannot start the graphical interface, it is time to install the graphics card driver and select root in the recovery mode (that is, the second selection of the new kernel in GRUB). Execute the following cd / directory of the driver you just downloaded sh driver file name. Run if it shows that the source code was not found, the sh driver file name. Run-kernel-source-path= the directory where you compiled the kernel we should be: sh driver file name. run-kernel-source-path=/usr/src/linux-X
Thank you for reading this article carefully. I hope the article "how to compile the Ubuntu Kernel system" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.