man > grub-set-default(8)

GRUB-SET-DEFAULT(8)                System Administration Utilities               GRUB-SET-DEFAULT(8)

NAME
       grub-set-default - set the saved default boot entry for GRUB

SYNOPSIS
       grub-set-default [OPTION] MENU_ENTRY

DESCRIPTION
       Set  the  default  boot  menu  entry  for  GRUB.  This requires setting GRUB_DEFAULT=saved in
       /etc/default/grub.

       -h, --help
              print this message and exit

       -V, --version
              print the version information and exit

       --boot-directory=DIR
              expect GRUB images under the directory DIR/grub instead of the /boot/grub directory

       MENU_ENTRY is a number, a menu item title or a menu item identifier.

REPORTING BUGS
       Report bugs to <bug-grub AT gnu.org>.

SEE ALSO
       grub-reboot(8), grub-editenv(1)

       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, the command

              info grub-set-default

       should give you access to the complete manual.

GRUB 2.12-1ubuntu7.3                         March 2025                          GRUB-SET-DEFAULT(8)

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 18:57 @216.73.216.23
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!