Я пытался обновить Личинку, таким образом, я работаю:
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
установка и GRUB_TIMEOUT
установка одновременно. Это верно, даже когда скрытый тайм-аут установлен на 0.
Можно прокомментировать строку, которую Вы не хотите.
Например:
#GRUB_HIDDEN_TIMEOUT=0
После сохранения изменения, выполненного sudo update-grub
снова.
Короткий ответ:
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT_STYLE=hidden
Или просто удалите первые две строки в записи выше и замените ее
GRUB_TIMEOUT_STYLE=[menu|countdown|hidden]
Объяснение:
По состоянию на это время (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