OneClick-macOS-Simple-KVM icon indicating copy to clipboard operation
OneClick-macOS-Simple-KVM copied to clipboard

"An error occurred while preparing the installation. Try running this application again." - System installation fails for Sonoma with being unable to find boot.efi or install bless

Open Razzaline opened this issue 7 months ago • 14 comments

Which operating system are you trying to install? macOS 14 Sonoma

Describe the bug When installing macOS 14 Sonoma, it fails near the end (when it says "About 12 minutes remaining") after downloading and installing InstallAssistant.pkg, with the error message "An error occurred while preparing the installation. Try running this application again."

To Reproduce Steps to reproduce the behavior:

  1. Run ./setupArch.sh
  2. Select option 7 (macOS 14 Sonoma)
  3. Boot into macOS Base System once the VM loads
  4. Open Disk Utility and select the 68 GB drive
  5. Select "Erase" and format it to APFS (default)
  6. Go to "Reinstall macOS 14 Sonoma" and start the installation process
  7. Wait until it reaches "About 12 minutes remaining"
  8. The error message should display
  9. Clicking "OK" takes you back to the recovery/setup options

Expected behavior The installer finishes and I'm able to boot into Sonoma

Screenshots Screenshot_20231118_003503

Desktop (please complete the following information):

  • OS: Manjaro
  • Version: rolling release so no specific version number, but Linux kernel is 6.6.1

Additional context I was impatient and silly and didn't save the messages from the install log, but it mentioned being unable to find boot.efi and being unable to setup bless.

I'm guessing it's related to https://github.com/sickcodes/Docker-OSX/issues/511 and https://github.com/sickcodes/Docker-OSX/issues/714, which seems to occur because the installer tries to download an installer package for Apple Silicon processors.

I was able to work around this issue for now by installing macOS 12 Monterey instead (also with APFS).

Razzaline avatar Nov 18 '23 05:11 Razzaline