[CentOS] [Newbie] Reclaiming /boot space

Todd Cary todd at aristesoftware.com
Wed Mar 9 02:46:16 UTC 2011


Many thanks!

Todd

On 3/8/2011 6:43 PM, John R Pierce wrote:
> 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.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

-- 
Ariste Software
Petaluma, CA 94952

http://www.aristesoftware.com




More information about the CentOS mailing list