Delete unnecessary kernel after centos update. The first method is www.2cto. com1. first list the kernel in use in the system: # uname-a2. query all the kernels in the system: # rpm-qa | grepkernel3. delete the kernel you want to delete: (for example, in my system, I want...
Delete unnecessary kernel after centos update. The first method is www.2cto.com 1. first, list the kernel in use in the system: # uname-a 2. all kernels in the query system: # rpm-qa | grep kernel 3. delete the kernel you want to delete (for example, in my system, I want to delete the kernel-2.6.32-279.9.1.el6.x86_64 kernel, need to delete all the words containing the kernel-2.6.32-279.9.1.el6.x86_64) # yum remove kernel-2.6.32-279.9.1.el6.x86_64 4. after the restart, we can see that the kernel is deleted, and the excess startup items are also deleted automatically. The second method is to manually modify/boot/grub/menu. lst to delete unnecessary items.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service