problems hfs formatting a large 1tb+ drive


I recently was lucky enough to receive a nice new 1tb external drive. I like to format my drives hfs plus when I know only macs will be using them. Unfortunately when using DiskUtility to format the drive I ran into an unspecified error. When I tried to format it using the command line tools I got the following:

newfs_hfs: /dev/rdisk1s1: partition size not a multiple of 4K.

Apparently you need to make sure that the partition map uses the newer guid formatting (it’s available as an option in DiskUtility). Once I re-partitioned the drive (I had to switch partition types 1 -> 2 -> 1) everything worked fine.