mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
1bd361d884
Co-authored-by: Lena Pastwa <lena@lnps.me>
13 lines
423 B
Markdown
13 lines
423 B
Markdown
# grub-set-default
|
|
|
|
> Set the default boot entry for GRUB.
|
|
> More information: <https://manned.org/grub-set-default>.
|
|
|
|
- Set the default boot entry to an entry number, name, or identifier:
|
|
|
|
`sudo grub-set-default {{entry_number}}`
|
|
|
|
- Set the default boot entry to an entry number, name, or identifier for an alternative boot directory:
|
|
|
|
`sudo grub-set-default --boot-directory /{{path/to/boot_directory}} {{entry_number}}`
|