Я попытался обновить Grub, поэтому я запустил:
sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Что именно это предупреждение хочет изменить? (Я обновлялся с 12.04 до 14.04 раньше)
Это мой файл /etc/default/grub:
GRUB_DEFAULT="0"
GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
Краткий ответ:
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT_STYLE=hidden
Или просто удалите первые две строки в приведенной выше записи и замените его на
GRUB_TIMEOUT_STYLE=[menu|countdown|hidden]
Короткий ответ: [!d1 ]
Начиная с этого времени (2016) опции GRUB_HIDDEN_TIMEOUT и GRUB_HIDDEN_TIMEOUT_QUIET уже устарели. Поэтому не используйте их больше. Вместо этого вы можете использовать GRUB_TIMEOUT_STYLE.
Согласно info -f grub -n 'Simple configuration', у вас есть это:
'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.
измените
GRUB_TIMEOUT="10"
на
GRUB_TIMEOUT="0"
Если вы не используете двойную загрузку
, а затем
sudo update-grub