#iterate over each partition from the image and write it to the boot disk
while read part start size; do
part="$(($part - 2))"
#iterate over each partition from the image and write it to the boot disk
while read part start size; do
part="$(($part - 2))"