| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH GRUB-SET-DEFAULT "8" "February 2026" "GRUB 2.14-2" "System Administration Utilities" |
| 3 |
.SH NAME |
| 4 |
grub-set-default \- set the saved default boot entry for GRUB |
| 5 |
.SH SYNOPSIS |
| 6 |
.B grub-set-default |
| 7 |
[\fI\,OPTION\/\fR] \fI\,MENU_ENTRY\/\fR |
| 8 |
.SH DESCRIPTION |
| 9 |
Set the default boot menu entry for GRUB. |
| 10 |
This requires setting GRUB_DEFAULT=saved in \fI\,/etc/default/grub\/\fP. |
| 11 |
.TP |
| 12 |
\fB\-h\fR, \fB\-\-help\fR |
| 13 |
print this message and exit |
| 14 |
.TP |
| 15 |
\fB\-V\fR, \fB\-\-version\fR |
| 16 |
print the version information and exit |
| 17 |
.TP |
| 18 |
\fB\-\-boot\-directory\fR=\fI\,DIR\/\fR |
| 19 |
expect GRUB images under the directory DIR/grub |
| 20 |
instead of the \fI\,/boot/grub\/\fP directory |
| 21 |
.PP |
| 22 |
MENU_ENTRY is a number, a menu item title or a menu item identifier. |
| 23 |
.SH "REPORTING BUGS" |
| 24 |
Report bugs to <bug\[email protected]>. |
| 25 |
.SH "SEE ALSO" |
| 26 |
.BR grub-reboot (8), |
| 27 |
.BR grub-editenv (1) |
| 28 |
.PP |
| 29 |
The full documentation for |
| 30 |
.B grub-set-default |
| 31 |
is maintained as a Texinfo manual. If the |
| 32 |
.B info |
| 33 |
and |
| 34 |
.B grub-set-default |
| 35 |
programs are properly installed at your site, the command |
| 36 |
.IP |
| 37 |
.B info grub-set-default |
| 38 |
.PP |
| 39 |
should give you access to the complete manual. |