Archives For hide grub menu

This tutorial shows how to hide / disable the Grub boot menu while booting up.

You can do the job easily via Grub-Customizer (available in Ubuntu Software) under General Settings tab. However, you need to also disable “look for other operating systems” option.

Any time you want to show the Grub menu, press ESC while booting up will NO longer show dual-boot (multi-boot) systems other than Ubuntu.

NOT OK with Grub-Customizer settings? Re-enable “show menu” and “look for other operating systems” options, save changes, and do following steps one by one.

1.) Show or hide the boot menu relies on the values of ‘GRUB_TIMEOUT_STYLE’ and ‘GRUB_TIMEOUT’. However, the two values in /etc/default/grub does not work!

It’s because /etc/grub.d/30_os-prober overrides them by setting timeout to 10 (if it’s 0 in /etc/default/grub) and always to display menu.

Open terminal (Ctrl+Alt+T) and run command to edit the configuration file:

sudo -H gedit /etc/grub.d/30_os-prober

Type user password (no asterisk feedback) for sudo prompt.
When the file opens, disable the last line by adding # in the beginning. So it will be:


2.) Now edit the /etc/default/grub file via command:

sudo -H gedit /etc/default/grub

When the file opens, change the values:

  • set GRUB_TIMEOUT_STYLE to “hidden” or “countdown
  • set GRUB_TIMEOUT to “0”
Actually, set GRUB_TIMEOUT to “1” will boot faster! Tested in “countdown” mode, while value “0” still counts 3,2,1,0, value “1” will count 1,0.

3.) Finally apply changes via command:

sudo update-grub

How to restore:

To restore the changes, simply run command in step 1), then re-enable the last line by removing # so it will be:


And apply change by running command sudo update-grub.


This tutorial is going to show beginners how to easily disable or hide the Grub boot menu on startup.

Without dealing with Ubuntu configuration files, this can be easily done via a graphical tool called Grub Customizer.

1. Grub Customizer is not available in Ubuntu repositories until Ubuntu 19.04. So first open terminal (Ctrl+Alt+T) from application menu, then run command to add the software PPA:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer

Type user password (no asterisks feedback) when it prompts and hit Enter to continue.

2. Then install the tool via command:

sudo apt install grub-customizer

3. Search for and launch Grub Customizer from application menu:

4. When the tool opens, do:

  • navaigate to Generate settings tab,
  • un-check the checkboxes for ‘show menu’ and ‘look for other operating systems’,
  • finally click the Save button to apply changes.

That’s it! For temporary use, you can press and hold the Shift key to access the grub boot menu on startup.

Ubuntu 14.04 hide grub menu

This quick tutorial is going to show you how to get rid of (hide) the annoying Grub boot menu while booting up Ubuntu and make it directly go to the login screen.

If you just have a single Ubuntu installed on your computer, Grub bootloader is hidden by default and you can press and hold Shift key to show the menu while booting.

If you have more that one kernel on your system, Grub menu keeps showing up on booting and you can follow below steps to hide it again.

Method 1: Edit the config file.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste below command and run to edit the grub config file:

sudo gedit /etc/default/grub

You’ll be asked to type in user password. Type in mind and finally hit enter (terminal won’t display your password).

When the file opens, remove “#” before “GRUB_HIDDEN_TIMEOUT=0” and set “GRUB_HIDDEN_TIMEOUT_QUIET=true”. So it looks like:


GRUB_DISTRIBUTOR=”`lsb_release -i -s 2> /dev/null || echo Debian`”

Save the file and apply the changes by running below command:

sudo update-grub

Method 2: Use graphical tool grub-customizer:

Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menu entries. Press Ctrl+Alt+T to open terminal. When it opens, run below commands one by one to install it from developer’s PPA:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer 

sudo apt-get update

sudo apt-get install grub-customizer

Open the app and do below changes:

  1. Switch to General settings.
  2. un-check the boxes which say “show menu” and “look for other operating systems.”
  3. Click refresh button.
  4. Click Save button.


That’s it. Enjoy!