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>
pull/13/head
Johan Degn 2023-03-07 05:51:38 +01:00 committed by GitHub
parent 1201ad51bc
commit ed4603c7fe
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-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}}`