grub-reboot
set the default boot entry for GRUB, for the next boot only
see also :
grub-set-default - grub-editenv
Synopsis
grub-reboot
[OPTION] MENU_ENTRY
add an example, a script, a trick and tips
examples
source
if [[ $current_noaskforpassword ==
"TRUE" ]]; then
grub-reboot "$(cat /tmp/.rboot)"
else
pkexec grub-reboot "$(cat
/tmp/.rboot)"
fi
description
Set the default
boot menu entry for GRUB, for the next boot only.
-h, --help
print this message and exit
-v,
--version
print the version information
and exit
--boot-directory=DIR
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.