> > 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.
On 11/07/16 14:27, Phil Pokorny via Syslinux wrote:> > 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. >I'm not a lawyer, and this is NOT legal advice, but: 1. The patents applied to long filenames in FAT, not FAT32. 2. I believe the patents expired last year. -hpa
On Fri, Nov 18, 2016 at 12:24 PM, H. Peter Anvin <hpa at zytor.com> wrote:> > On 11/07/16 14:27, Phil Pokorny via Syslinux wrote: > > > > 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. > > > > I'm not a lawyer, and this is NOT legal advice, but:Neither am I.... Same caveat> 1. The patents applied to long filenames in FAT, not FAT32. > 2. I believe the patents expired last year.Thank you for the correction. Good to know. I believe I was confusing FAT32 with ExFAT. Phil P. -- Philip Pokorny, RHCE Chief Technology Officer PENGUIN COMPUTING, Inc www.penguincomputing.com Changing the world through technical innovation