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