diff --git a/pages/linux/grub-reboot.md b/pages/linux/grub-reboot.md new file mode 100644 index 000000000..97242b1e3 --- /dev/null +++ b/pages/linux/grub-reboot.md @@ -0,0 +1,12 @@ +# grub-reboot + +> Set the default boot entry for GRUB, for the next boot only. +> More information: . + +- 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}}`