OS Manuals

/usr/bin/grub-bios-setup

the grand unified bootloader

From grub 2.16-r1 (enterprise-packages), captured 2026-11-08 by running grub-bios-setup --help (exit 0). permalink

Usage: grub-bios-setup [OPTION...] DEVICE

Set up images to boot from DEVICE.

You should not normally run this program directly.  Use grub-install instead.

  -a, --allow-floppy         make the drive also bootable as floppy (default
                             for fdX devices). May break on some BIOSes.
  -b, --boot-image=FILE      use FILE as the boot image [default=boot.img]
  -c, --core-image=FILE      use FILE as the core image [default=core.img]
  -d, --directory=DIR        use GRUB files in the directory DIR
                             [default=/boot/grub]
  -f, --force                install even if problems are detected
  -m, --device-map=FILE      use FILE as the device map
                             [default=/boot/grub/device.map]
      --no-rs-codes          Do not apply any reed-solomon codes when
                             embedding core.img. This option is only available
                             on x86 BIOS targets.
  -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  -v, --verbose              print verbose messages.
  -?, --help                 give this help list
      --usage                give a short usage message
  -V, --version              print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

DEVICE must be an OS device (e.g. /dev/sda).

Report bugs to <bug-grub@gnu.org>.
Options (12)
OptionDescriptionSource
-a, --allow-floppymake the drive also bootable as floppy (default for fdX devices).help
-b, --boot-image FILEuse FILE as the boot image [default=boot.img]help
-c, --core-image FILEuse FILE as the core image [default=core.img]help
-d, --directory DIRuse GRUB files in the directory DIR [default=/boot/grub]help
-f, --forceinstall even if problems are detectedhelp
-m, --device-map FILEuse FILE as the device map [default=/boot/grub/device.map]help
--no-rs-codesDo not apply any reed-solomon codes when embedding core.img.help
-s, --skip-fs-probedo not probe for filesystems in DEVICEhelp
-v, --verboseprint verbose messages.help
-?, --helpgive this help listhelp
--usagegive a short usage messagehelp
-V, --versionprint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.