grub-set-default: add page (#9915)

pull/13/head
Johan Degn 2023-03-07 12:08:28 +01:00 committed by GitHub
parent ed4603c7fe
commit 5ed728757f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# 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}}`