1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 18:42:07 +02:00
tldr/pages/linux/grub-reboot.md
Johan Degn ed4603c7fe
grub-reboot: add page (#9914)
* grub-reboot: add page

* Apply suggestions from code review

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-03-07 12:51:38 +08:00

12 lines
461 B
Markdown

# 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}}`