Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Sierra 10.12.4 Failed to mount the InstallESD.dmg #25

Closed
vitalymak opened this issue Apr 28, 2017 · 5 comments
Closed

macOS Sierra 10.12.4 Failed to mount the InstallESD.dmg #25

vitalymak opened this issue Apr 28, 2017 · 5 comments
Labels

Comments

@vitalymak
Copy link

Downloaded 2017-04-28 macOS Sierra:

vit:tmp vitaly$ ./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)

Just in case:

vit:tmp vitaly$ cat /Applications/Install\ macOS\ Sierra.app/Contents/version.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>BuildVersion</key>
	<string>55</string>
	<key>CFBundleShortVersionString</key>
	<string>12.4.06</string>
	<key>CFBundleVersion</key>
	<string>12406</string>
	<key>ProjectName</key>
	<string>InstallAssistant</string>
	<key>SourceVersion</key>
	<string>842012000000000</string>
</dict>
</plist>
@vitalymak
Copy link
Author

vitalymak commented Apr 28, 2017

Actually it's related only to hdiutil: attach failed - Resource busy

solved by

hdiutil info | grep /dev/disk | grep partition | cut -f 1 | xargs hdiutil detach

Maybe add this line before conversion?

@geerlingguy geerlingguy added the bug label May 5, 2017
@geerlingguy
Copy link
Owner

Also, see upstream bug: https://www.virtualbox.org/ticket/16644

@vitalymak
Copy link
Author

Yep, but upstream issue is actually related to #24 bug 😀

@geerlingguy
Copy link
Owner

Gah, I'm confusing my issues now :P

@geerlingguy
Copy link
Owner

I believe this was fixed by one of the other recent commits... I can't reproduce the error anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants