grub-set-default8
Set the saved default boot entry for grub
Usage
grub-set-default [OPTION]
MENU_ENTRY
Overview
Set the default boot menu entry for GRUB. This requires setting GRUB_DEFAULT=saved in /etc/default/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
MENU_ENTRY is a number, a menu item title or a menu item identifier.
Releases
9 releases since Debian 6.0 (Squeeze); the text changed 8 times.
--boot-directory since Debian 7 (Wheezy);
-V since Debian 9 (Stretch).
--root-directory until Debian 6.0 (Squeeze);
-v until Debian 8 (Jessie).