Closed demonar closed 4 years ago
Adding a link with more info: https://steemit.com/macos/@arrowj/do-not-use-the-applicationpath-argument-when-creating-install-media-for-macos-mojave
Thanks for the feedback. The eject
function was extended recently. Assuming this will not happen again.
To Reproduce Steps to reproduce the behavior:
all
orinstaller
Expected behavior Should either create the image or the entire VM
Additional context Terminal output Logfile: /Users/MyUser/Library/Logs/runMacOSVirtualbox.log Running checks (around 1 second).... Creating image '/Users/MyUser/VirtualBox VMs/macOS-VM.dmg' (around 20 seconds, version 14.6.06, will need sudo).... Password: ERROR: Could create or run installer. Please look in the log file... Creating iso '/Users/MyUser/VirtualBox VMs/macOS-VM.iso.cdr' (around 25 seconds).... DEBUG: line 383 - command '[ "$#" -ne 0 ]' exited with status: 1. DEBUG: In :: called at line 0. DEBUG: From function :: (line 0). ERROR: Look at /Users/MyUser/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done... End terminal output
Log output [2019-10-12 13:56:57] Running checks (around 1 second)... [2019-10-12 13:56:57] . [2019-10-12 13:56:59] Creating image '/Users/MyUser/VirtualBox VMs/macOS-VM.dmg' (around 20 seconds, version 14.6.06, will need sudo)... [2019-10-12 13:56:59] . created: /Users/MyUser/VirtualBox VMs/macOS-VM.dmg /dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_HFS /Volumes/macOS-VM WARNING: "--applicationpath" is deprecated in macOS 10.14 and greater. Please remove it from your invocation. Erasing disk: 0%... 10%... Error erasing disk error number (22, 0) An error occurred erasing the disk. [2019-10-12 13:57:12] Could create or run installer. Please look in the log file... [2019-10-12 13:57:13] Creating iso '/Users/MyUser/VirtualBox VMs/macOS-VM.iso.cdr' (around 25 seconds)... [2019-10-12 13:57:13] . hdiutil: convert failed - Resource temporarily unavailable [2019-10-12 13:57:13] line 383 - command '[ "$#" -ne 0 ]' exited with status: 1. [2019-10-12 13:57:13] In :: called at line 0. [2019-10-12 13:57:13] From function :: (line 0). [2019-10-12 13:57:13] Look at /Users/MyUser/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done... End log output
Tested using Mac os Catalina with the mojave installation