diff --git a/scripts/create-disk.sh b/scripts/create-disk.sh index eb56221..cbd96f6 100755 --- a/scripts/create-disk.sh +++ b/scripts/create-disk.sh @@ -57,7 +57,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then # get first partition firstpart=$(lsblk -ilp -o NAME $ld | tr '\n' ' ' | awk '{print $3}') - mkfs.vfat -v -F32 $firstpart + mkfs.vfat -v -F32 -S 512 $firstpart # copy MBR while preserving partition table dd if=$mbr_file of=$ld bs=1 count=440 diff --git a/scripts/loop_setup.sfdisk b/scripts/loop_setup.sfdisk index d18859f..286180d 100755 --- a/scripts/loop_setup.sfdisk +++ b/scripts/loop_setup.sfdisk @@ -1,4 +1,5 @@ label: dos unit: sectors +sector-size: 512 -start= 2048, type=b, bootable +start= 2048, type=c, bootable