Skip to content

Clear unused Bootloader (GRUB) entries

Steps

  • First find all the Kernel packages using the following command:
sh
rpm -qa kernel-\*
  • Keep the latest version packages and remove other packages using:
sh
sudo dnf remove <<package name>>
  • If required, set installonly_limit to 2, in the file /etc/dnf/dnf.conf.