LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Removing old kernels? (https://www.linuxquestions.org/questions/fedora-35/removing-old-kernels-312409/)

carlosinfl 04-12-2005 09:44 AM

Removing old kernels?
 
I noticed that my kernel has been updated 3 times since it was installed a few months ago. I know how to remove the "Grub" entries from the list but I was wondering if I can or even should remove the old kernel versions that I am no longer using.

I would assume this would keep my Linux system a bit cleaner or less cluttered with having 10 old kernels that are no longer used.

I know it is good to keep the last kernel just in case I need to revert back to it for fail safe reasons.

Thanks for any info.

reddazz 04-12-2005 09:58 AM

You can remove the entries by deleting them from your /boot/grub.conf. This method keeps your old kernels in /boot, so if you want to completely uninstall the old kernels and grub entries, do
Code:

$rpm -qa | grep -i kernel
A list of installed kernels will be shown and to remove them just do
Code:

#rpm -e kernel-version


All times are GMT -5. The time now is 10:38 PM.