How to resize a DMG with hdiutil?
hi, I've been trying to resize a DVD image with hdiutil. It showld work but it doesnt.
I do:
hdiutil resize -size 1g disk1.dmg
hdiutil resize -size 1g -partitionOnly disk1.dmg
hdiutil resize -size 1g -imageOnly disk1.dmg
and I get this error every time,
hdiutil: resize request is below minimum size allowed.
hdiutil: resize: failed. Invalid argument (22)
the image has read/write privileges, and is not mounted. Its also empty (I deleted all the contents, I just need the bootsector).
Im missing something.....