AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
936 stars 125 forks source link

Fails With Error #6

Closed TexanScot closed 6 years ago

TexanScot commented 6 years ago

App doesn't work for me. Output as shown below:

Running checks (around 1 second).... Creating image '/tmp/macOS-Mojave.dmg' (around 20 seconds, version 14.0.11, will need sudo)...already exists. Creating iso '/tmp/macOS-Mojave.iso.cdr' (around 25 seconds).... ERROR: line 298 - command '[ $# -ne 0 ]' exited with status: 1. ERROR: In :: called at line 0. DEBUG: From function :: (line 0).

Any ideas?

AlexanderWillner commented 6 years ago

Can you paste the content of the log file that has been created on your desktop?

TexanScot commented 6 years ago

Entries below are from the first attempt at running the app. Looks like the issue is associated with ProgressDialog not being found?

_[2018-07-07 16:24:36] Running checks (around 1 second)... 34:42: execution error: Can’t get application "ProgressDialog". (-1728) [2018-07-07 16:24:36] . [2018-07-07 16:24:37] Creating image '/tmp/macOS-Mojave.dmg' (around 20 seconds, version 14.0.11, will need sudo)... 34:42: execution error: Can’t get application "ProgressDialog". (-1728) [2018-07-07 16:24:37] . "disk5" unmounted. "disk5" ejected. created: /tmp/macOS-Mojave.dmg /dev/disk5 Apple_partition_scheme
/dev/disk5s1 Apple_partition_map
/dev/disk5s2 AppleHFS /Volumes/macOS-Mojave Erasing disk: 0%... 10%... Error erasing disk error number (22, 0) A error occurred erasing the disk.

Lines below are form my last attempt at running it.

[2018-07-07 16:52:58] Running checks (around 1 second)... [2018-07-07 16:52:58] . [2018-07-07 16:52:59] Creating image '/tmp/macOS-Mojave.dmg' (around 20 seconds, version 14.0.11, will need sudo)... [2018-07-07 16:52:59] already exists. [2018-07-07 16:52:59] Creating iso '/tmp/macOS-Mojave.iso.cdr' (around 25 seconds)... [2018-07-07 16:53:00] . hdiutil: convert failed - Resource temporarily unavailable [2018-07-07 16:53:00] line 298 - command '[ $# -ne 0 ]' exited with status: 1. [2018-07-07 16:53:00] In :: called at line 0. [2018-07-07 16:53:00] From function :: (line 0)._

AlexanderWillner commented 6 years ago

The interesting part is Error erasing disk error number (22, 0). Also hdiutil: convert failed - Resource temporarily unavailable. Need some time to investigate on this. Have you tried after rebooting the machine?

TexanScot commented 6 years ago

So after a reboot of the machine I was able to progress further with installation. At present I have the grey screen that say's "MacOS Mojave Beta - Select the Disk Where You Want to Install MacOS."

However the install process seems to hang at this point (or is taking a very long time). Presently the screen has been at this point for at least 5 mins with no sign of progress. I'm installing on a Late 2013, 13" MBP. Is there a way to tell whether the install process is hung?

Thanks for your assistance with this by the way.

TexanScot commented 6 years ago

Actually it appears that the "Install" arrow is greyed out and is not active. I can select "back" from the screen which takes me back to the "Agree to License" selection however when I select "Agree" I end up back at the install screen with the greyed out button.

A problem with the configuration of the virtual machine?

AlexanderWillner commented 6 years ago

Have you formatted the drive? See Step 2 at https://github.com/AlexanderWillner/runMacOSinVirtualBox/blob/master/README.md#step-by-step-guide

TexanScot commented 6 years ago

Yeah, just realized that I had missed this step. Can't seem to get back to the screen that offered disk utilities though - seems like I may need to go through the entire configuration process once more?

I'll give it a go a little later and let you know how I fare.

Thanks.

AlexanderWillner commented 6 years ago

Actually, just clicking on ‚back’ or probably rather ‚quit‘ will be enough. No need to restart or do the whole process again.