Run Mac Os In Hyper V

Last week Microsoft finally released their new Azure Virtual Machine series Dv3 and Ev3, besides being based on the latest Intel hardware, these machine are also running Windows Server 2016 as the host OS which supports nested virtualization. Why is that interesting you might ask? Well, it is interesting because now it is possible to run hyper visors inside an Azure VM. To me as a developer that is pretty cool, because now I can actually create a development machine in the cloud, install hyper-v on it and run my mobile emulators or even use docker for Windows, which is dependent on Hyper-V. Furthermore, as I’m going to show in this blog post, I can also install an open source Hypervisor like VirtualBox and use that to emulate a Mac, of course that can also be done on a local machine, but the benefit of running it in the cloud is that it can be online 24×7 which is great if you need a build or test server. (Beware that Apple licensing is probably not going to approve of this, but let’s save that concern for another day).

So what do you need:

  • You need 1 Azure VM based on Ev3 or Dv3, for my testing I used a Standard_E2_v3 hosted in West Europe (Currently the new machine are only in West US2, East US2, Southeast Asia and West Europe). I just picked Windows Data Center 2016 and installed everything from the azure portal. No ARM templates for my testing purpose.
  • Once the machine is provisioned, you need VirtualBox. You can download that from For some reason it downloaded super slow from Azure, so I downloaded i on my local machine and uploaded it through remote desktop.
  • With VirtualBox installed it is time, to install the operation system of your choice on your nested virtual machine. As I promised I’m going to install MacOS Sierra. Luckily, some more Apple Savy people have described how to do, the guide I followed are Basically the guide boils down to download a base image, then setup a VM in virtual box and do a few tweaks to it, to trick MacOS into thinking it is running on a Mac, and the boot the machine.
  • You can download the image from
  • When you create your new VM from the downloaded image select MacOS as type, and El Captain 64bit as the Version
  • The commands you are required to run using VBoxManage (which is found in C:Program FilesOracleVirtualBox) are VBoxManage.exe modifyvm 'macos' --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
    VBoxManage setextradata 'macos' 'VBoxInternal/Devices/efi/0/Config/DmiSystemProduct' 'iMac11,3'
    VBoxManage setextradata 'macos' 'VBoxInternal/Devices/efi/0/Config/DmiSystemVersion' '1.0'
    VBoxManage setextradata 'macos' 'VBoxInternal/Devices/efi/0/Config/DmiBoardProduct' 'Iloveapple'
    VBoxManage setextradata 'macos' 'VBoxInternal/Devices/smc/0/Config/DeviceKey' 'ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc'
    VBoxManage setextradata 'macos' 'VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC' 1

    Replace 'macos' with the name of the virtual machine you created.
  • Before you try to boot the machine be sure to increase the Video memory of the VM 128 MB, it will not boot with less.
Run Mac Os In Hyper VMac

This is all it takes to get MacOS up and running on Azure using nested virtualization and Virtual Box. If you are planning to do a lot of work on MacOS, I can recommend using a machine with SSD. Also note that the image linked to is not the latest version of Sierra, so you will have to run an update after the installation. If someone can point me to a public downloadable image of a more recent version please let me know in the comments.

Run Mac Os In Hyper V

Run Mac Os In Hyper V1

  1. OS X is licensed by hardware, the only potentially legal way to do it is if you're running Hyper-V on your Mac.You can't purchase. Oct 23, 2017 Having an Intel CPU is the easiest way to run a Mac OS X virtual machine.
  2. We were able to run Ubuntu 14.04 with Hyper-V on Windows 8.1 — no special configuration required. Hyper-V has other useful features, too. For example, checkpoints work like snapshots in VirtualBox or VMware. You can create a checkpoint and then revert your guest operating system’s state to that state later.
  3. Hyper V » Hyper-V » How to Use ISOs with Hyper-V 26 Jan 2016 by Eric Siron 9 It is possible to connect the host’s physical optical drive directly to a virtual machine for the purpose of loading operating systems and software, but, unless the host is right next to you, it’s not very practical.

Categories: SoftwareWindows Azure

Run A Mac Os Vm In Hyper V

Hyper-V supports several versions of Windows Server, Windows, and Linux distributions to run in virtual machines, as guest operating systems. This article covers supported Windows Server and Windows guest operating systems. For Linux and FreeBSD distributions, see Supported Linux and FreeBSD virtual machines for Hyper-V on Windows.