OS Manuals

/usr/bin/grub-syslinux2cfg

the grand unified bootloader

From grub 2.16-r1 (enterprise-packages), captured 2026-11-08 by running grub-syslinux2cfg --help (exit 0). permalink

Usage: grub-syslinux2cfg [OPTION...] FILE
Transform syslinux config into GRUB one.

  -c, --cwd=DIR              current directory of syslinux [default is parent
                             directory of input file].
  -i, --isolinux             assume input is an isolinux configuration file.
  -o, --output=FILE          write output to FILE [default=stdout].
  -p, --pxelinux             assume input is a pxelinux configuration file.
  -r, --root=DIR             root directory of the syslinux disk [default=/].
  -s, --syslinux             assume input is a syslinux configuration file.
  -t, --target-root=DIR      root directory as it will be seen on runtime
                             [default=/].
  -T, --target-cwd=DIR       current directory of syslinux as it will be seen
                             on runtime  [default is parent directory of input
                             file].
  -v, --verbose              print verbose messages.
  -?, --help                 give this help list
      --usage                give a short usage message
  -V, --version              print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to <bug-grub@gnu.org>.
Options (12)
OptionDescriptionSource
-c, --cwd DIRcurrent directory of syslinux [default is parent directory of input file].help
-i, --isolinuxassume input is an isolinux configuration file.help
-o, --output FILEwrite output to FILE [default=stdout].help
-p, --pxelinuxassume input is a pxelinux configuration file.help
-r, --root DIRroot directory of the syslinux disk [default=/].help
-s, --syslinuxassume input is a syslinux configuration file.help
-t, --target-root DIRroot directory as it will be seen on runtime [default=/].help
-T, --target-cwd DIRcurrent directory of syslinux as it will be seen on runtime [default is parent directory of input file].help
-v, --verboseprint verbose messages.help
-?, --helpgive this help listhelp
--usagegive a short usage messagehelp
-V, --versionprint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.