VirtualBox

How to Install macOS Sierra Final on VirtualBox on Windows

Written by John

Apple has announced the Mac OS Sierra as the next version of Mac system software. During its presentation that took place at the WWDC 2016 conference, the new macOS sierra was versioned as Mac OS X 10.12 and will be accessible as a free copy for all compatible Macs. The Mac OS 10.12 final comes with a lot of amazing features. One major feature is the debut that Siri makes on the Mac. Siri has been designed with new capabilities for the Mac desktop. This is the only way to make the Mac desktop a smart device. Now, You can install macOS Sierra on Windows.

VirtualBox is capable of installing a macOS on your computer as an application. it works perfectly well with Sierra and in order to run macOS on windows, you need a computer with windows that has to be 64-bit, at least 4GB RAM and a dual-core processor. Installing macOS Sierra in VirtualBox is very easy; you download virtual disk and open it with VirtualBox, then create a new virtual machine. Here are the steps to install macOS Sierra on VirtualBox on Windows.

Steps to Use macOS 10.12 Sierra on VirtualBox on Windows

Step 1: Downloading Sierra for Mac App Store

Sierra is the hottest sensation for Mac lovers and with good reason. Are you wondering how to create a macOS Sierra ISO file? Sierra is available for free on the Mac App Store which you must obviously use a Mac to access.

Before heading to the store, make sure that you have a good internet connection and that the date and time of your device are correct. If your internet connection isn't stable, you will have trouble getting to the Mac App Store. You will experience the same problem if your computer's calendar is not up to date.

Once on the App Store, search for Sierra or click on this link to download macOS 10.12 Sierra. Click on "Download" button, wait for the download process to start. Once the download is complete, the installer will launch, be sure not to install.

Read more: How to Download macOS Installer in Virtual Machine

Step 2: Creating a Sierra ISO File

Move your “macOS Sierra.app” to Application folder, for conversion to be possible, you will require to use the Terminal. To access it, go to Applications > Utilities.

# Mount DMG Installer to macOS
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/Install

# Create a DMG Disk
hdiutil create -o /tmp/sierra -size 7900m -volname sierra -layout SPUD -fs HFS+J

# Mount Sierra.dmg disk to your macOS
hdiutil attach /tmp/sierra.dmg -noverify -mountpoint /Volumes/sierra

# Create macOS Sierra Installer Disk

  • asr restore -source /volumes/Install/basesystem.dmg -target /Volumes/sierra -noprompt -noverify -erase
  • rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
  • cp -rp /Volumes/Install/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
  • cp -rp /Volumes/Install/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System
  • cp -rp /Volumes/Install/BaseSystem.dmg /Volumes/OS\ X\ Base\ System
  • hdiutil detach /Volumes/OS\ X\ Base\ System
  • hdiutil detach /Volumes/Install
  • # Convert DMG Disk to ISO File
    hdiutil convert /tmp/sierra.dmg -format UDTO -o /tmp/sierra

    # Move ISO File to Desktop
    mv /tmp/sierra.cdr ~/Desktop/sierra.iso

    Step 3: Install a new VirtualBox 6.0

    You can free download VirtualBox with this link, open it and install on your Windows

    Install VirtualBox 6 in Windows PC

    Step 4: Create a New Virtual Machine

    Open your VirtualBox, click on "New" button and create a new virtual machine with this setting:
    Name: macOS 10.12 Sierra
    Type: Mac OS X
    Version: 10.12
    RAM: 4 GB (50% of your RAM).

    Create a virtual machine for Sierra

    Create a new virtual disk with 100GB for macOS Sierra with type is VMDK file.

    Create a New Sierra Virtual Disk

    Click "Create" button to create your virtual machine.

    Step 5: Edit Your Virtual Machine

    Select your macOS Sierra in virtual machine list, and click on "Edit". Open System tab, and change chipset to PIIX3, disable the Floppy. In Processor tab, set up 1 core of CPU. 

    VirtualBox System Tab for macOS 10.12

    Open Storage tab. Click on "CD/DVD" button, then open your Sierra.iso file. Click OK to save virtual machine.

    Mount Sierra ISO File to VirtualBox

    Step 6: Add Commands to VirtualBox

    You must close Virtualbox before follow this step. In your Windows PC, click on "Search" button, and type this: cmd; right click on "Command Prompt" and select "Run as admin". 

    Open Command Prompt (cmd)

    Replace "Your VM Name" in commands line with your virtual machine name in VirtualBox. Now copy and paste the following command prompt to CMD.

    • cd "C:\Program Files\Oracle\VirtualBox\"
      VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
    • VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
    • VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
    • VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
    • VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
    • VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
    Add Commands to VirtualBox

    Step 7: Install macOS Sierra in VirtualBox

    Open your VirtualBox, and turn on your macOS Sierra. Wait about 5 min. Open "Disk Utility" at boot screen, format your Virtual Disk with "Mac OS Extended" and "GUID Partition Map" then you can install macOS Sierra on your Virtual Disk.

    Install macOS Sierra on Virtual Disk

    After your virtual machine is rebooted, turn off your VirtualBox. Open Storage tab, and remove your Sierra.iso file.

    Remove Sierra ISO File

    Now, you can turn on your virtual machine, wait about 30 min to complete the installation and you can create a new account.

    macOS Sierra 10.12 on VirtualBox on Windows

    Featured Posts

    1127
    Leave a Reply

    avatar
    469 Comment threads
    658 Thread replies
    161 Followers
     
    Most reacted comment
    Hottest comment thread
    583 Comment authors
    prashantJohnValiG BNero Recent comment authors
    newest oldest most voted
    prashant
    Guest
    prashant

    Use this code for AMD processor: VBoxManage modifyvm “macOS” –cpu-profile “Intel Core i7-6700K”
    hii every time you say this I want to know that where do I need to place this code I have AMD ryzen 5 laptop
    mine gets stuck at”End Randomseed”

    Vali
    Guest
    Vali

    Hi.
    I tried your image and settings for VM 6, but it stuck…
    ….

    Tnx

    G B
    Guest
    G B

    I get a critical error every time i run the machine so i cant use it can anyone help?

    Nero
    Guest
    Nero

    How can I fix the graphics issue it’s showing only 4mb of vram?

    Garrison
    Guest
    Garrison

    With the download is there a way to extract the sierra installer so that I can create a bottable macos flash drive?

    Maicon
    Guest
    Maicon

    Hi, my keyboard and mouse dont working… any suggestion? tks

    Murugesan Arumugam
    Guest
    Murugesan Arumugam

    It’s awesome post very easy to configure mac os on virtualbox; Thank you very much for this post

    Bruno
    Guest
    Bruno

    Will it work on FX-6300?

    LuuT
    Guest
    LuuT

    First stuck at ‘End Randomseed”. Entered the command line codes while VirtualBox was closed. Also entered VBoxManage modifyvm “name your mac os” –cpu-profile “Intel Core i7-6700K”, now in a bootloop, I see the virtualbox logo and then it crashes.

    Trying with macOS 10.13 High Sierra 64-bit.
    Intel Core Quad Q6600, Win 10, 4GB RAM, Radeon HD4800