Smart Systems for Home

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

Dual Boot macOS and Windows on a PC: Step-by-Step

· 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

You can install macOS on a standard Windows PC (a Hackintosh) and set up a dual boot so you choose which operating system to start at power-on. This guide covers the full process: preparing your hardware, creating a bootable macOS USB installer, installing macOS, then adding Windows as a second boot option. Note: this is legal for personal use, but Apple does not support macOS on non-Apple hardware, and you must own a legitimate copy of macOS. The steps below are for Intel-based PCs; macOS does not run on AMD or ARM PCs.

What You'll Need

  • A PC with an Intel CPU (Core i3/i5/i7/i9, 4th gen or newer) and a compatible GPU (Intel HD Graphics 4000 or newer, or a supported AMD Radeon card; NVIDIA GPUs are not supported in recent macOS versions).
  • At least 16GB USB flash drive (will be erased).
  • A second internal drive (or a large single drive) with at least 60GB free for macOS and 60GB for Windows.
  • Access to a real Mac (or a working Hackintosh) to download macOS and create the installer.
  • OpenCore bootloader (free, open-source) and its configuration tools.
  • Windows 10 or 11 installation media (USB or ISO).
  • Patience and a willingness to troubleshoot.

Step-by-Step

  1. Check hardware compatibility. Visit the OpenCore guide (Dortania's OpenCore Install Guide) and verify your CPU, motherboard, GPU, and Wi-Fi/Bluetooth chips are supported. This is the single most important step—unsupported hardware will lead to boot failures.
  2. Back up your entire PC. Dual booting involves partitioning and formatting drives. Use a full disk image backup (e.g., Macrium Reflect Free) and store it on an external drive.
  3. Prepare your BIOS/UEFI settings. Restart your PC, enter the BIOS (usually by pressing Del or F2), and set: SATA mode to AHCI (not RAID), disable Secure Boot, enable CSM (Compatibility Support Module) if your motherboard has it, and set UEFI boot mode (not Legacy). Save and exit.
  4. On a real Mac, download macOS. Open the App Store and search for the latest macOS version (e.g., Sonoma). Click Get/Download—it will download to your Applications folder.
  5. Create a bootable macOS USB installer. On the Mac, open Terminal and run: sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/USB (replace the app name with the version you downloaded). This erases the USB drive and copies the installer.
  6. Install OpenCore on the USB. Download the latest OpenCore release and the EFI folder from the Dortania guide. Use a tool like OpenCore Configurator to edit the config.plist file to match your hardware (follow the guide's per-hardware steps). Mount the USB's EFI partition (using a tool like MountEFI) and copy the entire OpenCore EFI folder to it.
  7. Boot from the USB on your PC. Insert the USB, restart, and press the boot menu key (F12, F11, or Esc) to select the USB drive. You should see the OpenCore picker. Select the macOS installer.
  8. Partition your drive for macOS. In the macOS installer, open Disk Utility. Select your internal drive (not the USB), click Erase, and choose APFS (or Mac OS Extended Journaled for older macOS) with GUID Partition Map. This erases the whole drive—make sure you backed up. Name it "Macintosh HD".
  9. Install macOS. Close Disk Utility, select "Install macOS", and choose the partition you just created. Follow the on-screen prompts. The PC will restart several times; always boot from the USB again until the install completes.
  10. Boot into macOS from the internal drive. After installation, restart and boot from the USB again. In OpenCore, select your internal drive (now named "macOS"). You should boot into the macOS desktop.
  11. Install OpenCore to the internal drive. Mount the EFI partition of your internal drive (using MountEFI or in Terminal) and copy the same EFI folder from the USB to it. This makes your PC bootable without the USB.
  12. Create a partition for Windows. In macOS, open Disk Utility, select your internal drive, and click Partition. Add a new partition (choose MS-DOS (FAT) or ExFAT for now) and size it for Windows (at least 60GB). Apply.
  13. Create a Windows installation USB. On a Windows PC or the Mac, download the Windows Media Creation Tool, and create a bootable USB drive (8GB+).
  14. Boot into Windows installer. Restart your PC, boot from the Windows USB. When asked for a drive, select the partition you created for Windows (it will be the one that is not the macOS partition). If it shows "Unallocated Space", that's fine—select it and click Format, then Next. Windows will install.
  15. Set up OpenCore as the primary boot manager. After Windows installs, your PC will boot directly to Windows. Restart, enter the BIOS, and set the boot order to boot from your internal drive (the one with OpenCore) first. Save and exit.
  16. Finalize the boot menu. When you boot, OpenCore will show both macOS and Windows as options. You can set a default timeout in the config.plist (e.g., Timeout = 5 seconds).

Common Mistakes

  • Using a laptop with unsupported Wi-Fi or GPU—check before starting.
  • Forgetting to disable Secure Boot—macOS won't boot with it on.
  • Not setting SATA to AHCI—causes kernel panics.
  • Erasing the wrong drive—always double-check the disk identifier.
  • Installing Windows after macOS without creating a separate partition—Windows will overwrite the bootloader.
  • Copying a pre-made EFI folder without adjusting for your exact hardware—every motherboard is different.

Tips

  • Use a dedicated SSD for each OS if possible—it simplifies partitioning and reduces risk.
  • Keep your USB installer handy for recovery—you'll need it for troubleshooting.
  • Back up your OpenCore EFI folder to a cloud drive—if it gets corrupted, you can restore it.
  • Update OpenCore and kexts (like Lilu and WhateverGreen) gradually—don't jump to the latest version without checking compatibility.
  • Use the OpenCore guide's "Check your config" tool to validate your plist before booting.
  • If you have an NVIDIA GPU, use it only for Windows—macOS will use the Intel iGPU.

Troubleshooting

If you can't boot from the USB: Check your BIOS boot order, ensure CSM is enabled, and try a different USB port (USB 2.0 is more reliable). If OpenCore shows a black screen, your GPU is likely unsupported—try adding -igfxvesa boot argument for Intel graphics.

If macOS kernel panics during install: Note the error message. Common fixes: add -v to see verbose logs, update your kexts, or try a different SMBIOS (e.g., iMacPro1,1 instead of MacPro7,1).

If Windows doesn't appear in OpenCore: Ensure the Windows partition is NTFS and that OpenCore's ScanPolicy is set to allow it (default is fine). You may need to run sudo nvram boot-args="-no_compat_check" in macOS if Windows boots to a blue screen.

If you can't boot Windows after installing macOS: This happens when macOS's bootloader overwrites the Windows one. Boot from the Windows USB, go to Repair > Troubleshoot > Command Prompt, and run bootrec /fixmbr and bootrec /rebuildbcd. Then re-install OpenCore EFI.

If your Wi-Fi doesn't work in macOS: Your Wi-Fi chip is likely unsupported. Buy a compatible USB Wi-Fi adapter (e.g., based on Realtek RTL8811AU) and install its macOS driver.

Frequently Asked Questions

Is dual booting macOS on a PC legal?

Technically, it violates Apple's End User License Agreement, but it is not illegal for personal use. You must own a legitimate copy of macOS (downloaded from Apple).

Can I use an AMD CPU?

No—macOS is not designed for AMD CPUs, and the kernel patches are unstable. Stick with Intel.

Will macOS updates break my Hackintosh?

Yes, often. Before updating, read the OpenCore guide's update notes and always back up your EFI folder. Wait a few days after a release to see if others report issues.

Can I still receive security updates?

Yes, you can install macOS updates through System Settings, but they may require re-applying kext patches. Do not install updates that change the kernel without checking the guide.

How do I remove the dual boot and go back to Windows only?

Back up your data, then use Windows Disk Management to delete the macOS partition, and use a tool like EasyBCD to fix the bootloader. Or simply format the entire drive and reinstall Windows.

Do I need a separate drive for each OS?

No, but it's strongly recommended. A single drive works, but partitioning errors can wipe both OSes. Two drives make the process safer and easier to troubleshoot.