mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
An error occurred while preparing the installation. on the OSX installer #373
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @heli-aviator on GitHub (Jun 27, 2022).
This is the setup I'm trying to install/run of Monterey:
xhost +to be able to get to the OSX-installationI get to the Mac OSX install screen, I go to
disk utilitiesand erase the 275Gb disk the close out of disk utilityand start
reinstall Montereyafter agreeing to the agree-on screen, it starts installing and goes all the way from 1hr down to 1 min the all of a sudden it errors out with this message
An error occurred while preparing the installation. Try running this application againI have run it again without any luck.
Does anyone have any idea how to get passed this point and actually MacOSX installed?
@jacobtread commented on GitHub (Jun 28, 2022):
Same issue here
@heli-aviator commented on GitHub (Jun 28, 2022):
Hopefully someone on here, will know how to fix this.
@TeoConan commented on GitHub (Jun 29, 2022):
Same here, I don't even know how to give more info or some logs...
@heli-aviator commented on GitHub (Jun 29, 2022):
I'm on the same boat, I'm new to docker.
@nsedat commented on GitHub (Jun 29, 2022):
I had the same issue. Then used the BigSur-installation ... that worked for me ... directly after running BigSur installed the upgrade to Monterey without any prblems ...
may this helps until a general fix for this issue is available.
@LowNightSnack commented on GitHub (Jun 30, 2022):
Instead of leaving a comment every time someone encounters this bug, please leave an emoji on this comment. Helps keep the comments clean
@jacobtread commented on GitHub (Jun 30, 2022):
This solution worked for me!
@gdotdesign commented on GitHub (Jun 30, 2022):
The underlying issue from the logs is
Unable to setup bless on disk.I wasn't able to fix it, but the preinstalled image is working #432.@skaldebane commented on GitHub (Jun 30, 2022):
Apparently the image monterey downloads is an Apple M2 image, not an x86 one!
@skaldebane commented on GitHub (Jun 30, 2022):
I found that the link that appears in the installer logs matches the second link in this website, which is marked as M2 ONLY.
That's super weird.
@sickcodes commented on GitHub (Jul 4, 2022):
Yeah should be fixed now haha... thanks Apple!
@furkanmustafa commented on GitHub (Jul 6, 2022):
we have just hit the same error.. I am not sure if it is exactly the same though.
script (disables X11, enables spice, uses local empty qcow2 image)
installation went on for an hour or so, and failed at the end (bootloader installation?)

last parts of installer log;

@JPaulMora commented on GitHub (Jul 6, 2022):
@sickcodes should I use a different tag to get the fix?

:montereyis giving me the same error as @furkanmustafa@Burtan commented on GitHub (Jul 10, 2022):
How to use the preinstalled image?
@gdotdesign commented on GitHub (Jul 11, 2022):
Download the image from the link in the issue #432
Then follow the instructions in the Readme https://github.com/sickcodes/Docker-OSX#download-the-image-manually-and-use-it-in-docker
@Burtan commented on GitHub (Jul 11, 2022):
Okay that didn't work for me either.
@JPaulMora commented on GitHub (Jul 11, 2022):
Update: The preinstalled image is working fine for me, took a while to download but it does the job.
@arjanflac commented on GitHub (Mar 11, 2023):
this issue is solved by using "macos extended (Journaled)" instead of apfs
Ventura issue only
https://github.com/sickcodes/Docker-OSX/issues/571
@sickcodes commented on GitHub (May 7, 2023):
Thank you @arjanflac, good find
@MacDaddy1660B commented on GitHub (Nov 10, 2023):
I'm still having this issue, despite formatting the disk for Macos Extended (journaled) instead of APFS. I also went into the docker contained and did a
git pull.@MacDaddy1660B commented on GitHub (Nov 15, 2023):
I think what this ended up was a disk space issue for me. I noticed I had about 70GB left on my disk, freed up some space, and the installation seems to be working now.
I was able to format the virtual drive using APFS and things worked just dandy.
@voidarclabs commented on GitHub (Nov 27, 2023):
I was wondering if this was fixed? I have managed to install Monterey successfully but Ventura has been giving me issues. So far it has always given me the 'try again' error but I will try using the extended partition.
Some odd behaviour I have noticed is that if you install Monterey and upgrade to Sonoma, it finishes the install and even manages to boot to the apple logo, before rebooting and getting stuck. However, when you install Ventura, it does not finish the install, instead exiting before the install completes. Any help would be appreciated!
@trifleneurotic commented on GitHub (Dec 1, 2023):
Just to throw my "two cents" in as it were:
There are quite a few issues where this is talked about here...
667
511
571
715
...with somewhat related PR's over at OSX-KVM:
218
207
So there may be a few causes for this specific error condition, and I was getting it as well.
I have a bare-metal box with a Ryzen 7 5800H CPU that has the required
avx2extension enabled. Running Windows 11 23H2 Pro build 22631.2715, WSL2 w/ Ubuntu 22.04.2 LTS (Jammy Jellyfish). Plenty of disk space.My experience:
Straight wsl2
docker runper documentation; Ventura with APFS: failed.Straight wsl2
docker runper documentation; Ventura with extended journaled: failed.Straight wsl2
docker runper documentation; Monterey with APFS: succeeded. (well, it got past that point, and currently it is proceeding through the install; incidentally ran into this issue but I doubt it would completely torpedo an install process)One thing I noticed in the Installer Log for my Ventura attempts was that the
InstallAssistant.pkgthat was being downloaded fromswcdn.apple.comwas noted here as being for M3 iMacs & 14" MBPro's only.Another thing I noticed in the Installer Log for my Monterey attempt was that the
InstallAssistant.pkgthat was being downloaded had NO special notes on it as described at the same site.So my hunch is that maybe those other users who were experiencing this error (but got past them) got the error for other reasons as described in the above PR's & issues, and were using a version of the
InstallAssistant.pkgthat that hadn't been identified for use strictly for an Apple silicon-based machine (unlike now).But still, it's just a hunch :)