Remove the redundant kernel after Linux update

Source: Internet
Author: User

Remove the redundant kernel after Linux update I use the FREDOA 21 in order to make the network card driver unknowingly upgraded several systems, each boot after a number of cores let me choose, really a headache, especially like Bo Master this kind of forced people, looking at the upset, so I want to delete the redundant kernel, recommended to retain two cores, a loaded up-to-date, One is the bottom version of the stable, double insurance for a rainy day, began to think very complex, after all, is the core, I also want to engage in operating system, the core of this study, work. But later thought, actually the kernel sounds tall, that is, a software is not.
1. First look at the kernel you are using now do not delete the wrong: uname-a 2. Then find and show how many kernels and related versions of the files you have now: Rpm-qa | grep kernel 3. Now select the kernel you need to delete and the relevant files yum Remove kernel-3.1xxxx .... yum Remove Kernel+headers ..... 4. This will be OK, if the restart after the table of knowledge is still entering/etc to find grub2.cfg Some grub2-ef.cfg delete the information inside, is the information displayed when the boot, so it is completely OK.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Remove the redundant kernel after Linux update

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.