Install macOS Sonoma on Windows Without a Virtual Machine
In this article
You can install macOS Sonoma on a Windows PC without a virtual machine by using a bootable USB drive and a bootloader like OpenCore. This creates a dual-boot setup where you choose between Windows and macOS at startup. It requires a compatible PC, a spare USB drive (16GB or larger), and a genuine macOS installer downloaded from Apple. This guide covers the process, common pitfalls, and troubleshooting.
What You'll Need
- A Windows PC with an Intel or AMD CPU (AMD requires extra bootloader patches; Intel is easier).
- At least 60GB of free disk space on your internal drive (or a second internal drive).
- A USB drive (16GB or larger) for the bootloader and installer.
- Another Mac or a virtual machine on Windows to download the macOS installer (you can also use a pre-downloaded installer from a trusted source).
- OpenCore bootloader files (download the latest release from the official OpenCore project).
- Proper Kexts (drivers) for your hardware: Lilu, VirtualSMC, WhateverGreen (for graphics), AppleALC (for audio), IntelMausi or RealtekRTL8111 (for Ethernet), and USBInjectAll (for USB).
- PropertyList editor (like PlistEdit Pro on Mac, or a text editor on Windows) to edit config.plist.
- Disk utility to create partitions (Windows Disk Management or a third-party tool like MiniTool Partition Wizard).
Step-by-Step
- Download macOS Sonoma installer. On a Mac, open the App Store and search for “macOS Sonoma.” Click “Get” to download the full installer (it will be about 13GB). If you don’t have a Mac, you can use a virtual machine on Windows (like VirtualBox) to download it, but note that the installer will be saved inside the VM—copy it to a shared folder. Alternatively, you can find the installer on a trusted site, but verify its checksum.
- Format the USB drive. On the Mac, open Disk Utility, select the USB drive, click “Erase,” choose “Mac OS Extended (Journaled)” as the format, and “GUID Partition Map” as the scheme. On Windows, you can use a tool like TransMac to format the USB as Mac OS Extended, but it’s easier to do this step on a Mac or VM.
- Create the bootable USB. In Terminal on the Mac, run the command:
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/MyUSB(replace “MyUSB” with your USB name). This will copy the installer to the USB. Wait until it finishes. - Download OpenCore and required kexts. Go to the OpenCore project’s GitHub page and download the latest release. Also download the latest kexts from their respective repositories (Lilu, VirtualSMC, etc.). Unzip them all.
- Mount the EFI partition of the USB. On the Mac, run
diskutil listto find the USB’s disk identifier (e.g., disk2). Then rundiskutil mount disk2s1to mount the EFI partition. It will appear on the desktop. - Copy OpenCore to the EFI partition. In Finder, open the OpenCore folder you downloaded, and copy the “EFI” folder to the mounted EFI partition. Inside that EFI folder, there is a “OC” folder. You will replace the default “config.plist” with one tailored to your hardware.
- Place the kexts. Copy the kext folders (e.g., Lilu.kext, VirtualSMC.kext) into the “EFI/OC/Kexts” folder on the USB.
- Edit config.plist. This is the most critical step. Open the sample config.plist from the OpenCore package (in “Docs/Sample.plist”) with a plist editor. You must set the correct values for:
- ACPI: Add DSDT patches if needed (usually none for desktops).
- Boot: Set “PickerAttributes” to 1 for a visible menu.
- DeviceProperties: Add GPU properties (for Intel iGPU, set “ig-platform-id” to a Sonoma-compatible value like 0x3E920003 for Coffee Lake).
- Kernel: Add kexts in the correct order (Lilu first, then VirtualSMC, then others).
- Misc: Set “Security” > “AllowSetDefault” to true, and “BootProtect” to “None”.
- NVRAM: Add boot-args like “-v” for verbose mode during first boot.
- PlatformInfo: Generate a unique SMBIOS (e.g., iMac19,1) using a tool like GenSMBIOS.
- Prepare the Windows disk. In Windows, open Disk Management (right-click Start > Disk Management). Shrink your Windows partition by at least 60GB (right-click the C: drive, choose “Shrink Volume”). Leave the unallocated space. Do not format it yet.
- Reboot and boot from USB. Restart your PC and enter the boot menu (usually F12, F2, or Esc). Select the USB drive. OpenCore’s picker should appear. Select “macOS Sonoma” (the installer).
- Install macOS. The installer will load. Open Disk Utility from the Utilities menu, select the unallocated space on your internal drive, and format it as “APFS” or “Mac OS Extended (Journaled)” (APFS is recommended for Sonoma). Close Disk Utility, then select “Install macOS Sonoma” and follow the prompts. The installer will copy files and reboot automatically. After reboot, select the same USB drive again, and this time choose the boot drive (the one you just installed macOS on) from the OpenCore picker. Continue setup until you reach the desktop.
- Finalize dual-boot. Once macOS is running, you can install OpenCore to the internal EFI partition so you don’t need the USB every time. Mount the internal EFI partition (using a tool like MountEFI), copy the EFI folder from the USB to it, and set the boot order in BIOS to prioritize the internal EFI. You may also need to add a Windows entry to OpenCore’s picker (it usually appears automatically if you have a valid Windows bootloader).
Common Mistakes
- Using an incompatible SMBIOS: For Sonoma, use a SMBIOS that is supported (e.g., iMac19,1 for Intel Coffee Lake). Check OpenCore’s documentation.
- Forgetting to add the correct kexts: Without Lilu and VirtualSMC, macOS won’t boot. Without WhateverGreen, you’ll get a black screen.
- Incorrect config.plist syntax: A missing comma or a wrong data type will cause boot failure. Validate your plist with a plist editor.
- Not disabling Secure Boot in BIOS: Set Secure Boot to “Disabled” or “Other OS” in your BIOS/UEFI settings.
- Shrinking the Windows partition too small: macOS needs at least 30GB to install, but 60GB is safer.
Tips
- Use a wired keyboard and mouse during installation to avoid Bluetooth issues.
- Keep the USB drive plugged in until you have installed OpenCore to the internal drive.
- Make a backup of your Windows system before starting, in case something goes wrong.
- If you have an NVIDIA GPU, note that Sonoma does not support NVIDIA drivers on most cards; use an AMD GPU or Intel iGPU instead.
- For AMD CPUs, you need additional kernel patches (e.g., “algrey” patches) which are more complex—research your specific CPU.
Troubleshooting
Stuck at Apple logo or black screen: Boot with “-v” to see verbose logs. Common causes: missing kexts, wrong GPU properties, or incorrect framebuffer. Double-check your DeviceProperties.
“No bootable device” error: Your BIOS may not be set to UEFI mode. Ensure UEFI boot is enabled and Secure Boot is disabled.
macOS installer doesn’t see your internal drive: Your SATA controller may need a kext (like SATA-unsupported.kext) or you need to set the BIOS to AHCI mode.
Wi-Fi not working: Many Windows Wi-Fi cards are not supported. Use an Ethernet cable or a compatible USB Wi-Fi adapter (like those with Realtek RTL8812AU chipset).
Audio not working: Ensure AppleALC.kext is installed and you have the correct layout-id in DeviceProperties. Try different layout IDs (e.g., 1, 2, 3) until one works.
Boot loop after installation: Reboot from the USB and select the internal drive. If it still loops, boot with “-x” (safe mode) and fix the issue.
Frequently Asked Questions
Is this legal?
Installing macOS on non-Apple hardware violates Apple’s End User License Agreement (EULA). It’s not illegal, but it’s against Apple’s terms. Use it for personal experimentation.
Will I lose Windows?
No, you’ll have a dual-boot system. You choose which OS to boot at startup. However, always back up important data before partitioning.
Can I use an AMD CPU?
Yes, but it’s more complicated. You need to apply kernel patches and use a special kernel extension. It’s recommended for advanced users only.
Do I need a Mac to download the installer?
Yes, the official installer is only available from the Mac App Store. You can use a virtual machine on Windows to download it, but it’s a lengthy process. Some third-party sites host the installer, but verify their authenticity.
Will my laptop work?
Laptops are more challenging due to proprietary hardware (Wi-Fi, audio, keyboard, trackpad). Desktops with common components (Intel CPU, AMD GPU) have the highest success rate. Check your hardware against the OpenCore compatibility list.
How do I update macOS Sonoma after installation?
You can update through System Settings > General > Software Update. However, major updates may break your system, so always back up and re-apply any necessary kexts or patches after updating.