"An error occurred while preparing the installation. Try running this application again." while installing macOS Ventura #544

Open
opened 2025-12-29 01:21:20 +01:00 by adam · 21 comments
Owner

Originally created by @guilhermedotcamargo on GitHub (Nov 14, 2023).

OS related issued, please help us identify the issue by posting the output of this

uname -a
Linux gbc-HP-250-G8-Notebook-PC 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

; echo "${DISPLAY}"
:0

; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
1

; grep NAME /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy

; df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 234G 84G 138G 38% /

; qemu-system-x86_64 --version
QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.15)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

; libvirtd --version
libvirtd (libvirt) 8.0.0

; free -mh
total used free shared buff/cache available
Mem: 15Gi 6,4Gi 491Mi 503Mi 8,5Gi 8,1Gi
Swap: 2,0Gi 250Mi 1,8Gi

; nproc
8

; egrep -c '(svm|vmx)' /proc/cpuinfo
16

; ls -lha /dev/kvm
crw-rw----+ 1 root kvm 10, 232 nov 14 15:39 /dev/kvm

; ls -lha /tmp/.X11-unix/
total 8,0K
drwxrwxrwt 2 root root 4,0K nov 14 15:19 .
drwxrwxrwt 21 root root 4,0K nov 14 16:38 ..
srwxrwxr-x 1 gbc gbc 0 nov 14 15:19 X0
srwxrwxr-x 1 gbc gbc 0 nov 14 15:19 X1

; ps aux | grep dockerd
root 2291 2.9 0.4 1980936 68368 ? Ssl 15:19 2:20 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
gbc 10408 0.0 0.0 9212 2560 pts/1 S+ 16:38 0:00 grep --color=auto dockerd

; docker ps | grep osx
b77de8f687e6 sickcodes/docker-osx:ventura "/bin/bash -c 'sudo …" 59 minutes ago Up 59 minutes 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp vibrant_khayyam

; grep "docker\|kvm\|virt" /etc/group
kvm:x:109:gbc
docker:x:999:gbc
libvirt:x:139:gbc
libvirt-qemu:x:64055:libvirt-qemu
libvirt-dnsmasq:x:140:


Evidence

image

Originally created by @guilhermedotcamargo on GitHub (Nov 14, 2023). # OS related issued, please help us identify the issue by posting the output of this `uname -a` \ Linux gbc-HP-250-G8-Notebook-PC 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ; `echo "${DISPLAY}"` \ :0 ; `echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs` \ 1 ; `grep NAME /etc/os-release` \ PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy ; `df -h .` \ Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 234G 84G 138G 38% / ; `qemu-system-x86_64 --version` \ QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.15) Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers ; `libvirtd --version` \ libvirtd (libvirt) 8.0.0 ; `free -mh` \ total used free shared buff/cache available Mem: 15Gi 6,4Gi 491Mi 503Mi 8,5Gi 8,1Gi Swap: 2,0Gi 250Mi 1,8Gi ; `nproc` \ 8 ; `egrep -c '(svm|vmx)' /proc/cpuinfo` \ 16 ; `ls -lha /dev/kvm` \ crw-rw----+ 1 root kvm 10, 232 nov 14 15:39 /dev/kvm ; `ls -lha /tmp/.X11-unix/` \ total 8,0K drwxrwxrwt 2 root root 4,0K nov 14 15:19 . drwxrwxrwt 21 root root 4,0K nov 14 16:38 .. srwxrwxr-x 1 gbc gbc 0 nov 14 15:19 X0 srwxrwxr-x 1 gbc gbc 0 nov 14 15:19 X1 ; `ps aux | grep dockerd` \ root 2291 2.9 0.4 1980936 68368 ? Ssl 15:19 2:20 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock gbc 10408 0.0 0.0 9212 2560 pts/1 S+ 16:38 0:00 grep --color=auto dockerd ; `docker ps | grep osx` \ b77de8f687e6 sickcodes/docker-osx:ventura "/bin/bash -c 'sudo …" 59 minutes ago Up 59 minutes 0.0.0.0:50922->10022/tcp, :::50922->10022/tcp vibrant_khayyam ; `grep "docker\|kvm\|virt" /etc/group` kvm:x:109:gbc docker:x:999:gbc libvirt:x:139:gbc libvirt-qemu:x:64055:libvirt-qemu libvirt-dnsmasq:x:140: --- # Evidence ![image](https://github.com/sickcodes/Docker-OSX/assets/30661999/041fedd6-0224-41b1-9726-0372154ff62c)
Author
Owner

@leandroo commented on GitHub (Nov 14, 2023):

Several attempts, I'm having the same error message here. I was able to install the other images without any problems.

@leandroo commented on GitHub (Nov 14, 2023): Several attempts, I'm having the same error message here. I was able to install the other images without any problems.
Author
Owner

@MacDaddy1660B commented on GitHub (Nov 15, 2023):

This might be the same issue as #511 .

@MacDaddy1660B commented on GitHub (Nov 15, 2023): This might be the same issue as #511 .
Author
Owner

@MacDaddy1660B commented on GitHub (Nov 15, 2023):

Try opening the menu Window -> Installer Log, then set "Show errors only".

@MacDaddy1660B commented on GitHub (Nov 15, 2023): Try opening the menu Window -> Installer Log, then set "Show errors only".
Author
Owner

@Brandon7CC commented on GitHub (Nov 16, 2023):

I'm having a similar issue here too.

  • One thing I am noticing is this worked pretty seamlessly for me previously on an Intel CPU, but for this AMD Ryzen 7 PRO 7840U the issue came up (not sure yet if the two are related).
  • Looking up the specs for the CPU AVX2 is supported.

It looks like the primary error in the screenshot below is from OSISHelper:

-[OSISHelper blessUpdateBundleAtPath: ... :] failed to copy /Volumes/MacSSD/macOS Install Data/UpdateBundle/AssetData/.boot/Firmware/System/Library/CoreServices/bootbase.efi`

I've tried this a few times and always get the same result (APFS and for macOS Extended Journaled). Plenty of disk space here as well.

Screenshot 2023-11-15 154646

@Brandon7CC commented on GitHub (Nov 16, 2023): I'm having a similar issue here too. * One thing I am noticing is this worked pretty seamlessly for me previously on an Intel CPU, but for this AMD Ryzen 7 PRO 7840U the issue came up (not sure yet if the two are related). * Looking up [the specs for the CPU](https://www.amd.com/en/product/13481) `AVX2` is supported. It looks like the primary error in the screenshot below is from `OSISHelper`: ```m -[OSISHelper blessUpdateBundleAtPath: ... :] failed to copy /Volumes/MacSSD/macOS Install Data/UpdateBundle/AssetData/.boot/Firmware/System/Library/CoreServices/bootbase.efi` ``` I've tried this a few times and always get the same result (APFS and for macOS Extended Journaled). Plenty of disk space here as well. ![Screenshot 2023-11-15 154646](https://github.com/sickcodes/Docker-OSX/assets/22716543/e6ca37a0-b3ed-43c1-8747-1e5a4adab694)
Author
Owner

@MacDaddy1660B commented on GitHub (Nov 16, 2023):

I thought disk space the culprit, but now that I'm trying again, I'm still having an issue. Same as above. The file bootbase.efi exists at /System/Library/CoreServices/bootbase.efi
Screenshot from 2023-11-16 10-40-09

If I open a terminal, I get the following:
Screenshot from 2023-11-16 10-47-34

@MacDaddy1660B commented on GitHub (Nov 16, 2023): I thought disk space the culprit, but now that I'm trying again, I'm still having an issue. Same as above. The file ```bootbase.efi``` exists at ```/System/Library/CoreServices/bootbase.efi``` ![Screenshot from 2023-11-16 10-40-09](https://github.com/sickcodes/Docker-OSX/assets/1882277/366ed5bb-8e55-46cf-b4a4-a7c8883fdc62) If I open a terminal, I get the following: ![Screenshot from 2023-11-16 10-47-34](https://github.com/sickcodes/Docker-OSX/assets/1882277/a21dff3a-5cd5-4315-9d66-c097216e2671)
Author
Owner

@clockdev commented on GitHub (Nov 17, 2023):

Hi, I am facing the same problems. While I have installed more than 10 virtual systems before. Before the current error, I installed the system a month ago. The configuration of the command has not changed, I have been writing them down and re-calling them.

Perhaps something changed in the Ventura installation file itself?

@clockdev commented on GitHub (Nov 17, 2023): Hi, I am facing the same problems. While I have installed more than 10 virtual systems before. Before the current error, I installed the system a month ago. The configuration of the command has not changed, I have been writing them down and re-calling them. Perhaps something changed in the Ventura installation file itself?
Author
Owner

@MacDaddy1660B commented on GitHub (Nov 17, 2023):

Yes, I think this is what has happened. Earlier this year I set up plenty
of VMs and never had an issue. Now all of a sudden it is.

On Fri, Nov 17, 2023 at 7:00 AM clockdev @.***> wrote:

Hi, I am facing the same problems. While I have installed more than 10
virtual systems before. Before the current error, I installed the system a
month ago. The configuration of the command has not changed, I have been
writing them down and re-calling them.

Perhaps something changed in the Ventura installation file itself?


Reply to this email directly, view it on GitHub
https://github.com/sickcodes/Docker-OSX/issues/714#issuecomment-1816481762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOLRJJQSLC2YVMGYMIZNMLYE5UW7AVCNFSM6AAAAAA7LLEBVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGQ4DCNZWGI
.
You are receiving this because you commented.Message ID:
@.***>

--
Sincerely,
Gordon MacDonald, Ph.D

@MacDaddy1660B commented on GitHub (Nov 17, 2023): Yes, I think this is what has happened. Earlier this year I set up plenty of VMs and never had an issue. Now all of a sudden it is. On Fri, Nov 17, 2023 at 7:00 AM clockdev ***@***.***> wrote: > Hi, I am facing the same problems. While I have installed more than 10 > virtual systems before. Before the current error, I installed the system a > month ago. The configuration of the command has not changed, I have been > writing them down and re-calling them. > > Perhaps something changed in the Ventura installation file itself? > > — > Reply to this email directly, view it on GitHub > <https://github.com/sickcodes/Docker-OSX/issues/714#issuecomment-1816481762>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAOLRJJQSLC2YVMGYMIZNMLYE5UW7AVCNFSM6AAAAAA7LLEBVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGQ4DCNZWGI> > . > You are receiving this because you commented.Message ID: > ***@***.***> > -- Sincerely, Gordon MacDonald, Ph.D
Author
Owner

@clockdev commented on GitHub (Nov 17, 2023):

https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/
11/07 install assistant has been updated with a new build of the system. Is there any way to change the build?

@clockdev commented on GitHub (Nov 17, 2023): https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/ 11/07 install assistant has been updated with a new build of the system. Is there any way to change the build?
Author
Owner

@MacDaddy1660B commented on GitHub (Nov 17, 2023):

I'll bet that's what the issue is. I'm not sure I know well-enough about this to do so. Boy if I knew how, I would.

@MacDaddy1660B commented on GitHub (Nov 17, 2023): I'll bet that's what the issue is. I'm not sure I know well-enough about this to do so. Boy if I knew how, I would.
Author
Owner

@guilhermedotcamargo commented on GitHub (Nov 17, 2023):

Try opening the menu Window -> Installer Log, then set "Show errors only".

image

@guilhermedotcamargo commented on GitHub (Nov 17, 2023): > Try opening the menu Window -> Installer Log, then set "Show errors only". ![image](https://github.com/sickcodes/Docker-OSX/assets/30661999/228fa7ae-a5bb-4f24-852b-26e0dc3fd669)
Author
Owner

@MacDaddy1660B commented on GitHub (Nov 17, 2023):

Does anybody know if there's a way to put a different InstallAssistant.pkg into the image?

Monterey Docker VM has an issue for some reason with Wireshark #681 .

@MacDaddy1660B commented on GitHub (Nov 17, 2023): Does anybody know if there's a way to put a different ```InstallAssistant.pkg``` into the image? Monterey Docker VM has an issue for some reason with Wireshark #681 .
Author
Owner

@clockdev commented on GitHub (Nov 20, 2023):

https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/ 11/07 install assistant has been updated with a new build of the system. Is there any way to change the build?

@sickcodes hi, maybe you'll check it out?

@clockdev commented on GitHub (Nov 20, 2023): > https://mrmacintosh.com/macos-ventura-13-full-installer-database-download-directly-from-apple/ 11/07 install assistant has been updated with a new build of the system. Is there any way to change the build? @sickcodes hi, maybe you'll check it out?
Author
Owner

@bluesailor45 commented on GitHub (Nov 22, 2023):

Have the same problem. Issue is failed to copy ... bootbase.efi.
Tried already with docker on a SSD disk and also with a normal HD disk. Could it be possibly be an issue with the PC firmware (e.g: boot security ?) Have used this:

docker run -it
--device /dev/kvm
-p 50922:10022
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
-e GENERATE_UNIQUE=true
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist'
sickcodes/docker-osx:ventura

Any ideas?

@bluesailor45 commented on GitHub (Nov 22, 2023): Have the same problem. Issue is failed to copy ... bootbase.efi. Tried already with docker on a SSD disk and also with a normal HD disk. Could it be possibly be an issue with the PC firmware (e.g: boot security ?) Have used this: docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ sickcodes/docker-osx:ventura Any ideas?
Author
Owner

@bluesailor45 commented on GitHub (Dec 1, 2023):

The same issue exist also on Ventura. Always: failed to copy ...bootbase.efi.

@bluesailor45 commented on GitHub (Dec 1, 2023): The same issue exist also on Ventura. Always: failed to copy ...bootbase.efi.
Author
Owner

@dargmuesli commented on GitHub (Dec 1, 2023):

Make sure you're doing an offline install using an image that matches your CPU architecture.

@dargmuesli commented on GitHub (Dec 1, 2023): Make sure you're doing an offline install using an image that matches your CPU architecture.
Author
Owner

@stonedDiscord commented on GitHub (Dec 2, 2023):

I was able to fix it by following these steps
https://discussions.apple.com/thread/8287410
and formatting the install disk as JHFS+ instead of APFS

@stonedDiscord commented on GitHub (Dec 2, 2023): I was able to fix it by following these steps https://discussions.apple.com/thread/8287410 and formatting the install disk as JHFS+ instead of APFS
Author
Owner

@guzuqing commented on GitHub (Dec 4, 2023):

@stonedDiscord diskutil cs did not recognize verb "createVolume",how to fix it ?

@guzuqing commented on GitHub (Dec 4, 2023): @stonedDiscord diskutil cs did not recognize verb "createVolume",how to fix it ?
Author
Owner

@MacDaddy1660B commented on GitHub (Dec 5, 2023):

I was able to fix it by following these steps https://discussions.apple.com/thread/8287410 and formatting the install disk as JHFS+ instead of APFS

This didn't work for me. I got an error related to the disk not being formatted for APFS, and the installer couldn't download a package.

@MacDaddy1660B commented on GitHub (Dec 5, 2023): > I was able to fix it by following these steps https://discussions.apple.com/thread/8287410 and formatting the install disk as JHFS+ instead of APFS This didn't work for me. I got an error related to the disk not being formatted for APFS, and the installer couldn't download a package.
Author
Owner

@lxp-git commented on GitHub (Dec 11, 2023):

workaround: upgrade from macOS12, -cpu Haswell-noTSX boot success on my AMD5950X

@lxp-git commented on GitHub (Dec 11, 2023): workaround: upgrade from macOS12, `-cpu Haswell-noTSX` boot success on my AMD5950X
Author
Owner

@MacDaddy1660B commented on GitHub (Dec 11, 2023):

I was suddenly able to install Ventura in the docker container without making any modifications to the KVM parameters.

@MacDaddy1660B commented on GitHub (Dec 11, 2023): I was suddenly able to install Ventura in the docker container without making any modifications to the KVM parameters.
Author
Owner

@iskizreal commented on GitHub (Feb 19, 2024):

workaround: upgrade from macOS12, -cpu Haswell-noTSX boot success on my AMD5950X

Where did you set cpu? How to do it? Thank you

@iskizreal commented on GitHub (Feb 19, 2024): > workaround: upgrade from macOS12, `-cpu Haswell-noTSX` boot success on my AMD5950X Where did you set cpu? How to do it? Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#544