[CentOS] Safe method to remove old kernels
chrism at imntv.com
Fri Oct 12 13:35:04 UTC 2007
Scott Moseman wrote:
> # rpm -qa | grep kernel-2 | sort
> 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?
I'm not really sure of the correct method, but I've gotten into the
habit of using rpm -e. I usually keep the current kernel plus the
previous one and dump the rest.
More information about the CentOS