grub-reboot(8)

grub-reboot8

Set the default boot entry for grub, for the next boot only

Usage

grub-reboot [OPTION] MENU_ENTRY

Overview

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

--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. 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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1–5.0
  2. 6.0
  3. 7–12
  4. 13
  5. Arch

--boot-directory since Debian 13 (Trixie); --help since Debian 13 (Trixie); --version since Debian 13 (Trixie); -V since Debian 13 (Trixie); -h since Debian 13 (Trixie).

--root-directory until Debian 6.0 (Squeeze); -v until Debian 6.0 (Squeeze).

Reporting bugs

Report bugs to <[email protected]>.

From grub 2:2.16-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.