Linux Commands Examples

A great documentation place for Linux commands


set the default boot entry for GRUB, for the next boot only

see also : grub-set-default - grub-editenv


grub-reboot [OPTION] MENU_ENTRY

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


if [[ $current_noaskforpassword == "TRUE" ]]; then
grub-reboot "$(cat /tmp/.rboot)"
pkexec grub-reboot "$(cat /tmp/.rboot)"


Set the default boot menu entry for GRUB, for the next boot only.
, --help

print this message and exit

-v, --version

print the version information and exit


expect GRUB images under the directory DIR/grub instead of the /boot/grub directory

MENU_ENTRY is a number, a menu item title or a menu item identifier.

reporting bugs

Report bugs to <bug-grub[:at:]gnu[:dot:]org>.

see also

grub-set-default , grub-editenv

The full documentation for grub-reboot is maintained as a Texinfo manual. If the info and grub-reboot programs are properly installed at your site, the command

info grub-reboot

should give you access to the complete manual.

How can this site be more helpful to YOU ?

give  feedback