Fix error when only grow option was given to partition()
Fix typos
Fix regex to find end of partition instead of size
Use kB as unit when determining partition boundaries

This is more of a workaround to help in cases with bigger partitions.
Using sectors would probably be a more appropriate fix.