Jump to content
  • 0
Andrew Pennebaker

[Solved] [VMware] [High Sierra] "An error occurred installing macOS"?

Question

Yo! I'm trying to install High Sierra in VMware Fusion for a command line driven Vagrant box, in order to make it easier to compile applications for macOS. I actually managed to automate macOS installation entirely with PC-compatible keyboard input in packer! Unfortunately, the boot after SetupAssistant always fails:

 

Trace

 

Installing: About 15 minutes remaining

...

Installing on "Macintosh HD"

...

An error occurred installing macOS. To use Apple Diagnostics to check your Mac hardware, shut down, press the power button, and immediately hold the 'D' key until diagnostics begins.

Quit the installer to restart your computer and try again.

Restart

 

Screenshots
https://i.imgur.com/Fezqad1.png

https://i.imgur.com/ZMe6VUn.png

https://i.imgur.com/4UpW4lc.png

 

System Specs

 

  • Guest OS: macOS 10.13 High Sierra
  • Host OS: macOS 10.13 High Sierra
  • Hypervisor: VMware Fusion 10
  • Physical hardware: mid-2013 13" MacBook Air

 

Configuration

 

VMX: https://gist.github.com/mcandre/df4a69809afb8103ef37ae32371c6e23

 

ISO generation scripts, packer configuration, and VMX settings are available as a work-in-progress "macos" branch in my packer templates repository:

 

https://github.com/mcandre/packer-templates/tree/macos

 

Mitigation steps attempted

 

I've already tried:

 

  • Re-generating the installer ISO image.
  • Re-running the packer VM build.
  • Tweaking VMX settings.
  • Disabling SMC (which results in a VM that never finishes booting).
  • Increasing virtual RAM to 4GB.
  • Specifying the virtual hard drive as a solid state drive.
  • Using VirtualBox (unfortunately, packer sends the wrong scancodes to VirtualBox for macOS guests, so packer + macOS guests + VirtualBox doesn't integrate very well at the moment).
  • Pressing 'D' during boot (no change in behavior, no diagnostics displayed).

 

I'm new to hackintoshing, so I'm not sure if I'm missing some critical VMX configuration, or perhaps if High Sierra introduces further complications compared to earlier editions of macOS. Or even if an alternative EFI bootloader (Clover?) is necessary, I just don't know. I'd prefer to install macOS with as vanilla/default a configuration as possible.

 

If anyone else has experience getting macOS to boot in VMware, let me know how the VMX configuration can be improved, or if some kind of SMC toggling intervention is necessary to get the thing to boot better. I've already tossed so many hacks and workarounds into the mix that I'm starting to run out of ideas :P

 

Also posting this to InsanelyMac and Reddit just in case someone there can help, too!

Edited by Andrew Pennebaker
add full VMX for better debugging

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Virtual box and vmware total diff installation method.Yo u have to have diff setup for them.

I made a guide of it for until 10.12 it should work on new.I havent got the time to test for newer os.But you can try old guide.All you have to do use new version unlocker.

 

good hack.keep us posted

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.