Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

0 votes
1 answers
7020 views
I only see a .pkg file when restoring from DMG in TransMac. What is wrong?
I finally got my hands on a second-hand MacBook Pro (Early 2011). However, the disk is corrupted and doesn't boot, and Internet Recovery proves ineffective as the OS X Lion Setup fails. This is the only somewhat-modern Mac that I own, so I tried to make a USB installer via windows. I used a genuine...
I finally got my hands on a second-hand MacBook Pro (Early 2011). However, the disk is corrupted and doesn't boot, and Internet Recovery proves ineffective as the OS X Lion Setup fails. This is the only somewhat-modern Mac that I own, so I tried to make a USB installer via windows. I used a genuine Apple install DMG (*Located Here: https://support.apple.com/en-us/HT211683*) , and when I go and restore the USB with the DMG file I only see a .pkg file, in place of the installer files. It also doesn't show up in the boot menu of the Macbook. I have seen other people have success with this method, so I'm not seeing what I'm doing wrong. (*See here: https://www.youtube.com/watch?v=4OpF0jJMJzI*) What should I do differently?
ElectricalHobbiest (1 rep)
Dec 27, 2020, 04:40 AM • Last activity: Jul 26, 2025, 07:09 AM
1 votes
1 answers
106 views
Launch DMG drive script failing after restart
I have an automation (screenshots of it here: https://www.icloud.com/iclouddrive/0bB-1AiIWdJc1jmkfdjRbsAVA#Launch_Plex_Media_Automation_ )saved as an app in Automator with the following AppleScripts to mount an encrypted DMG file, enter the password in security agent pop up and click OK. macOS is Ca...
I have an automation (screenshots of it here: https://www.icloud.com/iclouddrive/0bB-1AiIWdJc1jmkfdjRbsAVA#Launch_Plex_Media_Automation_ )saved as an app in Automator with the following AppleScripts to mount an encrypted DMG file, enter the password in security agent pop up and click OK. macOS is Catalina. It worked wonderfully for two years. Then it stopped working. After several attempts to fix the script, I went into Time Machine and retrieved the script from a time I knew it was working. It worked great for a bit but now it works a few times then stops entering the password. If I run just the script from Script Editor, it works great. Same if run from Automator. It will continue working in the automation until I shut my MBP down, then it's back to waiting for me to manually enter the password again. The automation has full disk access. Suggestions to fix this please?
tell application "MountDMG"
	activate
end tell

delay 5

tell application "System Events"
	set value of text field 1 of window 1 of process "SecurityAgent" to "Password"
	click button 2 of window 1 of process "SecurityAgent"
	--> button "OK" of window 1 of application process "SecurityAgent"
end tell
Gregg Potocnik (61 rep)
Jun 25, 2021, 10:45 PM • Last activity: Jul 10, 2025, 05:08 PM
2 votes
1 answers
712 views
burning a multi-session cd into iso
I have a multi-session (osx/windows) cd that I'd like to create an iso from. Is there a way to create a single iso file with all the sessions included in it? Output from `diskutil list disk2` is below. The identifier for the optical drive on my Mac is `disk2`. /dev/disk2 (external, physical): #: TYP...
I have a multi-session (osx/windows) cd that I'd like to create an iso from. Is there a way to create a single iso file with all the sessions included in it? Output from diskutil list disk2 is below. The identifier for the optical drive on my Mac is disk2. /dev/disk2 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: CD_partition_scheme *591.9 MB disk2 1: Apple_partition_scheme ⁨⁩ 515.4 MB disk2s1 2: Apple_partition_map ⁨⁩ 32.3 KB disk2s1s1 (free space) 276.8 MB - 3: Apple_HFS ⁨Master Install CD 238.6 MB disk2s1s2 –
JRR (167 rep)
Feb 27, 2021, 08:10 AM • Last activity: Jul 8, 2025, 01:04 AM
0 votes
1 answers
20 views
Progress bar reset and stuck during RAID drive image creation on Mac
I had a 12TB WD drive go wonky on me recently. It would show on Disk Utility but not mount. I tried some Terminal commands to force mount which failed. There are two partitions on my drive. One is about 12TB and the other is 150MB or so. I was able to mount the 150MB partition just fine using Termin...
I had a 12TB WD drive go wonky on me recently. It would show on Disk Utility but not mount. I tried some Terminal commands to force mount which failed. There are two partitions on my drive. One is about 12TB and the other is 150MB or so. I was able to mount the 150MB partition just fine using Terminal, but not the partition I need (with all my backup video projects). I had the bright idea of creating a disc image of the 12TB parition onto a RAID drive. It took about 26 hours but it made it successfully, but split the dmg files into parts. I tried to open the first dmg file and it didn't work, as I read should work. Great. So I read somewhere that I could try to piece the parts back together. I started to create a folder disk image of all the dmg parts. It was at about 90% done on the progress bar after a whole day so I left it clinking away overnight. I come back this morning and the progress bar is at maybe 5%. There is no cancel button and I'm afraid so screwing my new RAID drive up by force quitting Disk Utility. I don't mind if I screw up the image file I'm trying to create but I just got this RAID drive. Please help! Should I just wait to see if it finishes? Why did the progress bar go back down? Is the RAID drive I'm creating the disc image folder on in any danger of corruption if I force quit Disk Utility? Any insights would be greatly appreciated! Thank you * I checked Activity Monitor and it seems that Disk Utility is not doing much of anything. It did pop up to 0.1% CPU at one point. I also have something called com.apple.hiservices-xpcservice that's not responding. And the System percentage is red between 5-8%.
Jang Jangles (1 rep)
Jan 28, 2025, 12:48 AM • Last activity: Jun 29, 2025, 03:02 AM
0 votes
1 answers
2323 views
How could macOS installer act as both an installer package "InstallAssistant.pkg" and a disk image "SharedSupport.dmg"?
Apple has been providing single file macOS installer package "InstallAssistant.pkg" since Big Sur, this package install the app to "/Applications/Install macOS Ventura.app", and copy itself to "/Applications/Install macOS Ventura.app/Contents/SharedSupport/SharedSupport.dmg" using /bin/cp command. M...
Apple has been providing single file macOS installer package "InstallAssistant.pkg" since Big Sur, this package install the app to "/Applications/Install macOS Ventura.app", and copy itself to "/Applications/Install macOS Ventura.app/Contents/SharedSupport/SharedSupport.dmg" using /bin/cp command. My Question is, How could this file act as both an installer package and a disk image? You can get the installer url from flowing page: https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/
myeyre (1 rep)
Dec 14, 2022, 11:12 AM • Last activity: Jun 11, 2025, 01:05 AM
0 votes
1 answers
423 views
Google Drive macOS client can't dowload files inside mounted dmg virtual drive
I'm trying to let Google Drive client to sync files inside mounted dmg. I've added the folder (mounted dmg) to Google Drive client for backup. Everything works fine: upload of new files from my machine, deletion of files on my machine are propagated to online Google Drive and deletion of files from...
I'm trying to let Google Drive client to sync files inside mounted dmg. I've added the folder (mounted dmg) to Google Drive client for backup. Everything works fine: upload of new files from my machine, deletion of files on my machine are propagated to online Google Drive and deletion of files from web are propagated to my machine. But when I create a new file from Google Drive Web inside the folder, Google Drive Desktop client can't create file inside the mounted dmg: it always return 'not enough disk space' .. my free space is more than 200Gbyte and the issue happen with 2 files of 100KB each. The dmg file was created for read and write, I can create files inside dmg on my machine but it seems Google Drive can't ... Has anyone experienced same problem ? Thank You
Luciano Denti (1 rep)
Aug 21, 2021, 02:38 PM • Last activity: Jun 2, 2025, 09:05 PM
4 votes
4 answers
15484 views
Sparse bundle on NAS - can't open "Resource temporarily unavailable"
I just got a new Lacie NAS with their NAS OS 4. After making an initial Time Machine backup to this device I wanted to mount the resulting (encrypted) disk image but when doing so I just received an error message "Resource temporarily unavailable". Googling this error message returned a lot of Voodo...
I just got a new Lacie NAS with their NAS OS 4. After making an initial Time Machine backup to this device I wanted to mount the resulting (encrypted) disk image but when doing so I just received an error message "Resource temporarily unavailable". Googling this error message returned a lot of Voodoo fixes. However, after playing around a bit, restarting a few times etc I realised that I had something called Time Machine service enabled for this share. Turning this service off immediately made the disk image available as expected.
d-b (3494 rep)
Dec 28, 2015, 08:01 PM • Last activity: May 24, 2025, 08:29 AM
1 votes
1 answers
315 views
Strange Disk Image File (.dmg) problem - deleted files in xyz.dmg do not relinquish file space
Hardware & OS used: - Mac Studio M1 Max 32GB mem 1TB SSD Mac OS Ventura 13.2 - Mac Mini M1 16GB mem, 1TB SSD Mac OS Ventura 13.2 - Mac Mini Intel i7 32GB mem, 1TB SSD, Mac OS Ventura 13.2 **Background**: Currently using Veracrypt software container to store sensitive files. Update files within this...
Hardware & OS used: - Mac Studio M1 Max 32GB mem 1TB SSD Mac OS Ventura 13.2 - Mac Mini M1 16GB mem, 1TB SSD Mac OS Ventura 13.2 - Mac Mini Intel i7 32GB mem, 1TB SSD, Mac OS Ventura 13.2 **Background**: Currently using Veracrypt software container to store sensitive files. Update files within this secured container (after mounting) with Free File Sync works perfectly. **Objective**: Would like to change this way of operating to Apple’s own software ecosystem by using an encrypted .DMG, created with disk utility. **Followed procedure**: In Disk Utility, select **File** > **New Image** > **Blank Image**, then save with name File.dmg and select location. Select name, select **Size**: 1GB, **Format**: APFS, select **Encryption** (enter password), **Partitions**: GUID Partition map, **Image Format**: read/write disk image, then click **Save** File.dmg was created with a password. Works perfectly, mount and dismount. **The problem/issue on all three Macs**: If I now manually add files to this mounted disk image, all works fine. However, when I want to delete some files, the obsolete files disappear in the Finder view (also when displaying hidden files) but they keep occupying space in file.dmg. You can perfectly see this with the “Get Info” tab in Finder. So my allocated 1GB gets very rapidly full as deleted files don’t hand back available file space to the system. I have tried all sorts of combinations (parameters) while creating a .dmg in Disk Utility, but the problem remains. The only way in which I am able to reclaim the “lost” file space is to manually empty the Trash. I think this is not right as deleting files on an HDD or SSD should relinquish the space the moment the files are deleted and are being placed in the Trash, this pending final deletion. Is anyone else experiencing this problem or am I doing something wrong?
fganon (31 rep)
Jan 27, 2023, 01:42 PM • Last activity: Feb 16, 2025, 12:03 AM
110 votes
7 answers
207310 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 is a `VAX COFF executable`.
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 is a VAX COFF executable.
philant (2463 rep)
Dec 5, 2012, 09:16 AM • Last activity: Oct 5, 2024, 07:01 PM
3 votes
1 answers
2009 views
Disk image of OS + Recovery partition?
I'm working with multiple OS X versions frequently and I'd like to have an image which contains a particular OS version's system partition and its recovery partition. Is this possible? (the disk where these partitions are, contains several other partitions which I don't want, so full-disk image is n...
I'm working with multiple OS X versions frequently and I'd like to have an image which contains a particular OS version's system partition and its recovery partition. Is this possible? (the disk where these partitions are, contains several other partitions which I don't want, so full-disk image is not an option) I'm guessing this cannot be done as a single-step process, so I've already created an appropriately-sized sparsebundle image with GPT layout: hdiutil create -size 35g -layout GPTSPUD -type SPARSEBUNDLE /path/to/new_image.dmg The next step would be to copy the relevant partition onto this image, but I don't know how to do this. My Linux experience tells me the partitioning utility should be the place to look for this, but I don't see anything in diskutil's manual which looks like it does what I want. Hints/ideas?
myxal (144 rep)
Mar 10, 2016, 02:40 PM • Last activity: Jul 9, 2024, 03:34 PM
1 votes
1 answers
116 views
How to attach a DMG with different mount AND browse name?
I have a DMG `foo.dmg` which when I attach it via hdiutil attach foo.dmg appears in the Terminal under path `/Volumes/foo` and in the Finder side bar as "foo". Now when attaching the DMG I want to change the name under which the DMG appears. I tried hdiutil attach -mountpoint bar foo.dmg and the DMG...
I have a DMG foo.dmg which when I attach it via hdiutil attach foo.dmg appears in the Terminal under path /Volumes/foo and in the Finder side bar as "foo". Now when attaching the DMG I want to change the name under which the DMG appears. I tried hdiutil attach -mountpoint bar foo.dmg and the DMG appears in Terminal in the filessystem as /Volume/bar. So far so good. But in the Finder (for "browsing") the DMG is still listed as "foo". How can I call hdiutil and change _both_ names, the filesystem volume name and the Finder browse name? **Side note**: The DMG(s) I want to treat like this are _read-only_ DMGs, so they cannot be mounted with the -readwrite option to use diskutil rename` to rename the browse name permanently. (Thanks to [@David Anderson](https://apple.stackexchange.com/users/107222/david-anderson) for pointing out this principal method.)
halloleo (1497 rep)
Jun 19, 2024, 08:42 AM • Last activity: Jun 20, 2024, 04:38 PM
1 votes
2 answers
1553 views
Google Chrome dmg wont eject after installation, even though it's not in use
I just bought a MacBook Air M1 (it's my first MacBook so im pretty new to the OS). I downloaded and installed Google chrome, however I'm trying to delete the dmg file but when I click eject or try to delete the file manually it says that is being used by Google Chrome and cannot be deleted, but I've...
I just bought a MacBook Air M1 (it's my first MacBook so im pretty new to the OS). I downloaded and installed Google chrome, however I'm trying to delete the dmg file but when I click eject or try to delete the file manually it says that is being used by Google Chrome and cannot be deleted, but I've closed google chrome already. Any suggestions to what might be happening? Thanks! (also excuse my English, not my first language)
Cinthia Abigail (11 rep)
Jun 2, 2021, 12:38 AM • Last activity: Jun 10, 2024, 11:04 AM
1 votes
0 answers
81 views
Trying to install macOS Sierra on a 2017 MacBook Pro
Background of the issue: A 2017 MacBook Pro was reset by the seller. I tried installing the OS, but encountered errors during installation. I am trying to install macOS Sierra through Recovery mode. Here are the steps I carried out on the MacBook Pro that has the issue. 1. I reformatted the disk, wi...
Background of the issue: A 2017 MacBook Pro was reset by the seller. I tried installing the OS, but encountered errors during installation. I am trying to install macOS Sierra through Recovery mode. Here are the steps I carried out on the MacBook Pro that has the issue. 1. I reformatted the disk, with a warning of data loss. 2. cd /Volumes/Macintosh\ HD 3. I downloaded the macOS Sierra 10.12.6 InstallOS.dmg using the curl command. 4. I mounted the InstallOS.dmg with hdiutil attach InstallOS.dmg. 5. I tried to install the Install macOS Sierra.app from the InstallOS.dmg to Macintosh HD volume with the following command.
installer -pkg /Volumes/Install\ macOS/InstallOS.pkg -target /Volumes/Macintosh\ HD
The OS seemed to install, and it said it will restart. The restart process was going fine, until it stopped with a circle and a slant line inside it. Now the OS will not load. I am only able to boot to Recovery. Also when I select "Reinstall macOS" option, disks are not displayed.
Jide Afolayan (11 rep)
Mar 14, 2024, 10:28 AM • Last activity: Mar 18, 2024, 01:35 PM
1 votes
1 answers
880 views
Why does open fail with LSOpenURLsWithRole() failed with error -610
Why am I getting `LSOpenURLsWithRole() failed with error -610` when I try to `open` a `.dmg` on the command line? ``` user@host Downloads % open buskill-mac-x86_64.dmg LSOpenURLsWithRole() failed with error -610 for the file /Users/user/Downloads/buskill-mac-x86_64.dmg. user@host Downloads % ``` I'm...
Why am I getting LSOpenURLsWithRole() failed with error -610 when I try to open a .dmg on the command line?
user@host Downloads % open buskill-mac-x86_64.dmg
LSOpenURLsWithRole() failed with error -610 for the file /Users/user/Downloads/buskill-mac-x86_64.dmg.
user@host Downloads %
I'm downloaded a .dmg file with wget, and now I want to open it. But when I do, I get the above error. What does this LSOpenURLsWithRole() failed with error -610 error mean, and how do I fix it?
Michael Altfield (745 rep)
Jan 16, 2023, 02:46 AM • Last activity: Feb 10, 2024, 09:33 AM
0 votes
1 answers
83 views
Mount image only for active user
I have an encrypted dmg with private files. When I mount it I see is as drive but when another person opens their users they see the unit available too which I don't want. I even tried changing the permission for that other users to write only so they can't see the content but they still do. Is ther...
I have an encrypted dmg with private files. When I mount it I see is as drive but when another person opens their users they see the unit available too which I don't want. I even tried changing the permission for that other users to write only so they can't see the content but they still do. Is there a way to mount an encrypted image and have it available only to the user that mount it?
Juan (200 rep)
Dec 13, 2023, 11:25 PM • Last activity: Jan 13, 2024, 08:00 AM
35 votes
4 answers
79589 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 operation can’t be completed because the item “Install macOS High Sierra.app” is in use. error. I tried to...
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 operation can’t be completed because the item “Install macOS High Sierra.app” is in use. error. I tried to circumvent this by option+click and selecting "Delete immediately" but that just gives me an “InstallESD.dmg” can’t be modified or deleted because it’s required by macOS. error. Any help for getting this thing off my computer will be greatly appreciated.
R. Gillie (523 rep)
Sep 14, 2018, 10:51 PM • Last activity: Jan 8, 2024, 03:20 PM
2 votes
1 answers
659 views
How to skip verification of .dmg file located on a network filesystem?
I have a file server (SMB/Samba 4.5.16) in the local network. If I put a .dmg file on it (anywhere) and try to mount it, MacOs will ALWAYS verify it first, which means reading through the whole thing, which takes almost 30 minutes for a 200GB file over GBit Ethernet. So again, the scenario is: An SM...
I have a file server (SMB/Samba 4.5.16) in the local network. If I put a .dmg file on it (anywhere) and try to mount it, MacOs will ALWAYS verify it first, which means reading through the whole thing, which takes almost 30 minutes for a 200GB file over GBit Ethernet. So again, the scenario is: An SMB server exports a share, I mount that normally on the Mac (which works fine), the share contains a .dmg file, I try to mount that, the .dmg file gets verified. Every time. After that, the mount succeeds and I can use the dmg's filesystem without issue, but the 30 minute verification is a total show stopper. I tried the following things, none of which help (all from https://apple.stackexchange.com/questions/370202/how-do-i-skip-verification-of-a-dmg-file) :
# Disable the "Are you sure you want to open this application?" dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false

# Disable Disk Image Verification: Verifying ...
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
Mounting the thing with hdiutil attach -noverify mounts the filesystem read-only -- useless. This is an M1 Mac running Big Sur. I had an Intel Mac running Catalina before, and I didn't have this problem with that. The file mounted almost instantly (i.e. no verification), from the same file server. If I copy the file to the local disk and mount it from there, it works without verification. How do I fix this? Is anyone doing this successfully, and if so, which file server and MacOs version are you using?
Olaf Klischat (131 rep)
Oct 12, 2021, 06:56 PM • Last activity: Dec 10, 2023, 01:37 AM
1 votes
0 answers
1094 views
Issues trying to use TransMac to create bootable USB from Windows 10
I'm trying to follow the steps in this post: https://apple.stackexchange.com/questions/448120/how-can-i-use-windows-to-create-an-os-x-el-capitan-or-macos-sierra-usb-flash-drive Which was answered by David Anderson. I'm on step 7 and cannot 'copy here' any files from my downloads folder and also cann...
I'm trying to follow the steps in this post: https://apple.stackexchange.com/questions/448120/how-can-i-use-windows-to-create-an-os-x-el-capitan-or-macos-sierra-usb-flash-drive Which was answered by David Anderson. I'm on step 7 and cannot 'copy here' any files from my downloads folder and also cannot rename or delete any files from within the USB drive in TransMac. I have been trying to make this bootable USB for days now following different guides and this seems like the best and most detailed one but I'm just stuck on this bit because I can't get it to work.
user507467
Oct 12, 2023, 09:32 AM • Last activity: Oct 12, 2023, 02:44 PM
6 votes
1 answers
8179 views
How can I use Windows to create an OS X Yosemite USB flash drive installer from the disk image (.dmg) file downloaded from Apple?
This question is **NOT** a duplicate of the question [How can I use Windows to create an OS X El Capitan or macOS Sierra USB flash drive installer from the disk image (.dmg) file downloaded from Apple?][1] -- Here is why: >The `InstallMacOSX.dmg` file for Yosemite, which can be downloaded from Apple...
This question is **NOT** a duplicate of the question How can I use Windows to create an OS X El Capitan or macOS Sierra USB flash drive installer from the disk image (.dmg) file downloaded from Apple? -- Here is why: >The InstallMacOSX.dmg file for Yosemite, which can be downloaded from Apple, uses the Apple Partition Map (APM). The The InstallMacOSX.dmg files for both El Capitan and Sierra, which can also be downloaded from Apple, use the GUID Partion Table instead of an APM. The Paragon Partition Manager Community Edition 64bit does not recognize APM. **Therefore, instructions for creating an USB Flash drive installer for El Capitan and Sierra can not be used to create an USB Flash drive installer for Yosemite.** This is why I wrote both questions and both accepted answers! -------- There are many posts on the Internet where instructions are given for creating OS X USB installers by using the TransMac and other such applications on a Windows machine. Many of these posts assume one is starting with a disk image (.dmg) file made from an existing OS X USB flash drive installer. An InstallMacOSX.dmg file for OS X Yosemite , can be downloaded from the Apple website How to download macOS . While this file can be restored to a flash drive, the result is not a working OS X Yosemite USB installer. >Note: This answer for Mavricks and this answer for El Capitan do not work for Yosemite. How can I use Windows to create an OS X Yosemite USB flash drive installer from the InstallMacOSX.dmg file for OS X Yosemite, which can be downloaded from Apple?
David Anderson (42621 rep)
Oct 10, 2022, 07:13 PM • Last activity: Aug 29, 2023, 11:02 AM
13 votes
2 answers
44801 views
How can I use Windows to create an OS X El Capitan or macOS Sierra USB flash drive installer from the disk image (.dmg) file downloaded from Apple?
There are many posts on the Internet where instructions are given for creating OS X USB installers by using the [TransMac][1] and other such applications on a Windows machine. Many of these posts assume one is starting with a disk image (.dmg) file made from an existing OS X USB flash drive installe...
There are many posts on the Internet where instructions are given for creating OS X USB installers by using the TransMac and other such applications on a Windows machine. Many of these posts assume one is starting with a disk image (.dmg) file made from an existing OS X USB flash drive installer. An InstallMacOSX.dmg file for OS X El Capitan , can be downloaded from the Apple website How to download macOS . While this file can be restored to a flash drive, the result is not a working OS X El Capitan USB installer. The same is true for the macOS Sierra file InstallOS.dmg file, which can be downloaded from the same Apple website. How can I use Windows to create an OS X El Capitan or macOS Sierra USB flash drive installer from a .dmg file, which can be downloaded from Apple?
David Anderson (42621 rep)
Sep 24, 2022, 09:17 PM • Last activity: Aug 29, 2023, 08:02 AM
Showing page 1 of 20 total questions