Grub2 - Документация сообщества Ubuntu говорит следующее:
Сохранение ОС может быть достигнуто путем запуска sudo grub-set-default, если DEFAULT = сохраняется в / etc / default / grub. Он также может быть сохранен, если GRUB_SAVEDEFAULT = true также устанавливается в / etc / default / grub. В этом случае, ОС по умолчанию остается до тех пор, пока новая ОС не будет выбрана вручную из GRUB 2 или команда grub-set-default.
Я положил строки DEFAULT=saved
AND GRUB_SAVEDEFAULT=true
в /etc/default/grub
и побежал sudo grub-set-default
. Вот результат:
$ sudo grub-set-default
entry not specified.
Usage: grub-set-default [OPTION] entry
Set the default boot entry for GRUB.
-h, --help print this message and exit
-v, --version print the version information and exit
--boot-directory=DIR expect GRUB images under the directory DIR/grub
instead of the /boot/grub directory
ENTRY is a number or a menu item title.
Report bugs to <[email protected]>.
Я не правильно слежу за документацией? Каков правильный способ сделать это?