{
    "content": [
        {
            "type": "text",
            "text": "# grub-bios-setup (man)\n\n## NAME\n\ngrub-bios-setup - set up a device to boot using GRUB\n\n## SYNOPSIS\n\ngrub-bios-setup [OPTION...] DEVICE\n\n## DESCRIPTION\n\nSet up images to boot from DEVICE.\n\n## TLDR\n\n> Set up a device to use GRUB with a BIOS configuration.\n\n- Set up a device to boot with GRUB:\n  `grub-bios-setup {{/dev/sdX}}`\n- Install even if problems are detected:\n  `grub-bios-setup {{-f|--force}} {{/dev/sdX}}`\n- Install GRUB in a specific directory:\n  `grub-bios-setup {{-d|--directory}} {{/boot/grub}} {{/dev/sdX}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (11 subsections)\n- **REPORTING BUGS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "grub-bios-setup",
        "section": "",
        "mode": "man",
        "summary": "grub-bios-setup - set up a device to boot using GRUB",
        "synopsis": "grub-bios-setup [OPTION...] DEVICE",
        "tldr_summary": "Set up a device to use GRUB with a BIOS configuration.",
        "tldr_examples": [
            {
                "description": "Set up a device to boot with GRUB",
                "command": "grub-bios-setup {{/dev/sdX}}"
            },
            {
                "description": "Install even if problems are detected",
                "command": "grub-bios-setup {{-f|--force}} {{/dev/sdX}}"
            },
            {
                "description": "Install GRUB in a specific directory",
                "command": "grub-bios-setup {{-d|--directory}} {{/boot/grub}} {{/dev/sdX}}"
            }
        ],
        "tldr_source": "official",
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-a --allow-floppy",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--allow-floppy"
                    },
                    {
                        "name": "-b --boot-image",
                        "lines": 2,
                        "flag": "-b",
                        "long": "--boot-image"
                    },
                    {
                        "name": "-c --core-image",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--core-image"
                    },
                    {
                        "name": "-d --directory",
                        "lines": 2,
                        "flag": "-d",
                        "long": "--directory"
                    },
                    {
                        "name": "-f --force",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-m --device-map",
                        "lines": 2,
                        "flag": "-m",
                        "long": "--device-map"
                    },
                    {
                        "name": "--no-rs-codes",
                        "lines": 3,
                        "long": "--no-rs-codes"
                    },
                    {
                        "name": "-s --skip-fs-probe",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--skip-fs-probe"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 5,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 7,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 12,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}