Skip to content

Instantly share code, notes, and snippets.

@dikeckaan
Created March 13, 2025 14:07
Vmware Hackintosh Tutorial

macOS Virtual Machine Setup (VMware Workstation)

This guide provides step-by-step instructions for running macOS on VMware Workstation.

1. Update and Install VMware Workstation

First, download and install the latest version of VMware Workstation. For example, I used version 17.6.3.

2. Enable macOS Support (Unlocker)

To enable macOS support in VMware, download and extract the BDisp/unlocker repository. Then, run win-install.bat as Administrator.

3. Install QEMU

Download and install the latest Windows version of QEMU from the official website.

4. Prepare macOS Recovery Disk

Use the Utils section of the macrecovery tool from the OpenCorePkg repository to create the necessary macOS recovery disk.

4.1 Download macOS Recovery Disk

Run the following commands to create and navigate to the necessary directory:

mkdir macrecovery
cd macrecovery
git clone https://github.com/acidanthera/OpenCorePkg.git
cd OpenCorePkg/Utilities/macrecovery

Then, execute the following command to download the macOS recovery image for your version:

python macrecovery.py -b Mac-XXX -m MACMODEL -os latest

4.2 Convert Recovery Disk to VMDK Format

Open Command Prompt and run:

cd "C:\Program Files\qemu"
qemu-img convert -O vmdk -o compat6 BaseSystem.dmg recovery.vmdk

This will convert BaseSystem.dmg to a VMware-compatible VMDK file.

5. Create a VMware Virtual Machine

  1. Open VMware Workstation and select Create a New Virtual Machine.
  2. Choose "Typical" or "Custom" setup.
  3. Select Apple Mac OS X as the operating system.
  4. Do not select an ISO file. Choose "I will install the operating system later".
  5. Configure virtual machine settings (RAM, CPU, disk, etc.) and finalize the creation.
  6. Do not start the machine yet.

6. Add the Recovery Disk to VMware

  1. Open the virtual machine settings.
  2. Add a New Disk.
  3. Select SATA as the type.
  4. Choose Use an existing disk.
  5. Select the recovery.vmdk file you created earlier.

7. Start macOS Installation

  1. Start the virtual machine.
  2. Follow the macOS installation process.
  3. Once the installation is complete, your system will be ready to use.

By following these steps, you can successfully run macOS on VMware Workstation. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment