Ask Your Question

GRUB duplicate entries when update Fedora

asked 2016-07-20 13:23:53 -0500

benitezCarvalho gravatar image

Hi again, I have an issue with GRUB, every time that Fedora updates, a new entry (option) in the boot manager appears. Fortunately it has some kind of limit (4 fedora entries and 1 Windows). Image bellow. I wish I could have only the latest Fedora version entry and the Windows one. Can you help me? Thanks everyone :) Screenshot:

edit retag flag offensive close merge delete


What is the reason to have only one? To have more than one kernel installed is a question of safety. But, you can change that for sure.

skytux gravatar imageskytux ( 2016-07-20 15:11:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-20 13:32:28 -0500

aeperezt gravatar image

Fedora Keeps 3 Kernels on the grub, if when a new Kernel update is added, the latest Kernel will be on top and the last one is removed. Fedora keeps 3 kernels as a safety measure if the new kernel cannot boot on your machine you can always select older one and get into your machine to be able to boot.

While you can change the number of kernels on Grub it is not recommended. To do so edit dnf.conf file and change the number on installonly_limit=3 to the value you prefer. Please I do not recommend you to do so.

sudo vim /etc/dnf/dnf.conf

Hope this help you to underestand why they are those 4 entries on Grub.

edit flag offensive delete link more


use nano instead of vim. It required less time to get familiar with, and it is installed by default...

florian gravatar imageflorian ( 2016-07-20 13:54:52 -0500 )edit

@floriannano is installed by default?

mikechav gravatar imagemikechav ( 2016-07-21 11:03:41 -0500 )edit

@mickchav: if you ask like this, probably not?!

florian gravatar imageflorian ( 2016-07-21 11:34:06 -0500 )edit

By the default you will always find vi, which si the same as VIM but with out colors and some other small differences.

aeperezt gravatar imageaeperezt ( 2016-07-21 11:56:23 -0500 )edit

Oh yea, vi from vim-minimal - my point was only that this is not the most intuitive text editor for a (probably new) Linux user who is wondering why he has more than one kernel installed on his system.

florian gravatar imageflorian ( 2016-07-21 12:11:30 -0500 )edit

Question Tools

1 follower


Asked: 2016-07-20 13:23:53 -0500

Seen: 539 times

Last updated: Jul 20 '16