Highly engineered. Optimized kernel. Intelligent boot engine.
Everything you need is in one place. Clone, configure, and boot — no extra setup required.
git clone https://github.com/ltnproject/OSX4VM.git
cd OSX4VM
A hand-crafted configuration tuned for maximum responsiveness and real Mac-like behavior.
OpenCore/config.plist
Get the latest macOS versions directly from Apple with zero overhead and perfect verification.
python3 fetch_macos.py
The engine analyzes your host and tunes the VM for peak stability before every boot.
./boot.sh
Four steps from zero to a running macOS virtual machine.
Run the optimized fetcher to download the official macOS Recovery image directly from Apple's servers. Support for Tahoe (26) is included.
python3 fetch_macos.py
Prepare a high-performance QCOW2 virtual disk for your macOS installation. 64 GB minimum, 128 GB recommended.
qemu-img create -f qcow2 mac_hdd.qcow2 128G
Launch the master boot engine. It automatically detects your hardware, verifies KVM health, and optimizes memory mapping for your host.
chmod +x boot.sh && ./boot.sh
Once OpenCore loads, select macOS Base System. Use Disk Utility to format your virtual drive as APFS, then proceed with the standard installation. Reboot when prompted.
Follow these steps to enable hardware virtualization on your system — required for running virtual machines, emulators, and AI sandbox environments.
Before entering BIOS, check if virtualization is already active on Windows:
# Press Ctrl + Shift + Esc
Task Manager → Performance → CPU
# Look for "Virtualization: Enabled" at the bottom
Restart your computer. As it boots, repeatedly press the BIOS key for your manufacturer:
Inside BIOS/UEFI, navigate using your keyboard. The virtualization option is typically found under one of these menus:
Look for an option labeled:
Select the virtualization option and change its value to Enabled. Then save and exit:
# Save and exit shortcut
Press F10 → Confirm with Yes / Enter
Your computer will reboot automatically. Let it boot normally back into Windows or your OS.
After booting back in, verify the change worked:
Task Manager → Performance → CPU
# "Virtualization: Enabled" should now appear
Alternatively, on Windows run in Command Prompt:
systeminfo | findstr "Hyper-V Requirements"
# Should show: VM Monitor Mode Extensions: Yes