GRUB-SET-DEFAULT(8)
๐ GRUB-SET-DEFAULT ๐
okay bestie, welcome to the GRUB-SET-DEFAULT(8) page from the System Administration Utilities collection, and lemme tell you, this one is short, sweet, and extremely powerful. it's the little tool that decides which boot entry your computer picks by default. that's main character energy for real. ๐
โจ NAME โจ
grub-set-default โ set the saved default boot entry for GRUB ๐
๐ธ SYNOPSIS ๐ธ
grub-set-default [OPTION] MENU_ENTRY
๐ DESCRIPTION ๐
so basically, this sets the default boot menu entry for GRUB. that's the one it'll auto-pick when the menu times out. it's giving "choose your own adventure" but the choice is permanent-ish. โจ
โ ๏ธ HEADS UP BESTIE: this only works if you've setGRUB_DEFAULT=savedin/etc/default/grub. no that line, no vibes. this command literally requires it. don't skip it fr fr. ๐ญ
-h,--helpโ prints this message and bails out. the classic "wait what does this do again" button ๐ซถ-V,--versionโ prints the version info and exits. flex the version, then leave ๐--boot-directory=DIRโ tells it to look for the GRUB images underDIR/grubinstead of the usual/boot/grubdirectory. iykyk for when your boot stuff lives somewhere custom ๐
and about that MENU_ENTRY argument โ it's not just a number, bestie. it can be:
- a number ๐ข
- a menu item title ๐
- or a menu item identifier ๐ท๏ธ
so you've got options, literally. slay. ๐
๐ฆ REPORTING BUGS ๐ฆ
found a bug? not the vibe, but okay, tell the devs: bug-grub@gnu.org. they'll handle it. ๐
๐ซ SEE ALSO ๐ซ
also!! the full documentation for grub-set-default lives in a Texinfo manual. if the info and grub-set-default programs are properly installed on your system, then this command:
info grub-set-default
should give you access to the complete manual. go get that lore ๐โจ
and that's the whole page, babe. no cap, that was it. ๐
this icon of a manpage is from GRUB 2.14-2ubuntu3 and it was dated July 2026 โ big legacy, big slay, periodt. ๐๐งโโ๏ธ
๐ฆ 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