Benches macOS

4

Removing free space in DMG file

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have a 7GB .dmg file that I'm trying to burn to a DL DVD. When mounted (and in Disk Utility), the file shows as having 1.2GB of free space. If I try to burn it in Toast 10 or Disk Utility, I get an error saying that my blank DL DVD can't fit the 8.2GB file, even though it only contains 7GB of actual files. How can I "delete" the free space in this .dmg file so that it will fit on a dual-layer DVD?

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    baltwo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Create a sparse disk image, copy the stuff from the original into it, and you should regain the free space.

  2. 0

    nerowolfe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Peter Petracca wrote:

    I have a 7GB .dmg file that I'm trying to burn to a DL DVD. When mounted (and in Disk Utility), the file shows as having 1.2GB of free space. If I try to burn it in Toast 10 or Disk Utility, I get an error saying that my blank DL DVD can't fit the 8.2GB file, even though it only contains 7GB of actual files. How can I "delete" the free space in this .dmg file so that it will fit on a dual-layer DVD?

    What's interesting is that a blank DL DVD has a capacity of 8.5 GB.

  3. 0

    Malcolm Rayfield

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    What is the fiormat of the .dmg file? If it is in compressed format, the data will be expanded when burning a DVD. This means a 7 GB ,dmg fil could require more that 7 GB of space on the DVD. Open the .dmg file, select all its contents, and use Command-Option-I to see the total size.

  4. 0

    Király

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If this is a sparse bundle or sparse image DVD, you can reclaim the free space with this Terminal command (be sure to unmount the image first):

    hdiutil compact (hit spacebar, drag .dmg file to Terminal window, press return)