Re: Cleaning up the boot partition

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



Robert Heller wrote:
> At Tue, 26 Jan 2010 08:31:02 -0800 CentOS mailing list<centos@xxxxxxxxxx>  wrote:
>>
>> I get this error:
>>
>> No Packages marked for removal
>
> (Was anything else displayed, like maybe dependency issues?)
>
> rm /boot/*2.6.9-42* /boot/*2.6.9-55*
>
> will also work (but check in /boot/grub/grub.conf!).  Maybe somehow


not sure that's a good idea...

the OP just has tons of installed kernels, he has to uninstall the 
superfluous packages - using rpm, not rm.


rpm -q kernel
will list all installed kernels
then keep the 2 or 3 most recent (including the currently running one, 
this is a safety in case you can't boot the newer kernels)

meaning, for each kernel except the ones you want to keep, do an rpm -e 
or yum remove.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux