grub-set-default
Set the default boot entry for GRUB. More information: <https://manned.org/grub-set-default>.
Install
- All systems
-
curl cmd.cat/grub-set-default.sh
- Debian
-
apt-get install grub2-common - Ubuntu
-
apt-get install grub2-common -
Alpine
-
apk add grub - Arch Linux
-
pacman -S grub - Kali Linux
-
apt-get install grub2-common - CentOS
-
yum install grub - Fedora
-
dnf install grub2-common - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install grub2-common - Raspbian
-
apt-get install grub2-common - Docker
-
docker run cmd.cat/grub-set-default grub-set-defaultpowered by Commando
Set the default boot entry for GRUB. More information: <https://manned.org/grub-set-default>.
-
Set the default boot entry to an entry number, name or identifier:
sudo grub-set-default entry_number -
Set the default boot entry to an entry number, name or identifier for an alternative boot directory:
sudo grub-set-default --boot-directory /path/to/boot_directory entry_number
© tl;dr; authors and contributors