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 directoryDIR/grubinstead of the/boot/grubdirectory. 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
- ubuntu stonking: grub2-common 2.14-2ubuntu3 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms