grub-reboot

Set the default boot entry for GRUB, for the next boot only. More information: <https://manned.org/grub-reboot>.

Install

All systems
curl cmd.cat/grub-reboot.sh
Debian Debian
apt-get install grub2-common
Ubuntu
apt-get install grub2-common
Alpine
apk add grub
Arch Arch Linux
pacman -S grub
image/svg+xml Kali Linux
apt-get install grub2-common
CentOS
yum install grub
Fedora
dnf install grub2-common
Windows (WSL2)
sudo apt-get update sudo apt-get install grub2-common
Raspbian
apt-get install grub2-common
Docker
docker run cmd.cat/grub-reboot grub-reboot powered by Commando

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

© tl;dr; authors and contributors