Add capability to map the partitions in the image file and create filesystems in the partition.