mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 19:42:07 +00:00
18 lines
553 B
Plaintext
18 lines
553 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# grub-reboot
|
|
|
|
> Set the default boot entry for GRUB, for the next boot only.
|
|
> More information: <https://manned.org/grub-reboot>.
|
|
|
|
- Set the default boot entry to an entry number, name or identifier for the next boot:
|
|
|
|
`sudo grub-reboot {{entry_number}}`
|
|
|
|
- Set the default boot entry to an entry number, name or identifier for an alternative boot directory for the next boot:
|
|
|
|
`sudo grub-reboot --boot-directory {{/path/to/boot_directory}} {{entry_number}}`
|