[installer][target] get size for a partition
[installer][target] fix obvious mistakes *cough*