let parted set boot flag over fdisk

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent 3a25c2c530
commit 2a284a711f

@ -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 ""

Loading…
Cancel
Save