Lines Matching refs:image
68 echo "Invalid image type"
129 #extract the boot sector from the image
130 get_image "$@" | dd of=/tmp/image.bs count=1 bs=512b
132 get_partitions /tmp/image.bs image
135 diff="$(grep -F -x -v -f /tmp/partmap.bootdisk /tmp/partmap.image)"
137 echo "Partition layout is changed. Full image will be written."
144 #iterate over each partition from the image and write it to the boot disk
147 echo "Writing image to /dev/$partdev..."
152 done < /tmp/partmap.image