Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install macOS on VMware: Full Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can install macOS on VMware Workstation or VMware Fusion, but only on Apple hardware or on a PC that supports the necessary CPU features (Intel VT-x/EPT). This guide walks you through the entire process, from downloading the installer to booting into a working macOS virtual machine. You'll need a macOS installer file (from the App Store or a recovery image), a VMware product, and a bit of patience. Note that Apple's license only permits macOS on Apple hardware, so this is for educational or development purposes on a Mac, or on a Hackintosh-compatible PC where you accept the legal risks.

What You'll Need

  • A VMware product: VMware Workstation Pro (Windows/Linux) or VMware Fusion (macOS). The free VMware Workstation Player does not support macOS guests.
  • A macOS installer file (e.g., macOS Sonoma, Ventura, Monterey) downloaded from the App Store on a Mac, or a recovery image (e.g., from a genuine Mac).
  • At least 40 GB of free disk space on the host, and 8 GB of RAM recommended for the VM.
  • An Intel or AMD CPU with virtualization extensions (VT-x/AMD-V) enabled in BIOS/UEFI. For newer macOS versions, an Intel CPU with AVX2 is required.
  • A tool to create a bootable ISO from the macOS installer (like createinstallmedia on a Mac, or a utility like gibMacOS on Windows).
  • Optional: a tool like darwin.iso (included with VMware) for VMware Tools installation later.

Step-by-Step

  1. Prepare the macOS installer ISO. On a Mac, download the macOS installer from the App Store. Then open Terminal and run:
    hdiutil create -o /tmp/macOS.iso -size 16GB -layout SPUD -fs HFS+J
    sudo hdiutil attach /tmp/macOS.iso -noverify -mountpoint /Volumes/install_build
    sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction
    Then detach and convert to ISO: hdiutil detach /Volumes/install_build and hdiutil convert /tmp/macOS.iso -format UDTO -o /tmp/macOS.cdr, then rename macOS.cdr to macOS.iso. If you're on Windows, use a tool like gibMacOS to download the installer and build an ISO.
  2. Create a new VM in VMware. Open VMware Workstation/Fusion, click Create a New Virtual Machine. Choose Installer disc image file (iso) and browse to your macOS ISO. If VMware asks for the guest operating system, select Apple Mac OS X and choose the version that matches your installer (e.g., macOS 14 for Sonoma). If macOS isn't listed, you may need to enable it via a VMX setting (see Common Mistakes).
  3. Configure VM settings. Allocate at least 4 GB RAM (8 GB recommended) and 2 CPU cores. For disk, choose Store virtual disk as a single file and set size to at least 40 GB. Ensure Enable virtualization engine is checked (VT-x/AMD-V).
  4. Edit the VMX file for compatibility. After creating the VM, locate the VMX file in the VM folder and open it with a text editor. Add these lines (if not already present):
    smc.version = "0"
    board-id = "Mac-4B7AC7E439B24FED" (or another valid Mac board ID)
    hw.model = "MacPro6,1"
    This tricks macOS into thinking it's running on genuine Apple hardware. Save the file.
  5. Power on the VM. Start the VM. It should boot from the ISO. If you see a black screen or a prohibited sign, you may need to adjust CPU settings (see Troubleshooting).
  6. Format the virtual disk. When the macOS installer loads, select your language, then open Disk Utility from the menu bar. Choose the virtual disk (usually named "VMware Virtual SATA Hard Drive"), click Erase, set format to APFS or Mac OS Extended (Journaled), and click Erase. Close Disk Utility.
  7. Install macOS. Click Install macOS and follow the on-screen prompts. Select the disk you just formatted as the destination. The installation may take 20-40 minutes and will reboot several times. Do not interrupt it.
  8. Complete setup. After installation, the VM will boot into the macOS setup assistant. Create your user account and complete the setup.
  9. Install VMware Tools. In the VM menu, click Install VMware Tools (or use the CD image). Run the installer inside macOS to enable better graphics, mouse integration, and shared folders.

Common Mistakes

  • Using VMware Player: Player doesn't support macOS guests. You need Workstation Pro or Fusion.
  • Not enabling virtualization in BIOS: If VT-x/AMD-V is off, macOS will fail to boot. Restart your PC, enter BIOS/UEFI, and enable Intel VT-x or AMD-V.
  • Incorrect board-id or smc.version: If you omit these VMX lines, macOS will refuse to install with an error like "This version of macOS is not supported on this platform."
  • Using an AMD CPU without patches: macOS does not natively support AMD CPUs. You may need extra kernel patches (like those from the AMD OS X community), which are beyond this guide's scope.
  • Not enough disk space: macOS requires at least 20 GB free after installation; allocate more to avoid issues.

Tips

  • Use a solid-state drive (SSD) for the VM folder to speed up installation and boot times.
  • Allocate at least 8 GB RAM if you plan to use Xcode or other heavy apps.
  • Keep a snapshot of the VM right after a clean install. If something breaks later, you can revert to that snapshot.
  • If you need network access, ensure the VM's network adapter is set to NAT or Bridged. VMware Tools improves network stability.
  • For better performance, set the VM's display to use 3D acceleration if your host GPU supports it.

Troubleshooting

  • Black screen at boot: This often happens due to CPU misconfiguration. In the VMX file, add cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011" and cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111" to spoof a genuine Intel CPU. Also try setting vhv.enable = "TRUE".
  • "macOS is not supported on this platform" error: Ensure the VMX lines (smc.version, board-id, hw.model) are correctly added. Also check that the macOS version you're installing is compatible with your VMware version; older VMware versions may not support the newest macOS.
  • Installation hangs at "About a minute remaining": This is common. Wait at least 10 minutes; if it stays stuck, force restart the VM (Power Off) and boot again. It should continue the installation.
  • No network after install: Install VMware Tools, which includes the network driver. If that fails, try setting the network adapter to e1000e instead of vmxnet3 in the VM settings.
  • VMware Tools installation fails: Download the correct darwin.iso for your VMware version and mount it manually. If it still fails, try installing in Safe Mode (hold Shift during boot) or disable System Integrity Protection (SIP) temporarily (not recommended for daily use).
  • If all else fails: Recreate the VM from scratch, double-check every step. Sometimes a wrong setting in the VMX file is the culprit.

Frequently Asked Questions

Is it legal to install macOS on VMware on a PC?

Apple's End User License Agreement only permits macOS on Apple-branded hardware. Running it on non-Apple hardware violates the license, even in a virtual machine. However, on a Mac, running macOS in VMware Fusion is perfectly legal.

Can I install macOS on VMware Player?

No. VMware Player does not support macOS as a guest operating system. You need VMware Workstation Pro or VMware Fusion.

Why does my AMD CPU fail to boot macOS?

macOS is designed for Intel CPUs. AMD CPUs require kernel patches that are not included in the standard installer. These patches are provided by community projects like AMD OS X, but they are not officially supported and can be unstable.

How much RAM and disk space do I need?

At least 4 GB RAM and 40 GB disk space are required. For smooth performance, 8 GB RAM and 60 GB disk are recommended.

Can I install the latest macOS version?

You can try, but you need a VMware version that supports that macOS release. Check VMware's compatibility matrix. Newer macOS versions may also require newer CPU features (like AVX2) that older CPUs lack.

Will macOS run fast in a VM?

Performance is decent if your host has a powerful CPU and enough RAM. Graphics acceleration is limited, so gaming or heavy graphics work will be slow. For basic development and testing, it's fine.