# GRUB_TIMEOUT=5 - No change from Grub Legacy. This is the number of seconds before the default entry is automatically booted.
* Setting this value to -1 will cause the menu to display until the user makes a selection.
* To display the menu on each boot use a value of 1 or higher.
* This command defers to the GRUB_HIDDEN_TIMEOUT command. If the hidden display is interrupted by a key press, the GRUB_TIMEOUT counter begins its countdown.
* In addition to editing the file as root, you can also run the following commands the check and change the default timeout value. The first checks the existing timeout, the second replaces the value. Replace T with the new value.
Code:
cat /etc/default/grub | grep 'GRUB_TIMEOUT=' # Checks current TIMEOUT value.
sudo sed 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=T/g' -i /etc/default/grub # Change TIMEOUT value. Replace T with new value.
# GRUB_HIDDEN_TIMEOUT=0
* The menu will be hidden unless a # symbol is present at the beginning of this line. ( # GRUB_HIDDEN_TIMEOUT=0 )
* The setting may depend on the presence of other operating systems.
o Another OS Detected: The menu will be displayed. ( The line will begin with a # symbol. )
According to some of the GRUB 2 developers, in Ubuntu the menu will not be hidden any time there are other OSs found by os-prober, regardless of this setting. This is in keeping with the Ubuntu Team's goal towards booting:
https://wiki.ubuntu.com/DesktopExper...pec#Bootloader
o No other OS Detected: The menu will be hidden.
* For integers greater than 0, the system will pause, but not display the menu, for the entered number of seconds.
* 0 The menu will not be displayed. There will be no delay. When this entry is set to 0:
o The user may force displaying the menu as the computer boots by holding down the SHIFT key.
o During boot, the system will check the SHIFT key status. If it cannot determine the key status, a short delay will enable the user to display the menu by pressing the ESC key.
* If enabled, the splash screen designated in 05_debian_theme will be displayed. This setting hides the menu only.
# GRUB_HIDDEN_TIMEOUT_QUIET=true
* true - No countdown is displayed. The screen will be blank.
* false - A counter will display on a blank screen for the duration of the GRUB_HIDDEN_TIMEOUT value.
Bookmarks