grub-bios-setup

Set up a device to use GRUB with a BIOS configuration. You should use grub-install instead of grub-bios-setup in most cases. More information: <https://manned.org/grub-bios-setup.8>.

Install

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

Set up a device to use GRUB with a BIOS configuration. You should use grub-install instead of grub-bios-setup in most cases. More information: <https://manned.org/grub-bios-setup.8>.

  • Set up a device to boot with GRUB:
    grub-bios-setup /dev/sdX
  • Install even if problems are detected:
    grub-bios-setup --force /dev/sdX
  • Install GRUB in a specific directory:
    grub-bios-setup --directory=/boot/grub /dev/sdX

© tl;dr; authors and contributors