mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 11:19:46 +01:00
grub-set-default: add page (#9915)
This commit is contained in:
parent
ed4603c7fe
commit
5ed728757f
1 changed files with 12 additions and 0 deletions
12
pages/linux/grub-set-default.md
Normal file
12
pages/linux/grub-set-default.md
Normal 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}}`
|
Loading…
Reference in a new issue