# man > grub-reboot(8)

[GRUB-REBOOT(8)](https://www.chedong.com/phpMan.php/man/GRUB-REBOOT/8/markdown)                     System Administration Utilities                    [GRUB-REBOOT(8)](https://www.chedong.com/phpMan.php/man/GRUB-REBOOT/8/markdown)



## NAME
       grub-reboot - set the default boot entry for GRUB, for the next boot only

## SYNOPSIS
       **grub-reboot** [_OPTION_] _MENU_ENTRY_

## DESCRIPTION
       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 in‐
       formation  about this is available in the GRUB Manual in the section about the 'default' com‐
       mand.

       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 re‐
       boot.

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

## SEE ALSO
       [**grub-set-default**(8)](https://www.chedong.com/phpMan.php/man/grub-set-default/8/markdown), [**grub-editenv**(1)](https://www.chedong.com/phpMan.php/man/grub-editenv/1/markdown)

       The full documentation for **grub-reboot** is maintained as a Texinfo manual.  If  the  **info**  and
       **grub-reboot** programs are properly installed at your site, the command

              **info** **grub-reboot**

       should give you access to the complete manual.



GRUB 2.06-2ubuntu7.2                        December 2022                             [GRUB-REBOOT(8)](https://www.chedong.com/phpMan.php/man/GRUB-REBOOT/8/markdown)
