Skip to content Skip to main navigation Skip to footer

GRUB 2 Menu Not Shown When Booting Linux


The GRUB 2 menu is not shown when booting into a Linux installation.


By default, the GRUB 2 menu is hidden on many standard Linux installations.


Depending on the system and the GRUB configuration, it may be possible to press ESC or hold the Shift key during startup to have the menu displayed. Otherwsie, you can edit the GRUB configuration options as detailed below.


  1. Open a terminal.

  2. Open the /etc/default/grub file in a text editor using root privileges or sudo. The command will vary depending on what editors are installed. For example, using gedit in Ubuntu:
    sudo gedit /etc/default/grub

  3. The file will open and show the current options. The first few lines of the file from an Ubuntu install are shown here:
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

  4. Comment out the GRUB_HIDDEN_TIMEOUT option by placing the # character at the beginning of the line:

    The menu will be displayed for the timeout period specified by the GRUB_TIMEOUT option. This option must be a positive integer value (default is 10 seconds).

    If you would like the menu to remain on the screen until a selection is made you can set the value to -1:

  5. Save the file and exit the editor.

  6. From the terminal, run the update-grub command to update the GRUB files. This command must be run with root privileges or sudo.
    sudo update-grub

  7. The GRUB menu will now be displayed as configured when booting the Linux installation.

The following link provides more details on the GRUB 2 options configured in this article as well as others:

Was This Article Helpful?