Browse Source

Enforce 2048 byte clusters and alignment in FAT to ensure mappability to ISO

K. Lange 2 years ago
parent
commit
d0023c387a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util/mkdisk.sh

+ 1 - 1
util/mkdisk.sh

@@ -8,7 +8,7 @@ OUTDIR=`dirname $1`
 rm -f $OUT
 mkdir -p cdrom
 fallocate -l 64M $OUT || dd if=/dev/zero bs=1M count=64 of=$OUT
-mkfs.fat $OUT
+mkfs.fat -s 1 -S 2048 $OUT
 
 #echo "Turning $IN into $OUT"