DOKK / manpages / debian 12 / grub2-common / grub-set-default.8.en
GRUB-SET-DEFAULT(8) System Administration Utilities GRUB-SET-DEFAULT(8)

grub-set-default - set the saved default boot entry for GRUB

grub-set-default [OPTION] MENU_ENTRY

Set the default boot menu entry for GRUB. This requires setting GRUB_DEFAULT=saved in /etc/default/grub.

print this message and exit
print the version information and exit
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.

Report bugs to <bug-grub@gnu.org>.

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

info grub-set-default

should give you access to the complete manual.

October 2023 GRUB 2.06-13+deb12u1