Ask Your Question

Remove grub2 boot menu?

asked 2013-09-05 01:44:55 -0500

Pascal76 gravatar image

updated 2014-09-28 11:54:39 -0500

mether gravatar image

I'd like to remove the menu in grub2 that I can directly see all entries.

I already have done this but if I make


the old menu strucuture:

  1. Fedora
  2. Advanced Options

appears again.

What do I have to configure, that grub-mkconfig does not change the menu any more?


Edit: If anyone is editing my posting or removing any tags, please only with a comment!

edit retag flag offensive close merge delete


How did you previously fix the issue? /boot/grub/grub.cfg will be overwritten by grub-mkconfig, the way you permanently make changes is by editing /etc/default/grub see also here

Jann5s gravatar imageJann5s ( 2013-09-05 05:03:10 -0500 )edit

It just changed the grub.cfg and removed submenu and the bracket. After a kernel update, grub-mkconfig is not automatically started, only dracut. And e.g. if I add another kernel (compiled by my own) it is automatically added by "make install".

Pascal76 gravatar imagePascal76 ( 2013-09-05 05:55:24 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-09-05 18:01:07 -0500

skytux gravatar image

You can edit /etc/default/grub and set:


so you can see a list of installed kernels.

Then you need to regenerate the config file:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

and reboot to see the changes.



edit flag offensive delete link more


I give it a try.

Pascal76 gravatar imagePascal76 ( 2013-09-12 02:58:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-09-05 01:44:55 -0500

Seen: 2,492 times

Last updated: Sep 05 '13