{
    "content": [
        {
            "type": "text",
            "text": "# grub-syslinux2cfg(1) (man)\n\n**Summary:** grub-syslinux2cfg - transform syslinux config into grub.cfg\n\n**Synopsis:** grub-syslinux2cfg [OPTION...] FILE\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -c | --cwd | — | current directory of syslinux [default is parent directory of input file]. |\n| -i | --isolinux | — | assume input is an isolinux configuration file. |\n| -o | --output | — | write output to FILE [default=stdout]. |\n| -p | --pxelinux | — | assume input is a pxelinux configuration file. |\n| -r | --root | — | root directory of the syslinux disk [default=/]. |\n| -s | --syslinux | — | assume input is a syslinux configuration file. |\n| -t | --target-root | — | root directory as it will be seen on runtime [default=/]. |\n| -T | --target-cwd | — | current directory of syslinux as it will be seen on runtime [default is parent direc‐ tory of input file]. |\n| -v | --verbose | — | print verbose messages. -?, --help give this help list |\n| — | --usage | — | give a short usage message |\n| -V | --version | — | print program version Mandatory or optional arguments to long options are also mandatory or optional for any corre‐ spon |\n\n## See Also\n\n- grub-menulst2cfg(8)\n- GRUB-SYSLINUX2CFG(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (2 lines) — 11 subsections\n  - -c --cwd (2 lines)\n  - -i --isolinux (2 lines)\n  - -o --output (2 lines)\n  - -p --pxelinux (2 lines)\n  - -r --root (2 lines)\n  - -s --syslinux (2 lines)\n  - -t --target-root (2 lines)\n  - -T --target-cwd (3 lines)\n  - -v --verbose (5 lines)\n  - --usage (2 lines)\n  - -V --version (5 lines)\n- **REPORTING BUGS** (2 lines)\n- **SEE ALSO** (12 lines)\n\n## Full Content\n\n### NAME\n\ngrub-syslinux2cfg - transform syslinux config into grub.cfg\n\n### SYNOPSIS\n\ngrub-syslinux2cfg [OPTION...] FILE\n\n### DESCRIPTION\n\nTransform syslinux config into GRUB one.\n\n#### -c --cwd\n\ncurrent directory of syslinux [default is parent directory of input file].\n\n#### -i --isolinux\n\nassume input is an isolinux configuration file.\n\n#### -o --output\n\nwrite output to FILE [default=stdout].\n\n#### -p --pxelinux\n\nassume input is a pxelinux configuration file.\n\n#### -r --root\n\nroot directory of the syslinux disk [default=/].\n\n#### -s --syslinux\n\nassume input is a syslinux configuration file.\n\n#### -t --target-root\n\nroot directory as it will be seen on runtime [default=/].\n\n#### -T --target-cwd\n\ncurrent directory of syslinux as it will be seen on runtime  [default is parent direc‐\ntory of input file].\n\n#### -v --verbose\n\nprint verbose messages.\n\n-?, --help\ngive this help list\n\n#### --usage\n\ngive a short usage message\n\n#### -V --version\n\nprint program version\n\nMandatory or optional arguments to long options are also mandatory or optional for any corre‐\nsponding short options.\n\n### REPORTING BUGS\n\nReport bugs to <bug-grub@gnu.org>.\n\n### SEE ALSO\n\ngrub-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)\n\n"
        }
    ],
    "structuredContent": {
        "command": "grub-syslinux2cfg",
        "section": "1",
        "mode": "man",
        "summary": "grub-syslinux2cfg - transform syslinux config into grub.cfg",
        "synopsis": "grub-syslinux2cfg [OPTION...] FILE",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-c --cwd",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--cwd"
                    },
                    {
                        "name": "-i --isolinux",
                        "lines": 2,
                        "flag": "-i",
                        "long": "--isolinux"
                    },
                    {
                        "name": "-o --output",
                        "lines": 2,
                        "flag": "-o",
                        "long": "--output"
                    },
                    {
                        "name": "-p --pxelinux",
                        "lines": 2,
                        "flag": "-p",
                        "long": "--pxelinux"
                    },
                    {
                        "name": "-r --root",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--root"
                    },
                    {
                        "name": "-s --syslinux",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--syslinux"
                    },
                    {
                        "name": "-t --target-root",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--target-root"
                    },
                    {
                        "name": "-T --target-cwd",
                        "lines": 3,
                        "flag": "-T",
                        "long": "--target-cwd"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 5,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 5,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 12,
                "subsections": []
            }
        ]
    }
}