man > GRUB-BIOS-SETUP

⚡ TLDR: GRUB-BIOS-SETUP (tldr-pages)

Set up a device to use GRUB with a BIOS configuration.

  • Set up a device to boot with GRUB
    grub-bios-setup {{/dev/sdX}}
  • Install even if problems are detected
    grub-bios-setup {{-f|--force}} {{/dev/sdX}}
  • Install GRUB in a specific directory
    grub-bios-setup {{-d|--directory}} {{/boot/grub}} {{/dev/sdX}}
GRUB-BIOS-SETUP(8)                 System Administration Utilities                GRUB-BIOS-SETUP(8)

NAME
       grub-bios-setup - set up a device to boot using GRUB

SYNOPSIS
       grub-bios-setup [OPTION...] DEVICE

DESCRIPTION
       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 corre‐
       sponding short options.

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

REPORTING BUGS
       Report bugs to <bug-grub AT gnu.org>.

SEE ALSO
       grub-install(8), grub-mkimage(1), grub-mkrescue(1)

       The  full  documentation  for grub-bios-setup is maintained as a Texinfo manual.  If the info
       and grub-bios-setup programs are properly installed at your site, the command

              info grub-bios-setup

       should give you access to the complete manual.

GRUB 2.12-1ubuntu7.3                         March 2025                           GRUB-BIOS-SETUP(8)

Generated by phpman v4.12.13 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-10-25 15:49 @216.73.217.55
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!