{
    "mode": "man",
    "parameter": "GRUB-MKDEVICEMAP",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/GRUB-MKDEVICEMAP/8/json",
    "generated": "2026-07-05T13:15:26Z",
    "synopsis": "grub-mkdevicemap [OPTION]...",
    "sections": {
        "NAME": {
            "content": "grub-mkdevicemap - make a device map file automatically\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grub-mkdevicemap [OPTION]...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Generate a device map file automatically.\n",
            "subsections": [
                {
                    "name": "-n --no-floppy",
                    "content": "do not probe any floppy drive\n",
                    "flag": "-n",
                    "long": "--no-floppy"
                },
                {
                    "name": "-s --probe-second-floppy",
                    "content": "",
                    "flag": "-s",
                    "long": "--probe-second-floppy"
                },
                {
                    "name": "-m --device-map",
                    "content": "use FILE as the device map [default=/boot/grub/device.map]\n",
                    "flag": "-m",
                    "long": "--device-map"
                },
                {
                    "name": "-h --help",
                    "content": "display this message and exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "print version information and exit\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-v --verbose",
                    "content": "print verbose messages\n",
                    "flag": "-v",
                    "long": "--verbose"
                }
            ]
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <bug-grub@gnu.org>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "grub-probe(8)\n\nThe  full  documentation for grub-mkdevicemap is maintained as a Texinfo manual.  If the info\nand grub-mkdevicemap programs are properly installed at your site, the command\n\ninfo grub-mkdevicemap\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                        GRUB-MKDEVICEMAP(8)",
            "subsections": []
        }
    },
    "summary": "grub-mkdevicemap - make a device map file automatically",
    "flags": [
        {
            "flag": "-n",
            "long": "--no-floppy",
            "arg": null,
            "description": "do not probe any floppy drive"
        },
        {
            "flag": "-s",
            "long": "--probe-second-floppy",
            "arg": null,
            "description": ""
        },
        {
            "flag": "-m",
            "long": "--device-map",
            "arg": null,
            "description": "use FILE as the device map [default=/boot/grub/device.map]"
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "display this message and exit"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print version information and exit"
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "print verbose messages"
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "grub-probe",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/grub-probe/8/json"
        }
    ]
}