[CentOS] [Newbie] Reclaiming /boot space

John R Pierce pierce at hogranch.com
Wed Mar 9 02:43:20 UTC 2011


On 03/08/11 6:15 PM, Todd Cary wrote:
> Yes...thank you for the suggestion...since that was the cause of
> my problem in the first place!!  I should have known better; all
> I had to do was remove some of the outdated kernel files.  And
> when I did the dumb thing of deleting the /boot files, they were
> moved into the "protected" .Trash-boot directory.

rather than manually rm'ing the old kernels, you really should use rpm 
-e kernel-$oldversion


     # rpm -e kernel-2.6.18-194.17.1 kernel-2.6.18-194.26.1 
kernel-2.6.18-194.132.1

this will clean up not only /boot but also stuff in /lib/modules and the 
rpm database etc.





More information about the CentOS mailing list