Resposta curta:
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT_STYLE=hidden
Ou apenas exclua as duas primeiras linhas da entrada acima e substitua por
GRUB_TIMEOUT_STYLE=[menu|countdown|hidden]
Explicação:
A partir deste momento (2016), as opções GRUB_HIDDEN_TIMEOUT
e GRUB_HIDDEN_TIMEOUT_QUIET
têm já sido reprovado . Então não use mais. Em vez disso, você pode usar GRUB_TIMEOUT_STYLE
.
De acordo com info -f grub -n 'Simple configuration'
, você tem isto:
'GRUB_TIMEOUT_STYLE'
If this option is unset or set to 'menu', then GRUB will display
the menu and then wait for the timeout set by 'GRUB_TIMEOUT' to
expire before booting the default entry. Pressing a key interrupts
the timeout.
If this option is set to 'countdown' or 'hidden', then, before
displaying the menu, GRUB will wait for the timeout set by
'GRUB_TIMEOUT' to expire. If <ESC> is pressed during that time, it
will display the menu and wait for input. If a hotkey associated
with a menu entry is pressed, it will boot the associated menu
entry immediately. If the timeout expires before either of these
happens, it will boot the default entry. In the 'countdown' case,
it will show a one-line indication of the remaining time.