GRUB-SET-DEFAULT(8)
π GRUB-SET-DEFAULT π
ok so this is a page from the System Administration Utilities manual, and it's all about grub-set-default β the little guy that tells GRUB which boot entry to pick. sit down bestie, this is a short one but it's important, no cap. π
β¨ NAME β¨
grub-set-default β set the saved default boot entry for GRUB π
πΈ SYNOPSIS πΈ
grub-set-default [OPTION] MENU_ENTRY
π¦ DESCRIPTION π¦
Okay so literally what this does: it sets the default boot menu entry for GRUB. That's the thing that decides which entry gets booted when you don't touch anything. main character energy for your bootloader, honestly. π
β οΈ but bestie, listen β this requires you to have setGRUB_DEFAULT=savedin/etc/default/grub. if you didn't do that, this whole vibe does not work. it's giving "prerequisites, babe." π
here are the options, and yes we're going through all of them:
-h,--helpβ print this message and exit. the classic "wait what does this do again" button π«Ά-V,--versionβ print the version information and exit. for when you need to know exactly which GRUB you're dealing with β¨--boot-directory=DIRβ expect GRUB images under the directoryDIR/grub2instead of the/boot/grub2directory. so like, if your GRUB lives somewhere else, this is how you tell it π
and then there's MENU_ENTRY, which is not an option, it's the whole point. it can be:
- a number π’
- a menu item title π
- or a menu item identifier π·οΈ
any of those three, your choice, slay.
π REPORTING BUGS π
found a bug? report it to <bug-grub@gnu.org>. be nice, they're doing their best π
π SEE ALSO π
also!! the full documentation for grub-set-default is maintained as a Texinfo manual. if the info and grub-set-default programs are properly installed at your site, this command:
info grub-set-default
should give you access to the complete manual. go read it, it's giving scholarly πβ¨
and that's the whole thing, bestie. this page is from GRUB 2.12, dated April 2026 β so go forth and set your default boot entry, you absolute icon. periodt. πππ
π¦ where this page comes from
- fedora 43: grub2-tools-minimal 1:2.12-43.fc43 Β· GPL-3.0-or-later
- fedora 44: grub2-tools-minimal 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