Cleaning up old kernels (with kernel-ml)?
Cleaning up old kernels (with kernel-ml)?
I've just got a message on low disk space on /boot - how do I clean old kernels and all the mess from there taking into account I have kernel-ml as well?
Re: Cleaning up old kernels (with kernel-ml)?
Choose kernel version to remove.
# yum remove kernel....
# yum remove kernel....
Re: Cleaning up old kernels (with kernel-ml)?
package-cleanup --oldkernels --count 2
May need yum.conf amending with kernelpkgnames=kernel-ml but never tried with kernel-ml so it may work without or it may not work at all.
May need yum.conf amending with kernelpkgnames=kernel-ml but never tried with kernel-ml so it may work without or it may not work at all.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Cleaning up old kernels (with kernel-ml)?
Yum has option 'installonly_limit'. The options default is 3, but CentOS seems to set the value to 5.
5 regular kernels and 5 kernel-ml definitely take some space.
As preventive maintenance, make it less.
5 regular kernels and 5 kernel-ml definitely take some space.
As preventive maintenance, make it less.
Re: Cleaning up old kernels (with kernel-ml)?
Hello
works but will leave 4 kernels two 3.10 and two 4.12 (currently)
Code: Select all
package-cleanup --oldkernels --count 2