set the default boot entry for GRUB, for the next boot only
Set the default boot entry to an entry number, name or identifier for the next boot
Set the default boot entry to an entry number, name or identifier for an alternative boot directory for the next boot
grub-reboot [OPTION] MENU_ENTRY
Set the default boot menu entry for GRUB, for the next boot only.
- -h, --help
print this message and exit
- -V, --version
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. Please note that menu items in submenus or sub-submenus require specifying the submenu components and then the menu item component. The titles should be separated using the greater-than character (>) with no extra spaces. Depending on your shell some characters including > may need escaping. More information about this is available in the GRUB Manual in the section about the 'default' command.
NOTE: In cases where GRUB cannot write to the environment block, such as when it is stored on an MDRAID or LVM device, the chosen boot menu entry will remain the default even after reboot.
Report bugs to <email@example.com>.