You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./prepare-iso.sh
hdiutil: detach: only a single device name can be specified
Usage: hdiutil detach [options] <devname>
hdiutil detach -help
Mount the installer image
-----------------------------------------------------------
$ hdiutil attach /Applications/Install macOS Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil: attach failed - Resource busy
Failed to mount the InstallESD.dmg from the instaler at Install macOS Sierra.app. Exiting. (1)
Found line that was attempting to call hdiutil detach, and ran all but the command to determine what arguments were being sent in:
... which explains why the error complained that "only a single device name can be specified".
This was resolved by manually detaching each disk separately using the following commands, but just wanted to mention this in case there was a way you could iterate the results and call it for each line (not familiar enough with xargs to suggest a resolution).
... which explains why the error complained that "only a single device name can be specified".
The text was updated successfully, but these errors were encountered: