Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

armoguy94

macrumors 6502
Original poster
Nov 9, 2007
388
0
I made an image of a partition on my hard drive. The partition takes up 8gb but the actual content in it is below 4gb, the rest is just empty space. The image, no matter what I do or how I do it, keeps turning out to be 8gb as well, and then when I mount it, it has more than 4gb of empty space. How do I shrink the disc image to remove the empty space?! Nothing seems to be working.

I tried hdiutil resize in an attempt to resize the dmg to 4gb, and it returned an error saying that is below the minimum size...?
I also tried hdiutil compact and it returned an error saying Function not implemented.

Is there anything I can do in order to shrink this dmg to delete all the useless space? It's important, because I need to burn it to a DVD.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.