Re: [Newbie] Reclaiming /boot space

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



On Wed, Mar 9, 2011 at 7:48 PM, Dr. Ed Morbius <dredmorbius@xxxxxxxxx> wrote:
> on 15:49 Wed 09 Mar, Keith Keller (kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx) wrote:
>> On Wed, Mar 09, 2011 at 01:44:18PM -0800, Dr. Ed Morbius wrote:
>> > on 09:24 Wed 09 Mar, Simon Matter (simon.matter@xxxxxxxxx) wrote:
>> > >
>> > > Yes, only that reinstall doesn't exist in EL4 :)
>> >
>> > It doesn't?
>> >
>> >     rpm -Uvh <packagelist>
>>
>> Creating the package list is what yum does automatically; using rpm
>> directly means creating a list of URLs or downloading rpms
>> individually.
>
> See my other recent post to this thread for how that's done.
>
> Essentially:  use RPM to generate a list of all packages.  List all
> files in those packages.  Filter for files on /boot.  Identify the
> packages with files on /boot.   Reinstall those packages.
>
> It's a shell one-liner.

The packages, as of the last night's cron jobs, are typically in
"/var/log/rpmpkgs", generated by the "/etc/cron.daily/rpm" script.
That script is not mandatory and does not seem to be in RHEL 6 nor
will it therefore be in CentOS 6, but lord, it's useful in this kind
of situation. It's also much faster to parse, than manually issuing
"yum" commands.
_______________________________________________
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