Centos

CentOS / RedHat remove unused kernel versions

I notice many servers tend to have many kernels, alot of the time people do not clean these up, this can obviously lead to /boot becoming full, there are a few ways that the unused kernels can be removed, Remember you should be running the latest kernel when possible The suggested method would be to use package-cleanup which is part of the yum-utils package. yum install yum-utils Once yum-utils is installed you can clean the unused kernels with the following command