{
    "mode": "man",
    "parameter": "grub-bios-setup",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/grub-bios-setup/8/json",
    "generated": "2026-06-14T07:35:56Z",
    "synopsis": "grub-bios-setup [OPTION...] DEVICE",
    "sections": {
        "NAME": {
            "content": "grub-bios-setup - set up a device to boot using GRUB\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grub-bios-setup [OPTION...] DEVICE\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Set up images to boot from DEVICE.\n\nYou should not normally run this program directly.  Use grub-install instead.\n",
            "subsections": [
                {
                    "name": "-a --allow-floppy",
                    "content": "make  the  drive  also bootable as floppy (default for fdX devices). May break on some\nBIOSes.\n",
                    "flag": "-a",
                    "long": "--allow-floppy"
                },
                {
                    "name": "-b --boot-image",
                    "content": "use FILE as the boot image [default=boot.img]\n",
                    "flag": "-b",
                    "long": "--boot-image"
                },
                {
                    "name": "-c --core-image",
                    "content": "use FILE as the core image [default=core.img]\n",
                    "flag": "-c",
                    "long": "--core-image"
                },
                {
                    "name": "-d --directory",
                    "content": "use GRUB files in the directory DIR [default=/boot/grub]\n",
                    "flag": "-d",
                    "long": "--directory"
                },
                {
                    "name": "-f --force",
                    "content": "install even if problems are detected\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-m --device-map",
                    "content": "use FILE as the device map [default=/boot/grub/device.map]\n",
                    "flag": "-m",
                    "long": "--device-map"
                },
                {
                    "name": "--no-rs-codes",
                    "content": "Do not apply any reed-solomon codes when  embedding  core.img.  This  option  is  only\navailable on x86 BIOS targets.\n",
                    "long": "--no-rs-codes"
                },
                {
                    "name": "-s --skip-fs-probe",
                    "content": "do not probe for filesystems in DEVICE\n",
                    "flag": "-s",
                    "long": "--skip-fs-probe"
                },
                {
                    "name": "-v --verbose",
                    "content": "print verbose messages.\n\n-?, --help\ngive this help list\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "--usage",
                    "content": "give a short usage message\n",
                    "long": "--usage"
                },
                {
                    "name": "-V --version",
                    "content": "print program version\n\nMandatory or optional arguments to long options are also mandatory or optional for any corre‐\nsponding short options.\n\nDEVICE must be an OS device (e.g. /dev/sda).\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <bug-grub@gnu.org>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "grub-install(8), grub-mkimage(1), grub-mkrescue(1)\n\nThe full documentation for grub-bios-setup is maintained as a Texinfo manual.   If  the  info\nand grub-bios-setup programs are properly installed at your site, the command\n\ninfo grub-bios-setup\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                         GRUB-BIOS-SETUP(8)",
            "subsections": []
        }
    },
    "summary": "grub-bios-setup - set up a device to boot using GRUB",
    "flags": [
        {
            "flag": "-a",
            "long": "--allow-floppy",
            "arg": null,
            "description": "make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes."
        },
        {
            "flag": "-b",
            "long": "--boot-image",
            "arg": null,
            "description": "use FILE as the boot image [default=boot.img]"
        },
        {
            "flag": "-c",
            "long": "--core-image",
            "arg": null,
            "description": "use FILE as the core image [default=core.img]"
        },
        {
            "flag": "-d",
            "long": "--directory",
            "arg": null,
            "description": "use GRUB files in the directory DIR [default=/boot/grub]"
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "install even if problems are detected"
        },
        {
            "flag": "-m",
            "long": "--device-map",
            "arg": null,
            "description": "use FILE as the device map [default=/boot/grub/device.map]"
        },
        {
            "flag": "",
            "long": "--no-rs-codes",
            "arg": null,
            "description": "Do not apply any reed-solomon codes when embedding core.img. This option is only available on x86 BIOS targets."
        },
        {
            "flag": "-s",
            "long": "--skip-fs-probe",
            "arg": null,
            "description": "do not probe for filesystems in DEVICE"
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "print verbose messages. -?, --help give this help list"
        },
        {
            "flag": "",
            "long": "--usage",
            "arg": null,
            "description": "give a short usage message"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "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)."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "grub-install",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/grub-install/8/json"
        },
        {
            "name": "grub-mkimage",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/grub-mkimage/1/json"
        },
        {
            "name": "grub-mkrescue",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/grub-mkrescue/1/json"
        },
        {
            "name": "GRUB-BIOS-SETUP",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/GRUB-BIOS-SETUP/8/json"
        }
    ]
}