{
    "mode": "man",
    "parameter": "grub-syslinux2cfg",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/grub-syslinux2cfg/1/json",
    "generated": "2026-06-03T01:31:41Z",
    "synopsis": "grub-syslinux2cfg [OPTION...] FILE",
    "sections": {
        "NAME": {
            "content": "grub-syslinux2cfg - transform syslinux config into grub.cfg\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grub-syslinux2cfg [OPTION...] FILE\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Transform syslinux config into GRUB one.\n",
            "subsections": [
                {
                    "name": "-c --cwd",
                    "content": "current directory of syslinux [default is parent directory of input file].\n",
                    "flag": "-c",
                    "long": "--cwd"
                },
                {
                    "name": "-i --isolinux",
                    "content": "assume input is an isolinux configuration file.\n",
                    "flag": "-i",
                    "long": "--isolinux"
                },
                {
                    "name": "-o --output",
                    "content": "write output to FILE [default=stdout].\n",
                    "flag": "-o",
                    "long": "--output"
                },
                {
                    "name": "-p --pxelinux",
                    "content": "assume input is a pxelinux configuration file.\n",
                    "flag": "-p",
                    "long": "--pxelinux"
                },
                {
                    "name": "-r --root",
                    "content": "root directory of the syslinux disk [default=/].\n",
                    "flag": "-r",
                    "long": "--root"
                },
                {
                    "name": "-s --syslinux",
                    "content": "assume input is a syslinux configuration file.\n",
                    "flag": "-s",
                    "long": "--syslinux"
                },
                {
                    "name": "-t --target-root",
                    "content": "root directory as it will be seen on runtime [default=/].\n",
                    "flag": "-t",
                    "long": "--target-root"
                },
                {
                    "name": "-T --target-cwd",
                    "content": "current directory of syslinux as it will be seen on runtime  [default is parent direc‐\ntory of input file].\n",
                    "flag": "-T",
                    "long": "--target-cwd"
                },
                {
                    "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",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <bug-grub@gnu.org>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "grub-menulst2cfg(8)\n\nThe  full documentation for grub-syslinux2cfg is maintained as a Texinfo manual.  If the info\nand grub-syslinux2cfg programs are properly installed at your site, the command\n\ninfo grub-syslinux2cfg\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                       GRUB-SYSLINUX2CFG(1)",
            "subsections": []
        }
    },
    "summary": "grub-syslinux2cfg - transform syslinux config into grub.cfg",
    "flags": [
        {
            "flag": "-c",
            "long": "--cwd",
            "arg": null,
            "description": "current directory of syslinux [default is parent directory of input file]."
        },
        {
            "flag": "-i",
            "long": "--isolinux",
            "arg": null,
            "description": "assume input is an isolinux configuration file."
        },
        {
            "flag": "-o",
            "long": "--output",
            "arg": null,
            "description": "write output to FILE [default=stdout]."
        },
        {
            "flag": "-p",
            "long": "--pxelinux",
            "arg": null,
            "description": "assume input is a pxelinux configuration file."
        },
        {
            "flag": "-r",
            "long": "--root",
            "arg": null,
            "description": "root directory of the syslinux disk [default=/]."
        },
        {
            "flag": "-s",
            "long": "--syslinux",
            "arg": null,
            "description": "assume input is a syslinux configuration file."
        },
        {
            "flag": "-t",
            "long": "--target-root",
            "arg": null,
            "description": "root directory as it will be seen on runtime [default=/]."
        },
        {
            "flag": "-T",
            "long": "--target-cwd",
            "arg": null,
            "description": "current directory of syslinux as it will be seen on runtime [default is parent direc‐ tory of input file]."
        },
        {
            "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."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "grub-menulst2cfg",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/grub-menulst2cfg/8/json"
        },
        {
            "name": "GRUB-SYSLINUX2CFG",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/GRUB-SYSLINUX2CFG/1/json"
        }
    ]
}