Format device and write image software.