How to Install MacOS Sierra 10.12 final in VirtualBox on Windows 10

How to Install Mac OS Sierra 10.12 final in VirtualBox on Windows 10

Installing Mac OS Sierra 10.12 Final in Virtual Box on Windows 10

The latest version of Mac system software is macOS Sierra 10.12 final which comes with lots of useful features. Apple is adding unbelievable features to its OS day by day.

For example, Siri is one of the amazing features of macOS Sierra which is designed to make the mac desktop more attractive and smart one.

macos sierra

Moreover, you can now install macOS on Windows too. This macOS can be installed via VritualBox as an application in your PC.

PC Specifications to Install macOS Sierra:

If you are thinking to install macOS on your PC then must be sure that your PC has the following specifications at least

  • 4GB RAM
  • Dual core processor
  • 64-bit System

When you try to combine two operating systems on a single PC, it looks difficult anyways but not impossible at all. Through Virtual Box you can run another operating system on the same machine.

The operating system which runs through the Virtual Box will work like an application. The major benefit of combining two operating systems is to get advantages the best of both the operating systems.

Step # 1: Creating a macOS Sierra ISO file

First of all we need to create an ISO file of macOS Sierra’s Installer. This ISO file must be loaded to the Virtual box of the PC.

  • Go to the Mac App Store and Search for Sierra
  • Click on Download
Donwload macOS Siera
  • After completing the process of downloading, the installer will install it in PC
  • Do not upgrade the Mac just you need the downloaded files
  • Go to Application > Utilities to get Terminal which can be used to convert the files into ISO files
  • Paste the following command in Terminal and tap on Enter

hdiutil attach /Applications/Install\ macOS\ -noverify -nobrowse -mountpoint             /Volumes/install_app

  • This will increase the bootable section of the installer which are downloaded as a virtual disk
ISO macOS seira making Bootable disk
  • To create the blank disk image, run the following command

hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J

  • Mount your blank image with the help of the following command

hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

  • Now move to restore BaseSystem.dmg from the mounted installer over to mounted image

asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

  • When you erase some unnecessary files from newly restored derive, you will see the name of your destination mount point which will be “OS\ X\ Base\ System/System,”

rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages

  • You have to copy some more files that are needed
  1. cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/ cp -rp
  2. /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist3. cp -rp
  3. /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg
  • Now, Unmount the two images with following commands
  1. hdiutil detach /Volumes/install_app
  2. hdiutil detach /Volumes/OS\ X\ Base\ System
  • Here, convert the image into ISO file

hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso

  • Move this ISO to the desktop

mv /tmp/Sierra.iso.cdr ~/Desktop/Sierra.iso

  • Finally, we have got bootable Sierra ISO file


  • Copy this sierra ISO file to the Window machine

Step # 2: Creating Virtual Machine in Virtual Box

  • Open your Windows machine and install the latest version of Virtual Box
  • Open the Virtual Box and click on New This will ask you the new name of Virtual machine. Put the name “macOS Sierra”
  • Select “Mac OS X” for operating system and “Mac OS X(64-bit)”
Create Virtual Machine in VirtualBox
  • The recommended memory size must be 4096MB so that you can work more if the RAM is enough
Creating Virtual Machine allocating Memory size
  • Now, it will ask about the hard derive which you have to select “Create a Virtual Hard Disk Now” and tap on Create
Creating Virtual Machine in allocating hard disk
  • The type of the hard disk must be VDI and click on Two options will be in front of you about the size of drive:
  1. Dynamically allocated
  2. Fixed size

I recommend you “Fixed size” because it is faster but it takes more space

siera macOS storage allocation
  • After the click on Next button, you’ll be asked for drive capacity which I recommend you to choose 25GB because it is enough for OS. You can select more than this capacity but less than this is not recommended
  • Click through the prompts that means you have created an entry for virtual machine

Step # 3: Configuring Virtual Machine in VirtualBox

  • It time to configure out the virtual machine. You can see virtual machine in the main window of the Virtual Box
Configuring Virtual Machine Macos siera in VirtualBox
  • Select your virtual machine which you name “macOS Sierra” and tap on Settings button
  • Go to the System situated at the left sidebar
  • On the motherboard tab, be sure that “Floppy” is unchecked
macos siera virtual machine settings
  • In the System tab go to the Processor where you have to make sure that two CPUs are allocated to the virtual machine
Configuring Virtual Machine in VirtualBox allocating processor and other resources
  • Now, go to the Display option situated at the left sidebar of the Settings window
  • Here, you have to be sure that video memory is set to 128MB
Configuring Virtual Machine in VirtualBox allocating video memory
  • Now, go to the Storage option which is situated at the left sidebar
  • Click at Empty CD drive
  • Tap on CD icon which is presented at the top right and browse the ISO file you created earlier
macos siera sata drive
  • When you done with all the options click on OK to save the changes you have made

Step # 4: Configuring Virtual Machine from the Command Prompt

We did some adjustments with some options but still we need some more adjustments to convince the OS that it is running on a real Mac. Unfortunately, Virtual Box not provide these options. So, we have to work in Command Prompt.

  • Open the Command Prompt
  • You have to paste the following commands one by one and press Enter after pasting every single command

1. cd “C:\Program Files\Oracle\VirtualBox\”
2. VBoxManage.exe modifyvm “macOS Sierra” –cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
3. VBoxManage setextradata “macOS Sierra” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “MacBookPro11,3”
4. VBoxManage setextradata “macOS Sierra” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
5. VBoxManage setextradata “macOS Sierra” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Mac-2BD1B31983FE1663”
6. VBoxManage setextradata “macOS Sierra” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
7. VBoxManage setextradata “macOS Sierra” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1

vmbox setextradata macos
  • After doing all this, when you find everything working fine, close the Command Prompt because now, we have to go back to the VirtualBox for more actions

Step # 5: Installing macOS Sierra in Virtual Machine

  • Again open VirtualBox
  • Select macOS Sierra and click on Start
  • Booting will be started on your machine. Here, you can see the superfluous information for which you have not to worry because it is still normal things but when an error hangs for five minutes, you have to take it serious and run it again
  • When you do everything right, it must boot


Installing macOS Sierra in Virtual Machine
  • Instantly, Installer will ask you to choose the appropriate language for you
macOS virtual machine welcome screen
  • You can pick out English or any other language which you can get understand
  • After picking out the language you have to press the Next button
  • Click on “Utilities” and then Disk Utility
macos siera disk utility
  • Click on the drive labeled “VBOX HARDDISK” and then click on “Erase”
erasing vbox harddisk media
  • Name this drive as “Macintosh HD”
  • Leave the other two settings as they are (“Mac OS Extended Journaled” and “GUID Partition Map”)
  • Click on Erase button and shut the Disk Utility when the process completed
  • Again come to the Installer and click on Next button
  • Then click on “Macintosh HD” when asked
installing macOS
  • The installation will start within a second and it can take a while to be installed
  • After this re-booting will be start into macOS
  • When Sierra boot it will ask you about your country, time zone and other basic information
macOS virtual machine welcome screen
  • Within few seconds you will see a Mac window which means that your system is ready and you can install any Mac software. Still you should know that Apple doesn’t show your machine a real machine.

Step # 6: Changing Resolution

It is an optional step which can be taken according to the screen of your machine’s monitor.

  • The default resolution is 1024 × 768
  • When you need to change the resolution, you have to paste some commands
  • First of all, shut down your virtual machine by shutting down macOS
  • Select Apple, from the menu and click on “Shut Down” close the VirtualBox(with open VirtualBox this step will not work)
  • Go to Window Command Prompt where you need to paste the following two commands

cd “C:\Program Files\Oracle\VirtualBox\”

VBoxManage setextradata “macOS Sierra” “VBoxInternal2/EfiGopMode” N

  • In the second command you can replace “N” with the number from 1 to 5 of different resolution
  1. “1” shows the resolution of 800 × 600
  2. “2” shows the resolution of 1024 × 768
  3. “3” shows the resolution of 1280 × 1024
  4. “4” shows the resolution of 1440 × 900
  5. “5” shows the resolution of 1920 × 1200
  • Start VirtualBox and load the Virtual machine. It will boot your customized resolution

From here, you can open VirtualBox for any Mac related testing which you want to do. You will see errors during the booting time but its fine for your system. Note that the audio doesn’t work for the system with VirtualBox.

Hopefully, this article will help you a lot to use the macOS software in a Windows based system. You can share your precious experience with us via comm

Tags : How to Install Mac OS Sierra 10.12 final in VirtualBox on Windows 10Install Mac OS Sierra Windows 10Windows 10 macOS siera installation step by step

The author admin


Leave a Response