[syslinux] Syslinux Digest, Vol 164, Issue 2

Phil Pokorny ppokorny at penguincomputing.com
Mon Nov 7 14:27:28 PST 2016

> I need to create one bootable UEFI disk partition that contains all the
> space on the disk. The steps must work in a shell script. Ideally with
> syslinux/extlinux but if not possible then grub.

> echo format file system
> sudo mkfs.ext4 -F /dev/${DISK_DEVICE_NAME_CURRENT_OS}1

EFI requires a FAT filesystem.  Ideally FAT32 but that might be encumbered
by Microsoft patents?  Maximum size of a FAT16 partition is 2GB.

Use mkfs.vfat  You can try the "-F 32" if you're not worried about  being
sued by Microsoft.

More information about the Syslinux mailing list