{
    "mode": "man",
    "parameter": "grub-reboot",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/grub-reboot/8/json",
    "generated": "2026-06-16T10:31:34Z",
    "synopsis": "grub-reboot [OPTION] MENUENTRY",
    "sections": {
        "NAME": {
            "content": "grub-reboot - set the default boot entry for GRUB, for the next boot only\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grub-reboot [OPTION] MENUENTRY\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Set the default boot menu entry for GRUB, for the next boot only.\n",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "print this message and exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "print the version information and exit\n\n--boot-directory=DIR\nexpect GRUB images under the directory DIR/grub instead of the /boot/grub directory\n\nMENUENTRY  is  a  number, a menu item title or a menu item identifier. Please note that menu\nitems in submenus or sub-submenus require specifying the submenu components and then the menu\nitem  component.  The titles should be separated using the greater-than character (>) with no\nextra spaces. Depending on your shell some characters including > may need escaping. More in‐\nformation  about this is available in the GRUB Manual in the section about the 'default' com‐\nmand.\n\nNOTE: In cases where GRUB cannot write to the environment block, such as when it is stored on\nan  MDRAID  or  LVM device, the chosen boot menu entry will remain the default even after re‐\nboot.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <bug-grub@gnu.org>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "grub-set-default(8), grub-editenv(1)\n\nThe full documentation for grub-reboot is maintained as a Texinfo manual.  If  the  info  and\ngrub-reboot programs are properly installed at your site, the command\n\ninfo grub-reboot\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                             GRUB-REBOOT(8)",
            "subsections": []
        }
    },
    "summary": "grub-reboot - set the default boot entry for GRUB, for the next boot only",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "print this message and exit"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print the version information and exit --boot-directory=DIR expect GRUB images under the directory DIR/grub instead of the /boot/grub directory MENUENTRY 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."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "grub-set-default",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/grub-set-default/8/json"
        },
        {
            "name": "grub-editenv",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/grub-editenv/1/json"
        },
        {
            "name": "GRUB-REBOOT",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/GRUB-REBOOT/8/json"
        }
    ]
}