Re: removing old Kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The original poster asked how to remove old kernels.  That is a good
indication of the OP's level of knowledge.  It is very reasonable to
conclude that the OP did not compile his own kernel so although no
doubt an interesting debate and educational, it is most likely not
applicable to the OP's situation and beyond the OP's knowledge/skill
level (so rpm -e would be the logical suggestion to his question).

I agree with the earlier suggestion of running the following as root:

First determine what kernel version you are running (should be the
latest one installed - if not I suggest you re-boot to the latest
kernel as you will not be able to remove an older one which is
active).  Do this as follows:
# uname -a

Next determine which kernels are installed.  Do this as follows (-q
for query, -a for all, then pipe that to grep for the results with the
word kernel in it).
# rpm -qa | grep kernel

Finally remove the older kernels by doing the following for each
kernel you wish to remove (good advice to keep at least current and
previous version):
# rmp -e older-kernel-exactly-as-spelled-in-previous-query

This will also take care of modifying your grub.conf file.

Jacques B.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux