[CentOS] Safe method to remove old kernels
Bart Schaefer
barton.schaefer at gmail.com
Fri Oct 12 15:00:00 UTC 2007
On 10/12/07, Scott Moseman <scmoseman at gmail.com> wrote:
>
> I'm running the most recent kernel available, and I've never had a
> problem with any past kernels, so I don't believe there's any reason
> to keep all of them. I guess kernels get a fresh install instead of
> an upgrade? Can I safely rpm-e the old kernel packages? Should this
> be something I do through yum instead?
yum install yum-utils
package-cleanup --oldkernels --count 2
(Increase the count to keep more kernels.)
More information about the CentOS
mailing list