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 directory DIR/grub2 instead of the /boot/grub2 directory. 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