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.
- Open a terminal.
- 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
- 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
# 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`
- 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:
- Save the file and exit the editor.
- From the terminal, run the update-grub command to update the GRUB files. This command must be run with root privileges or sudo.
- 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: