5

I've found that OS X supports .img files which might be resized after it was created. Interesting thing is I can not resize more than 1 time :) is it real limitation or I'm doing something wrong ?

I've made an image file via Disk Utility, selected image format: sparse. And was able write on it up to the selected size, then I was able to increase it's size once (with Disk Utility), put files up to capacity and THEN I can't resize it anymore enter image description here

  • This is not a limitation and I've resized an image many times. What does Console (/Applications/Utilities/Console.app) say when trying to resize an image? – grg Jan 31 '16 at 13:09
  • @grgarsiden I checked it, but Console.app keeps silent :( – user1016265 Jan 31 '16 at 20:46
  • Same problem. Tried to use hdiutil resize also give silent result. – texasbruce Nov 23 '17 at 4:23
  • I also get this. It is not a very informative error dialog. – Bill Apr 17 '18 at 1:04
  • If it's a spareseimage, it's not using up the space that makes up it's capacity, until you actually copy files to it. This when you make a sparseimage, you really can make it gigantic. Make it 100GB or 1000GB. It will still take up no space until you load it up. – l008com Apr 17 '18 at 1:24
3

I have the same error message.

This worked for me in Terminal (thanks to Ray's Weblog):

hdiutil resize -size 1g ~/Documents/MyDiskImage.dmg

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .