mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 15:49:34 +00:00
Update cheatsheets
This commit is contained in:
17
linux/grub-set-default
Normal file
17
linux/grub-set-default
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user