Create check_partition.sh