grub-set-default - set the saved default boot entry for GRUB
Contents
Description
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.
Name
grub-set-default - set the saved default boot entry for GRUB
Reporting Bugs
Report bugs to <bug-grub@gnu.org>.
See Also
grub-reboot(8), grub-editenv(1) The full documentation for grub-set-default is maintained as a Texinfo manual. If the info and grub-set-default programs are properly installed at your site, the command infogrub-set-default should give you access to the complete manual. GRUB 2.14~git20250718.0e36779-1ubuntu3 August 2025 GRUB-SET-DEFAULT(8)
Synopsis
grub-set-default [OPTION] MENU_ENTRY
