[CentOS] Cleaning up the boot partition

Tue Jan 26 20:34:32 UTC 2010
Robert Heller <heller at deepsoft.com>

At Tue, 26 Jan 2010 19:01:50 +0100 CentOS mailing list <centos at centos.org> wrote:

> 
> Robert Heller wrote:
> > At Tue, 26 Jan 2010 18:20:23 +0100 CentOS mailing list<centos at centos.org>  wrote:
> >
> >>
> >> Robert Heller wrote:
> >>> At Tue, 26 Jan 2010 08:31:02 -0800 CentOS mailing list<centos at centos.org>   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...
> >
> > It might make sense *as a last resort*, partitularly if something odd
> > happened -- I mentioned several: rpm -e might have failed somehow, a fresh
> > reinstall without reformatting /boot, a backup/restore, etc.  All of
> > these could result in the kernels *appearing* to be 'installed', but not
> > 'visible' to rpm/yum.  In which case rpm/yum won't remove them.
> 
> I agree with you Robert, but since the OP hasn't posted the output of 
> 'rpm -q kernel' there's no reason yet to suspect that's the case.
> And since the OP stated he is inexperienced... I didn't want him blindly 
> rm'ing stuff as root unless it's clearly necessary.

Right, definitely!

> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                    

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/