- VMware macOS Unlocker
- Create macOS virtual machine
- Add macOS image
- Install macOS
- Install VMware Tools
macOS is a proprietary operating system that runs on Apple Macs. There are now many techniques you can use to install macOS on your Intel PC (Hackintosh). From Windows, you can use Clover Boot Disk to create macOS High Sierra bootable USB with just a few clicks. But not all hardware is supported, and you also need to refer to a lot of documentation so that macOS can be installed and running on your computer.
An easier way to experience macOS right on a computer running Windows or Linux is to install macOS on VMware Workstation. The advantage of this is that you will be familiar with the installation and use without affecting the settings on the computer. By using virtual machines, you can use macOS and Windows or Linux simultaneously. Using virtual disks ensures that all data on the real disks will not be affected. But I noticed running macOS on the VM is very slow, although I set it up to 4GB of RAM.
This article will guide you how to install macOS high Sierra on VMware Workstation. I created a virtual disk containing the macOS installer, you just downloaded it, attached it to the virtual machine, and installed it. I’m not sure if VMware Workstation 12 supports macOS 10.13 virtual machines, but version 14 has support. I tested on VirtualBox and it does not work.
VMware macOS Unlocker
By default, VMware does not provide the option to create macOS and Mac OS X machines. Fortunately there is a tool that helps me unlock this option, this tool is VMware macOS Unlocker. It supports Windows, Linux and MacOS. Skip this step if you were able to create a macOS virtual machine.
- Go to the VMware macOS Unlocker page to download. Click the Clone or download button, then click Download ZIP.
- Power off all virtual machines running and exit VMware.
- Extract the downloaded .zip file in step 1.
- On Windows, right-click on the win-install.cmd file and select Run as Administrator to unlock. For Linux and macOS, run the lnx-install.sh or osx-install.sh files under root (not tested).
- After the unlock process is complete, run VMware to create the macOS virtual machine.
Create macOS virtual machine
Creating a macOS virtual machine is very simple, here are the steps to create a virtual machine on VMware Workstation:
- Click File, select New Virtual Machine…
- Select Typical (recommended) and click Next.
- Select I will install the operating system later. and click Next.
- Select Apple Mac OS X in the Guest operating system section and select macOS 10.13 in the Version section. Click Next.
- In the Name the Virtual Machine window, name the virtual machine and virtual machine directory. I personally would put it on a different drive than the system drive.
- Select the size for the new virtual disk in the Specify Disk Capacity window. This is the virtual disk to be installed macOS. Click Next and then Finish.
Add macOS image
After creating the virtual machine, we have a virtual disk to install macOS High Sierra. Now we just need to add a new virtual disk containing the macOS installer. You can also create a macOS bootable USB, then boot USB in VMware Workstation to install but using a virtual hard disk will be a lot simpler.
- Download the OSX_10.13.5_Installer.vmdk file. This is an installation image of macOS High Sierra. You do not need to use the Hackintosh ISO.
- Select the virtual machine just created, click on Edit virtual machine settings.
- In the Memory section, you can increase the value to make the virtual machine run faster. I increased it to 4096MB (4GB) but macOS still runs very slowly.
- Click Add…, then select Hard Disk and click Next.
- In the Select a Disk Type window, click Next.
- Select Use an existing virtual disk in the Select a Disk window and click Next to continue.
- In the Select an Existing Disk window, click Browse… to select the OSX_10.13.5_Installer.vmdk file that you downloaded in step 1.
- Click Finish, then click OK in the Virtual Machine Settings window.
Now you can boot the virtual machine to install macOS High Sierra. I encountered an error when I clicked the Power on this virtual machine button:
VMware Workstation unrecoverable error: (vcpu-0) vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1279
If you get the same error, you can fix this by adding the line “smc.version = “0”” to the “%ProgramData%\VMware\VMware Workstation\config.ini” file. The easiest way is to run Command Prompt under Admin (find cmd.exe, then right-click and select Run as Administrator), then run the following two commands:
echo.>>"%ProgramData%\VMware\VMware Workstation\config.ini" echo smc.version = "0">>"%ProgramData%\VMware\VMware Workstation\config.ini"
Ok, my virtual machine has booted, I’ve seen the screen to install macOS.
On the macOS Utilities screen, you need to run Disk Utility to create an APFS partition to install the macOS High Sierra.
- In the left column, you will see the virtual hard disk you created above (VMware Virtual…). Select it and click the Erase button.
- Under Name, enter a name for the new partition.
- macOS High Sierra requires a partition in APFS format for installation. Select APFS from the Format drop-down list. For older versions, select Mac OS Extended (Journaled).
- Click the Erase button to continue.
- Once you have an APFS partition, close Disk Utility to start installing macOS.
Go back to the macOS Utilities screen:
- Select Install macOS and then click the Continue button.
- Continue to select Continue, then Agree and Agree.
- In the next window, select the APFS partition you created above. Then click Install to install macOS High Sierra on VMware Workstation.
- The virtual machine will restart several times until it allows you to set up. Please be patient.
Once installed, you can remove the virtual hard disk that you added in the Add macOS image step. Open Virtual Machine Settings, select the disk and click the Remove button.
Install VMware Tools
It is very important that you install VMware Tools in the virtual machine. Installed VMware Tools will improve the performance and support for additional features. Learn more about installing VMware Tools for the macOS virtual machine at VMware’s Web site.
- Select the VM from the VMware menu, then select Install VMware Tools…
- VMware will automatically mount the darwin.iso file and the VMware Tools icon will appear on the virtual machine screen. Double click on this icon to install.
- Click the Open Security Preferences button if you see the message “System Extension Blocked“.
- You will see the message “System software from developer “VMware, Inc.” was blocked from loading.“. Click the Allow button.
- Restart the virtual machine.
So you have finished installing macOS High Sierra on VMware Workstation. Good luck!