diff --git a/mk_mmc.sh b/mk_mmc.sh index 109ac1a..0c4d9dd 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -372,7 +372,7 @@ NUM_MOUNTS=$(mount | grep -v none | grep "$MMC" | wc -l) sudo umount ${DRIVE} &> /dev/null || true done - sudo parted -s ${MMC} mklabel msdos + sudo parted --script ${MMC} mklabel msdos } function create_partitions { @@ -383,8 +383,6 @@ p 1 1 +64M -a -1 t e p @@ -393,6 +391,8 @@ END sync +sudo parted --script ${MMC} set 1 boot on + echo "" echo "Formating Boot Partition" echo ""