I cloned a disk containing an HFS+ volume to a larger disk using the command line
dd utility. Now I want to grow the HFS+ volume to fill the new disk. There's an EFI partition before the HFS+ volume in the partition table but nothing after it.
When I attempt to resize the HFS+ volume in Disk Utility, it acts like everything works, but completes in about 4 seconds without making any changes to the partition table. Trying from the command line using
sudo diskutil resizeVolume /dev/disk3s2 0 gives
0 does not appear to be a valid disk size. If I use a size of
2T instead, I get the error
Error: -5341: MediaKit reports partition (map) too small.
How can I resize this partition? I'd prefer not to have to copy the data to the new drive all over again.