1GRUB-REBOOT(3) Library Functions Manual GRUB-REBOOT(3)
2
3
4
6 grub-reboot — Set the default boot menu entry for the next boot only.
7
8
10 grub-reboot [--boot-directory=DIR] MENU_ENTRY
11
12
14 grub-reboot sets the default boot menu entry for the next boot, but not
15 further boots after that. This command only works for GRUB configura‐
16 tion files created with GRUB_DEFAULT=saved in /etc/default/grub.
17
18
20 --boot-directory=DIR
21 Find GRUB images under DIR/grub. The default value is /boot,
22 resulting in grub images being search for at /boot/grub.
23
24
25 MENU_ENTRY
26 A number, a menu item title or a menu item identifier.
27
28
30 info grub
31
32
33
34 Wed Feb 26 2014 GRUB-REBOOT(3)