Questions tagged [dmg]

Apple Disk iMaGe file format

Filter by
Sorted by
Tagged with
51
votes
5answers
81k views

Is there a command to install a dmg

I want to install a dmg file on a remote server. All I have is an ssh access. Since a DMG is a disk image, I tried to mount it, but mount does not seem to recognize its format. file says my dmg file ...
39
votes
2answers
24k views

What is the difference between a “sparse disk image” and a “sparse bundle disk image”?

What are the differences between sparse and sparse bundle disk images?
33
votes
4answers
105k views

How can I convert a DMG to ISO on Mac OS X (preferably for free)?

I have medical records within Windows software within a DMG disk image. How can I convert the DMG to an ISO format on Mac OS X? Is it possible to do it within Disk Utility or CLI easily, or do I need ...
28
votes
3answers
6k views

Why do we install software via `.dmg` files?

When I want to install software, I typically download a .dmg (Disk iMaGe) file. When I open it, this .dmg file looks like what I would call a "virtual disk" (hence its name I presume) and is listed in ...
26
votes
2answers
11k views

hdiutil: compact failed – Function not implemented

When compacting a sparse image with the hdiutil compact command, it fails with the message hdiutil: compact failed – Function not implemented.
26
votes
4answers
21k views

hdiutil convert/rsize resource temporarily unavailable

When trying to convert or resize a dmg image I get the error: hdiutil: convert failed Resource Temporarily Unavailable error or hdiutil: resize: failed. Resource temporarily unavailable (35). (...
25
votes
4answers
36k views

How do I create a DMG file from a directory?

I'm trying to add a few files into a dmg. How do I create a DMG file from a directory?
24
votes
6answers
28k views

Why do I have to drag my new apps into the application folder?

I'm a new Mac user and I've been installing a few different apps for different things. A lot of these use .dmg files. Why exactly do they all expect me to drag the icon into the application folder? ...
22
votes
4answers
12k views

Why are so many Mac downloads a .dmg just that contains a single .pkg?

I've noticed that many downloads are a dmg (disk image) that contains a single pkg file (installation package). Usually the pkg seems to be already compressed since the dmg doesn't reduce the file ...
21
votes
3answers
7k views

When opening a DMG file, how do I get it to open up in front of the windows?

Whenever I download a .dmg file and then open it (usually from the download bar in Chrome), it opens up in the background. Is there any way to get it to open up in front of my window? Edit To ...
17
votes
1answer
3k views

Where is a dmg file mounted?

When I double click a dmg file it's mounted (or so I assume) in the filesystem. I want to explore the dmg file in the terminal for hidden files (like the background for example), but I'm not sure ...
17
votes
1answer
35k views

Download macOS Installer.dmg file

Apple yesterday released macOS Sierra for public. The update weighs ~5 GB. I have two Macs with me: one is my personal, the other my office has given. Instead of downloading the installer twice (10 GB)...
15
votes
2answers
4k views

Why can't I open DMG files which reside on a read-only NFS filesystem?

I've discovered a strange problem... if I have disk image files (DMGs) which reside on a read-only NFS share, I cannot open these in Mac OS X 10.7.5. The same files open fine when accessed over AFP. ...
13
votes
5answers
13k views

Can't remove “Install macOS High Sierra.app”

I had to make a bootable macOS High siera install, everyhing went well and it worked. I'm trying to remove the app that I used to install it and trash won't let me. Everytime I try I get an The ...
13
votes
1answer
190k views

How do I install applications from a .dmg file? [duplicate]

Possible Duplicate: How do I install an application from a disk image? I just got my first Macbook Pro yesterday and one of the first thing I did was to download and install Mozilla Firefox web ...
12
votes
5answers
26k views

Are auto-downloaded malicious .dmg app files a security risk if they are never opened?

I visited a page to stream a TV show, and upon clicking the search result link got the following pop-up: I clicked OK, as nothing on Chrome was available, and when I did that, Chrome auto-downloaded ...
12
votes
2answers
2k views

How to make a .dmg file?

I know how to make a .dmg file but I do not know how developers (Mostly games) create a window where there is the software file and sometimes theres a readme file. When I create, It shows just a ...
10
votes
4answers
3k views

How can I backup my system to a remote server (AFP, Samba, or NFS share)?

Here's the goal: I have a backup server with a ZFS filesystem with built in compression and snapshots. All our machines backup there nightly with rsync, and then a ZFS snapshot is taken, so we have ...
9
votes
3answers
2k views

Why are some Mac apps not available on AppStore?

One example is CheatSheet. I searched it on the AppStore but couldn't find it.
8
votes
2answers
7k views

Why are executables called DMG (disk image) files?

I am not experienced with OSX but I have been using it recently. It seems to me the equivalent of an .exe (executable) in Windows is a .dmg (disk image) in OSX. And you don't install it, you mount ...
8
votes
1answer
14k views

Cannot empty trash after deleting .dmg

So, I downloaded Chrome, and I put it in the Applications folder and from there a shortcut to the applications bar on the bottom of the screen. All is fine, but now there's an icon on the desktop that ...
8
votes
1answer
1k views

auto unmount .dmg if it has not been accessed for a while

Is there a way to automatically unmount a specific volume (mounted from a .dmg/.sparseimage) if it has not been accessed for a specified period? EDIT: This would be especially useful for password ...
7
votes
2answers
4k views

How to make an expanding compressed encrypted disk image?

I'd like the following setup: A DMG file sits on my HD, taking up only the space of the contents, or perhaps only the space of the contents compressed. If I double-click on it, I need to give a ...
7
votes
1answer
471 views

Prevent other users from ejecting (or even seeing) my mounted disk images

I have an encrypted disk image (sparsebundle) where all of my private documents are stored; I mount it to a custom mount point with: mkdir -p /Users/gabriele/MyDocs hdiutil attach /MyDocs....
7
votes
1answer
198 views

How to “chroot” a terminal inside a DMG?

I'm doing security research and for that purpose I use an SHA-2 encrypted DMG to store the tools and files I work with (containing confidential client info), to protect them from forensic examination ...
6
votes
2answers
8k views

What are “dmgpart” files and what tools can create, merge, or manage them?

I downloaded something that came as three large files: One was a *.dmg (a disk image file, which I expected) and two more were *.dmgpart files, which I haven't happened to see before – I never ...
6
votes
5answers
5k views

How to permanently archive Time Machine backup?

I have an external hard drive where my Time Machine backups are located. My OS is El Capitan. I would like to permanently archive this entire TM backup and move it to another hard drive, and it would ...
6
votes
2answers
552 views

How to change the background of an DMG Software License Agreement dialog?

When I create my own dmg-images, I always attach a software license agreement to them. When I opened the flattened image, I always got the Jaguar "X" in the background of the agreement dialog, where I ...
5
votes
4answers
39k views

Install Ghostscript on OS X 10.9 using DMG file

I want to install Ghostscript on my OS X 10.9 using a valid DMG file, where can i find it?
5
votes
2answers
32k views

OS X El Capitan suddenly can't open DMG files

I am trying to open a DMG file to install an OS X app. I get the error The following disk images couldn't be opened. Invalid Argument. I have tried to open other DMGs that I successfully managed to ...
5
votes
2answers
544 views

MacOS dmg file question

Not entirely sure if this is where to ask this, but I can't find another place to... I've recently switched from Windows to Mac and I am trying to understand more in depth what I'm working with. My ...
5
votes
2answers
3k views

Drives and dmg's mounting okay but not appearing in the Finder sidebar

Drives and dmg's are mounting okay on my Mac, and I can find them at /Volumes/. However, they aren't appearing in the sidebar in the Finder. What's the best way to start fixing this?
5
votes
2answers
2k views

Create disk image which can be read on Windows

I am interested in creating a disk image, using Disk Utility (or any other software) on macOS which can also be read on Windows. Disk Utility provides the ability to create .dmg, .sparseimage, and ....
5
votes
1answer
13k views

Show Package Content option not available in High Sierra on a pkg file

I want to "Show Package Content" of a pkg file which is inside this dmg file : https://desktop.visio.renater.fr/scopia/entry/pic/ClientComponents.dmg So I drag'n'drop the pkg file which is inside the ...
5
votes
1answer
3k views

Accessing Disk Images on iOS

Is it possible to mount and edit the contents of a .dmg file on an iPhone? I realize they are designed for macOS and larger computers of that ilk, but I'm curious if there's a workaround...
5
votes
3answers
312 views

Use mdfind to identify all encrypted dmg?

Can someone suggest a clever way to identify all dmg that are encrypted? My only idea is rather complicated. use mdfind '(kMDItemFSName=*.dmg)' and then test the response from hdiutil imageinfo and ...
5
votes
1answer
2k views

In Disk Utility, what advantages do “read/write disk image”s have over “sparse bundle disk image”s?

If I want a read/write disk image, then aren't sparse bundle disk images always the way to go? They start at 0 kb in size, and grow to accommodate whatever you add to them, and if you delete stuff, ...
4
votes
2answers
6k views

Do I have to keep the .dmg files on my computer?

As a new user of OS X I am getting to know how it is to work with it every day and I started noticing things that went unnoticed previously. One such question is, when I download a file from the ...
4
votes
1answer
4k views

How do I install a .dmg file without being a sudo user?

I am on macOS Sierra version 12.10.16. I downloaded an application. This app has .dmg extension. I would like to install it without using sudo or without being one of the sudo users. When I do ...
4
votes
2answers
11k views

Is there any way to crack a password-protected disk image?

I have created a .dmg file with password. Unfortunately I forgot the password and I my Google searches have not resulted in a way to reset the password of this .dmg file. Please help me find a ...
4
votes
1answer
1k views

How to disable dmg autorun?

I have downloaded a dmg file called BaiduYun_2.2.0.dmg, which, on double-click, shows the license agreement window straight away, instead of showing an installation package or an application that can ...
4
votes
1answer
2k views

Set up flash drive with multiple OS X Installers

Working in a tech shop, and being an Apple fan, I deal with ALL the Apple-related products. I'm seeing products from 10.4 to 10.7, and I have made a bootable flash drive from 10.6 (since it's the most ...
4
votes
1answer
2k views

35 “Flash Player” in DiskUtility

from sudo diskutil list I get 35 of these /dev/disk35 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme +...
4
votes
4answers
4k views

Time Machine - move backup from local disk to network volume. Wrong case sensitivity?

I am trying to move a Time Machine backup from a Firewire disk (called disk1) directly connected to a computer to a network share, that is, from a folder in/on /Disk1/Backup.backupdb to a sparsebundle/...
4
votes
1answer
3k views

Unable to convert dmg to encrypted dmg on Yosemite

When I try to convert a regular (internet downloaded) dmg file to an encrypted dmg (256-bit AES) using Disk Utility on Yosemite it gives me this error message: How do I get this to work on Yosemite? ...
4
votes
3answers
2k views

OS X application shortcut folder in dock and icon updates after installation

Here is the setup: I have the Applications folder right in the dock, which is the default after installation afaik. Now I have a custom build DMG with an application in there which I drag&drop ...
4
votes
1answer
646 views

Gatekeeper refuses validly signed application

I am trying to publish a signed application, but when downloading it through internet, gatekeeper complains: Furthermore, the help page says that the app has been tampered with: Which is actually ...
4
votes
2answers
16k views

How to open an encrypted dmg file in Windows?

I made encrypted disk image on my MacBook. Now I want to open it on my PC (Windows 10). How can I open (mount) an encrypted dmg image file in Windows 10?
3
votes
2answers
28k views

Installing OS X Yosemite from compressed DMG file in VMware Fusion

I would like to install OS X Yosemite in VMware Fusion 7.0. If I select the DMG file my university is providing, VMware is unable to boot from the DMG file. The image is a compressed DMG. ...
3
votes
1answer
6k views

How to change password of the .sparseimage encrypted image on El Capitan?

I have an encrypted .sparseimage, and can't change password. Don't see any option in Disk Utility. Is it possible and how to change password of the .sparseimage encrypted image on El Capitan?