GRUB-REBOOT(8)

๐Ÿ’– GRUB-REBOOT ๐Ÿ’–

okay bestie, welcome to the grub-reboot page of the System Administration Utilities manual โ€” this is the one that decides what your computer boots into exactly one time and then forgets all about it. chaotic? a little. iconic? absolutely. ๐Ÿฆ‹


โœจ NAME โœจ

grub-reboot โ€” set the default boot entry for GRUB, for the next boot only ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

grub-reboot [OPTION] MENU_ENTRY

that's it. one little line. one big vibe. ๐ŸŽ€


๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

Set the default boot menu entry for GRUB, for the next boot only. like, you pick which one you want this once, and after that it goes right back to doing its usual thing. no strings, no commitment, no cap. โœจ

  • -h, --help โ€” print this message and exit. your girl needs directions? here they are. ๐Ÿซถ
  • -V, --version โ€” print the version information and exit. find out which flavor of grub you're dealing with. ๐Ÿ‘‘
  • --boot-directory=DIR โ€” expect GRUB images under the directory DIR/grub instead of the /boot/grub directory. so like, if your grub stuff lives somewhere else, tell her where. literally just point at it. ๐Ÿ—บ๏ธ

๐Ÿฆ‹ about that MENU_ENTRY though ๐Ÿฆ‹

MENU_ENTRY is a number, a menu item title or a menu item identifier. three whole ways to point at the thing you want. slay. ๐ŸŽ€

but listen โ€” and this is the part where it gets a lil extra โ€” menu items in submenus or sub-submenus require specifying the submenu components and then the menu item component. so you have to walk the whole lil family tree down to your item.

and the titles? they get separated using the greater-than character (>) with no extra spaces. none. zero. not one. so it's giving parent>child>item energy and nothing else. ๐Ÿ˜ญ

depending on your shell, some characters โ€” including > โ€” may need escaping, because your shell has opinions and will absolutely try to do its own thing with a >. more information about this is available in the GRUB Manual in the section about the 'default' command. iykyk. ๐Ÿ“–

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. ๐Ÿ’€ so you said "just this once" and it said "no actually, forever." check your setup before you trust the one-time-ness, bestie.

๐Ÿ“ REPORTING BUGS ๐Ÿ“

found a bug? she's not perfect, she's just a grub utility. report bugs to <bug-grub@gnu.org>. tell them everything, they can handle it. ๐Ÿ’Œ


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

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. go forth and read the full lore, it's giving director's cut. ๐Ÿ“šโœจ


okay that's the whole page, babe โ€” brought to you by GRUB 2.14-2ubuntu3, dated July 2026, because even iconic documentation has a birthday. mwah. ๐Ÿ’–๐Ÿ’…๐Ÿฆ‹๐ŸŒธ

๐Ÿ“ฆ where this page comes from