eprigorodov / mkosxinstallusb

Linux shell script that creates USB flash drive booting OS X installer
Apache License 2.0
45 stars 10 forks source link

Set HFS+ partition size to be a multiple of 4K #7

Open ilian opened 4 years ago

ilian commented 4 years ago

If the created partition size is not a multiple of 4K, the following error is returned:

mkfs.hfsplus: /dev/sdb1: partition size not a multiple of 4K.

This PR makes sure that the created HFS+ partition adheres to this size constraint.