GRUB-REBOOT(8)
π NAME π
okay so grub-reboot β she sets the default boot entry for GRUB, but only for the very next boot. one boot. then she's done. iconic behaviour honestly β¨
π SYNOPSIS π
grub-reboot [OPTION] MENU_ENTRY
πΈ DESCRIPTION πΈ
bestie. she sets the default boot menu entry for GRUB, for the next boot only. that's the whole vibe. one-shot. no commitment. π
β¨ the flags β¨
-h,--helpβ prints this message and dips out. classic.-V,--versionβ prints the version info and also dips out. also classic.--boot-directory=DIRβ expect GRUB images under the directoryDIR/grub2instead of the/boot/grub2directory. like, look over there instead of the usual spot π«Ά
okay now the main character: MENU_ENTRY. she can be a number, a menu item title, or a menu item identifier β whatever you've got, she'll take it.
π¨ real talk though: menu items that live in submenus or sub-submenus need you to specify the submenu components and then the menu item component. so you're listing the whole ancestry, no skipping.
separate those titles with the greater-than character (>) β and no extra spaces, not even one, fr fr. depending on your shell, some characters including > may need escaping. π
if you want the full lore on this, it's all in the GRUB Manual, in the section about the 'default' command. iykyk π
β οΈ NOTE: in cases where GRUB cannot write to the environment block β like when it's stored on an MDRAID or LVM device β the chosen boot menu entry will remain the default even after reboot. so like... it doesn't un-set itself. it stays. lowkey not what you asked for, but there it is. π
π¦ REPORTING BUGS π¦
found a bug? spill it to <bug-grub@gnu.org> π
π 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, this command:
info grub-reboot
should give you access to the complete manual. slay π§
this has been GRUB 2.12, April 2026 edition β mwah, take care of her, she's doing her best πβ¨
π¦ where this page comes from
- fedora 43: grub2-tools 1:2.12-43.fc43 Β· GPL-3.0-or-later
- fedora 44: grub2-tools 1:2.12-56.fc44 Β· 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