Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The removing part is not too strange. Default settings in Fedora are to keep the 3 most recent kernels. As you add kernels to your system by updating it, dnf starts removing the oldest kernel(s). If you don't want to remove the old kernel(s)/keep a larger amount of kernels on your system, just modify the settings in /etc/dnf/dnf.conf (sudo nano /etc/dnf/dnf.conf or sudo gedit /etc/dnf/dnf.conf). There is a line that says

installonly_limit=3

Change it to whatever number of kernels you want to keep (>2) but be aware that each kernels consumes space on /boot, so don't fill this partition fully up.