[syslinux] Windows vs. Linux commands

Atle Holm atle at team-holm.net
Mon Nov 16 23:35:19 PST 2015

I have had some difficulty creating a bootable ESXi installation media on a USB disk in Windows(Kickstart scripts read by VMwares Weasel are not running properly), it works in Linux. The problem might have nothing to do with Syslinux, but I still want to ask a question regarding Syslinux to be sure there are variations as result of installing Syslinux to a USB drive in Windows vs Linux.

In Linux I do it this way(using version 4.03):
sgdisk –zap /dev/$DISKPARTITION
syslinux -i /dev/${DISKPARTITION}1
dd conv=notrunc bs=440 if=/usr/lib/syslinux/mbr.bin of=/dev/$DISKPARTITION
parted /dev/$DISKPARTITION set 1 boot on

In Windows I do it this way(having only the exe file at the executing location, same version):
syslinux.exe -f -m -a X:

Are these two ways exactly equivalent, or are there any differences in the result?

I realize the command in Windows does not perform sgdisk –zap.
Atle Holm

More information about the Syslinux mailing list