Cleaning up /boot
Hi there,
RHEL7.5 is run on VM. I have built a few custom kernels and now ran out of space on /boot. What would be a safe way to clean up unused custom kernels.
Note: package-cleanup --oldkernels didn't help as
$ rpm -q kernel
package kernel is not installed
Thanks
--Alex
Responses
package kernel is not installed doesn't sound good.
I don't believe there is a cleanup process for kernel. Maybe the make system has some uninstall command, but just deleting the vmlinuz and config in /boot, and the /lib/modules path, should be sufficient to remove a custom kernel. Those are the only places the install process puts files anyway.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
