This project documents the step-by-step process for safely removing old Linux kernels on CentOS using GRUB and package management tools. It helps keep your system clean, free up space, and ensure stability.
When working with Linux systems, especially CentOS/RHEL, over time multiple kernel versions accumulate. This can use up valuable disk space and make GRUB menus messy. This project shows how to identify and remove outdated kernels safely, keeping the currently running one and one backup.
- Check Current Kernel
uname -r