Run one OS inside another: WSL, QEMU and macOS on Windows

10 steps · about 2 h 55 min · Intermediate

  1. What Is Virtualization? VMs, Hypervisors & Cloud-Native Virtualization Explained (video, YouTube, 15 min)

    Start with the core idea: one physical machine running isolated virtual machines, coordinated by a hypervisor.

  2. Virtualization Explained: Type 1 vs Type 2 Hypervisors (video, YouTube, 20 min)

    Adds the Type 1 vs Type 2 split, which you need to understand how a background VM sits on a Windows host.

  3. What is Windows Subsystem for Linux (doc, Microsoft Learn, 10 min)

    WSM is modelled on WSL, so read the official description of how WSL 2 runs a Linux kernel in a lightweight utility VM.

  4. Windows Subsystem for Linux Explained, WSL & WSL2 (article, Linuxiac, 10 min)

    Compares WSL1's translation layer with WSL2's real VM, the two designs you could use to run foreign apps on Windows.

  5. Introduction — QEMU documentation (doc, QEMU project, 20 min)

    WSM is built on QEMU, so learn what system emulation is and how accelerators such as KVM and TCG fit in.

  6. System Emulation — QEMU documentation (reference, QEMU project, 30 min)

    Skim the machine, device, disk image and network options that a launcher like WSM has to configure for you.

  7. Getting Started — OpenCore Install Guide (guide, Dortania, 20 min)

    WSM also uses OpenCore, so see why a bootloader is needed to make non-Apple hardware look like a Mac.

  8. Getting started with OpenCore (guide, Dortania, 15 min)

    Shows how much hardware knowledge macOS on a PC demands, and why a one-click wrapper is hard to build.

  9. mxhm11cr/WSM: Run macOS applications on your Windows desktop (repo, GitHub (mxhm11cr), 25 min)

    Now read a real project: its src folders split out runtime, compositor, guest agent and protocol, and you can map each to what you learned.

  10. Is Hackintosh Legal? EULA, Risks & Safety Explained (article, Hackintosh Builder, 10 min)

    Finish with the licence side: Apple's terms tie macOS to Apple hardware, which matters for any tool like WSM.