Fedora 20/21, delete old system kernel, fedora Kernel

Source: Internet
Author: User

Fedora 20/21, delete old system kernel, fedora Kernel

The kernel update speed of the Fedora system is very fast, which often leads to many versions during startup. If you do not clean up for a long time, the/boot may be fully occupied. The recent new Fedora 21 is even more likely to frequently upgrade the kernel. Therefore, the old kernel deletion method record is as follows:

[Root @ rachel densintian] # rpm-qa | grep kernel query kernel information kernel-modules-3.17.1-302.fc21.x86_64kernel-3.17.1-302.fc21.x86_64kernel-headers-3.17.3-300.fc21.x86_64kernel-modules-3.17.3-300.fc21.x86_64abrt-addon-kerneloops-2.3.0-3.fc21.x86_64kernel-modules-3.17.2-300.fc21.x86_64kernel-core-3.17.2-300.fc21.x86_64kernel-3.17.2-300.fc21.x86_64kernel-core-3.17.3-300.fc21.x86_64kernel-3.17.3-300.fc21.x8 that is currently installed Keys [root @ rachel densintian] # rpm-qa | grep kernel-[0-9] For security reasons further query kernel-3.17.1-302.fc21.x86_64kernel-3.17.2-300.fc21.x86_64kernel-3.17.3-300.fc21.x86_64 [root @ rachel densintian] # uname-a to view the currently running system kernel (Make sure you do not delete it incorrectly) linux rachel 3.17.3-300. fc21.x86 _ 64 #1 SMP Fri Nov 14 23:36:19 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [root @ r Achel densintian] # yum remove kernel-3.17.1-302.fc21.x86_64 remove expired kernel loaded plug-ins: axelget, fastestmirror, langpacks is working on dependencies --> checking transactions ---> package kernel. the x86_64.0.3.17.1-302.fc21 will be deleted --> resolve dependency completed dependency resolved ============================ ========================================================== =============== Package architecture version source size ============================== ========================================================== ======================== deleting: kernel x86_64 3.17.1-302. fc2 1 @ koji-override-0/$ releasever 0.0 transaction summary ================================ ========================================================== ========== remove 1 package installation size: 0: Continue? [Y/N]: yDownloading packages: Running transaction checkRunning transaction testTransaction test succeededRunning transaction (shutdown inhibited) Deleting: kernel-3.17.1-302.fc21.x86_64 1/1 verification: kernel-3.17.1-302.fc21.x86_64 1/1 deleting: kernel. x86_64 0: 3. 17.1-302. fc21 complete! [Root @ rachel densintian] # deletion completed


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.