How to Install macOS Sierra 10.12 on VirtualBox?

How to Install macOS Sierra On VirtualBox on Windows- VMDK

In our previous post, we have shown you how to install macOS Sierra 10.12 on VMware, and now in this article, I’m going to show you how to install macOS Sierra 10.12 on VirtualBox on Windows 10. Apple has announced the next version of its Mac operating system “macOS Sierra”. Of course, the real change is that, after fifteen years, Apple has finally ditched the “OS X” moniker. All things old are new again, and the new operating system will only call “macOS.” So, I’m not going to discuss anymore regarding Apple’s new release “macOS Sierra” instead; I’m going to walk you through installing macOS Sierra on VirtualBox on Windows operating system.

Update: Before we get started, let me mention that several versions of macOS have come out since macOS Sierra and we have already created a step by step guides to install them on VMware or VirtualBox. So if you want to install the newer versions of macOS then please check out the links below:

System Requirements

Before we start, make sure to read the following requirements. Please do not skip this step because it’ll help you to successfully install macOS Sierra on VirtualBox on Windows 10 PC.

  • Minimum 2 GB memory (Recommended 8GB or higher)
  • Minimum 2 cores of processors (Recommended 4 cores or higher)
  • Hard disk free space 20 GB (Recommended 100GB or higher)
  • Your system should support Intel or AMD VT (Virtualization Technology)
  • Intel/AMD VT (Virtualization Technology) Should be enabled from BIOS setup

Required: If you haven’t already then you should enable Virtualization Technology (aka Intel VT or AMD-V).

Furthermore, it’s highly recommended that you install macOS Sierra on SSD (Solid State Drive) instead of HDD (Hard Disk Drive) because you will have a much faster performance with SSD rather than HDD

Steps to Install macOS Sierra on VirtualBox Using  VMDK

  1. Download the Prerequisites
  2. Install VirtualBox on Windows / PC
  3. Install & Update VirtualBox Extension (Optional)
  4. Create a New Virtual Machine for macOS Sierra
  5. Execute the VirtualBox Code
  6. Perform a Clean Installation of macOS Sierra
  7. Update macOS Sierra to the Latest Version (Optional)

Step 1: Download the Prerequisites

To install macOS Sierra on VirtualBox on Windows, you must download the following files and read the step by step guide to avoid any problems. If you miss any of the steps below, then you might be unsuccessful in running the macOS Sierra on VirtualBox.

  1. Download macOS Sierra VMDK (Required)
    1. macOS Sierra 10.12.6 (16G29) Latest
    2. macOS Sierra 10.12  (16A323) Stable
  2. Download VirtualBox & VBox Code (Required)
    1. VirtualBox Latest Version Setup
    2. macOS Sierra VBox Code
  3. Alternative Download Files  (Not Required)
    1. Download VirtualBox 6.1.12 (Direct Link)
    2. Download VirtualBox Code  (VirtualBox 5.x.x & 4.x.x)

Step 2: Install VirtualBox on Windows 10

From the “Download the Prerequisites” section of this post, you should have downloaded VirtualBox and if you didn’t, download VirtualBox latest version and install it on your Windows system. If you’ve already installed VirtualBox, then you can skip this step. Otherwise, follow the steps below to install VirtualBox on your Windows machine.

  1.  On the welcome Wizard page, click Next.
  2. Keep the default setting on the Custom Setup page and click Next.
  3. Again Click Next to accept the default options unless you want to change something.
  4. On the warning Network interface page, just click Yes to process with Virtualbox installation.
  5. Click the Install button to install VBox. Again click Yes if required.
  6. While installing VBox, you might see a security warning about “Oracle Corporation”. You need to click Install on this page to process with the installation. If you click Don’t install, the installation process will be terminated here and you can’t go ahead. If you see the security warning again click the Install button
  7. Finally, click Finish.

    Step 3: Install & Update VirtualBox Extension (Optional)

    This step is not 100% necessary but it’s highly recommended to do this step because macOS Sierra might not function properly on VirtualBox. For this reason, it might cause problems during the installation. Go to the Virtualbox download page. Under VirtualBox 6.1.10 Oracle VM VirtualBox Extension Pack section, click All supported platforms to download the latest version of Virtualbox Extension Pack.

    Download Virtualbox Extensions

    Download Virtualbox Extensions

    Once you’ve downloaded the Extension pack. Now, follow the steps below to update the Virtualbox extension pack.

    1. Open up VirtualBox, navigate to Tools>Pereferences>Extensions.
    2. Click on Plus (+) icon and select VirtualBox extension which you’ve downloaded at the beginning of this section. Click Install or Upgrade and then Agree to the terms and conditions. Click the OK button.

    Finally, you should see something like the screenshots below.

Step 4: Create a New Virtual Machine for macOS Sierra

After installing VirtualBox, now you will need to create a new virtual machine on Virtualbox. Creating a virtual machine for macOS Sierra is kind of the same as you create a VM for the Windows Operating system or Linux but with some minor changes. In this post, I’ll outline those changes. Follow the steps below to create a new virtual machine for macOS Sierra using the VMDK file.

    1. Open up your VirtualBox application and click New.

      Create a New VM

    2. Click Expert Mode and select the following options then click Create.
      1. Type a suitable Virtual Machine Name.
      2. Virtual Machine Location (a separate drive is recommended).
      3. Type (Mac OS X).
      4. Version (Mac OS X 64-bit).
      5. Memory 4 GB (recommended 8 GB or higher).
      6. Hard Disk: Select Use an existing virtual machine hard disk file. Click on the Folder icon to browse the macOS Sierra VMDK file.
      7. Click Add and select the Sierra VMDK image
    3. It’s time to edit the virtual machine to make it works. Select macOS Sierra VM and click on Settings. Now, bring the following changes to macOS Sierra VM.
      1. Under System>Motherboard, increase the Base Memory to 10248MB. However, you can use a bit lower memory if your system doesn’t have this much RAM.
      2. Uncheck Floppy from the Boot Order section.
      3. Under the Processor tab, increase the processors to 4 or higher.
    4. On the Display window, increase the Video Memory to 128MB.

      Increase macOS Sierra Video Memory

      Increase macOS Sierra Video Memory

Step 5: Execute the VirtualBox Code

Once you’ve created and customized your virtual machine, it’s time to run some codes in order to install macOS Sierra on VirtualBox. First, you should note your virtual machine name because later on, we will use it. Open the VirtualBox code which you should have downloaded from the “Download the Prerequisites” section of this post. If you’ve not downloaded, doesn’t matter. Just use the following code.
Note: Before, you execute the code by command prompt. You should read the following steps.

cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
  1. When you opened VirtualBox code via notepad or any other text editor, use the replace function of the program to Replace the “VM Name” with your virtual machine name. See the picture below to get an idea of how to do it.

    Replace VM name with macOS Sierra

    Replace VM name with macOS Sierra

  2. Now, you’ve two choices. First, if you want to fix your macOS Sierra screen resolution in the first place. You should also execute the following code. You have to change “VM Name” with your virtual machine name and HxV with a screen resolution such as “1280×720“. For more supported screen resolution on VirtualBox and detailed guide, visit fix macOS Catalina screen resolution on VirtualBox.
    VBoxManage setextradata "VM Name" VBoxInternal2/EfiGraphicsResolution HxV

    Important Note: We highly recommend to quit the VirtualBox program before executing the code. If you don’t do it, your virtual machine might not proceed to the installation step.

    Exit VirtualBox

    Exit VirtualBox

  3. Once you replaced the “VM Name” with your virtual machine name, then run the code one by one via command prompt (CMD). You can open the command prompt by pressing the Windows+X key in Windows 10 and select Command Prompt from the list. Or simply press Windows key and type CMD. Click Run As Administrator and click Yes
    Execute macOS Sierra VirtualBox Code

    Execute macOS Sierra VirtualBox Code

    .

  4. Now, that you’ve executed the macOS Sierra VirtualBox code. Open the VirtualBox app then click the Start button to power on the VM. A black screen with a lot of white text will appear on the screen. Just wait for a few minutes and the macOS Sierra installation will start.

Step 6: Perform a Clean Installation of macOS Sierra

Once you hit enter, a whole bunch of code will run on the screen, but you should not worry about it. Wait for a few minutes, and you should see the macOS Sierra installation window. Have a cup of coffee until the installation complete. It’s going to take around 15 minutes to finish.

  1. Choose your Country and click on Continue.

    macOS Sierra Welcome Page

    macOS Sierra Welcome Page

  2. Pick a keyboard Layout and click on Continue.

    Select Your Keyboard

    Select Your Keyboard

  3. Now, select Don’t transfer information to this Mac and click on Continue.

    Don't Transfer any Information Now

    Don’t Transfer any Information Now

  4. Uncheck Enable location services and click on Continue.

    Enable Location Services

    Enable Location Services

  5. In this step, you have to Sign in with your Apple ID. If you don’t have one, create a free Apple ID by following this article, how to create an Apple ID on iPhone, iPad or iPod Touch”. We recommend to not log in with your Apple ID at this point. Just select  Don’t Sign in and click on Continue and Skip.

    Sign in with Your Apple ID

    Sign in with Your Apple ID

  6. Agree to the Terms and Conditions.

    Agree to the macOS Sierra Terms and Condition

    Agree to the macOS Sierra Terms and Condition

  7. Fill out the Full name,  Account name, Password, Hint, and click Continue to create your user account for macOS Sierra.

    Create macOS Sierra Computer Account

    Create macOS Sierra Computer Account

  8. Select your time zone and click Continue

    Select Your Time Zone

    Select Your Time Zone

  9. Select the options for Diagnostics & Usage and click on Continue. Don’t set up Siri at this point.

    Setup Siri on macOS Sierra

    Set up Siri on macOS Sierra

  10. Wait a little while to Setting Up Your Mac. Then it will run on the desktop of the macOS Sierra.

    Installed macOS Sierra on VirtualBox

    Installed macOS Sierra on VirtualBox

Important: For any kind of error while installing Mac OS X El Capitan and macOS Sierra visit this article.

Step 7: Update macOS Sierra to the Latest Version (Optional)

You should do this step if your macOS Sierra is not updated and not the latest version. So, you can update it by following the instructions below.

  1. Click on the Apple logo at the top-left corner of your screen. Select System Preferences from the list. Under System Preferences, click on the App Store.

    macOS Sierra App Store

    macOS Sierra App Store

  2. On the App Store window, you’ll see Software Updates are available. Click Check Now/Show Updates.

    macOS Sierra Software Update

    macOS Sierra Software Update

  3. Now, you should see different kinds of updates are available. Just click Update All. Click Download & Restart.
    Update All

    Update All

    Download & Restart

    Download & Restart

  4. Wait for couple of minutes so that the update should be installed. It might take 5-15 minutes to download all updates. However, it depends on your internet speed.

    Updates are Available for macOS Sierra

    Updates are available for macOS Sierra

  5. Once the update is downloaded, your system will restart automatically. Again wait for 15-20 minutes for update installation.

    Installing Software Update

    Installing Software Update

  6. Once the installation update process finishes, you’ll see the macOS Sierra login page. Type your user account name and password and log in. If you check our below screenshot with the one on Step #6 of this guide, the last screenshot. You can check that our macOS Sierra (16G2136) is updated to the latest version.

    How to update macOS Sierra to the Latest Version

    macOS Sierra Updated to the Latest Version

See Our other Useful Guides:

Conclusion

After performing a clean installation and Setting up your macOS Sierra then you should be able to see macOS Sierra wallpaper. In this step by step guide, I’ve covered the followings;

  1. Download the Prerequisites
  2. Install VirtualBox on Windows / PC
  3. Install & Update VirtualBox Extension (Optional)
  4. Create a New Virtual Machine for macOS Sierra
  5. Execute the VirtualBox Code
  6. Perform a Clean Installation of macOS Sierra
  7. Update macOS Sierra to the Latest Version (Optional)

blank

Mukhtar Jafari is the founder and CEO of wikigain.com. He is CISCO CCENT & CCNA Certified and has got his diploma in IT Networking from North Metro TAFE PERTH. He is currently working as a Help Desk Technician at DEEPTECH Perth Western Australia. In addition, he loves helping other tech enthusiasts so he is working part-time on wikigain.com. He shares his experience through this website for IT beginners.

789 Comments

  1. blankMark Manning Reply

    First – could you move messages such as the one that says “You should exit the Virtual Box application” to be one of the FIRST things you read (instead of after you have run the batch file)? Thanks!

    Here is your commands put into a single batch file which also makes it easier to use. Use it if you want. 🙂

    cls

    set vm_dir=C:Program FilesOracleVirtualBox
    set vm_os=Mac OS X
    set vm_res=1280×720

    cd “%vm_dir%”

    “%vm_dir%VBoxManage.exe” modifyvm “%vm_os%” –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
    “%vm_dir%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac19,1”
    “%vm_dir%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
    “%vm_dir%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Mac-AA95B1DDAB278B95”
    “%vm_dir%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
    “%vm_dir%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1
    “%vm_dir%VBoxManage.exe” setextradata “%vm_os%” VBoxInternal2/EfiGraphicsResolution %vm_res%

    Have fun! Great write-up!

    1. blankMark Manning Reply

      Yes – I know – you haven’t even said yes or no to my post – But……… I expanded on my bat file. Please replace my first one with this one if possible. Thanks! And thanks again for this write-up!

      rem
      rem ——————————————————————————–
      rem Turn on echo so we can see everything
      rem ——————————————————————————–
      rem

      echo on

      cls

      rem
      rem Batch file to modify the Virtual Box program
      rem
      rem ——————————————————————————–
      rem Batch variables used are placed here
      rem ——————————————————————————–
      rem

      rem
      rem ——————————————————————————–
      rem VM_PROGRAM is where the Virtual Box resides
      rem VM_OS is what the name of the folder where the Virtual Box Macintosh VBOX resides
      rem VM_RES is the resolution. This is Horizontal width by (x) the Vertical width.
      rem Like 1280×720 (NO SPACES)
      rem ——————————————————————————–
      rem

      set vm_program=C:Program FilesOracleVirtualBox
      set vm_os=Mac OS X
      set vm_res=1280×720

      rem
      rem ——————————————————————————–
      rem Change to where the Virtual Box program resides
      rem ——————————————————————————–
      rem

      cd “%vm_program%”

      rem
      rem ——————————————————————————–
      rem The set of commands that you are applying to the Virtual Box program
      rem ——————————————————————————–
      rem

      “%vm_program%VBoxManage.exe” modifyvm “%vm_os%” –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
      “%vm_program%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac19,1”
      “%vm_program%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
      “%vm_program%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Mac-AA95B1DDAB278B95”
      “%vm_program%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
      “%vm_program%VBoxManage.exe” setextradata “%vm_os%” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1
      “%vm_program%VBoxManage.exe” setextradata “%vm_os%” VBoxInternal2/EfiGraphicsResolution %vm_res%

      rem
      rem ——————————————————————————–
      rem Exit this batch file
      rem ——————————————————————————–
      rem

      echo Fini!

    2. blankeric R compton Reply

      Failed to open a session for the virtual machine macOS Sierra.

      Failed to query SMC value from the host (VERR_INVALID_HANDLE).

      Result Code: E_FAIL (0x80004005)
      Component: ConsoleWrap
      Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
      I got this after reinstalling everthing so that i could do it from my c: drive.
      HOLY COW bat man, this isn’t your grandma’s etcher install of linux. I have linux vm’s before to before just build one.

      PLEASE HELP: I’m a 100% service connected force recon scout/sniper and just want to run Garageband of a mac to record some music. I can’t afford snazzy software and a more costly interface than a simple usb to 1/4 inch guitar jack

      1. blankeric R compton

        Also would be truly thankful and appreciate it more than you know. with PTSD i’m trying to find joy in life aft 13 years of wanting the final peace. I have a young family and that should be enough but it’s not. trying to find the things the man before this broken thing used to enjoy.

  2. blankluthfi Reply

    hello im trying this but the result is like this.

    failed to load boot0001 uefi vbox cd-rom vb1-1a2b3c4d

    I’m using windows 7 64 bit, I hope you can help me thank you.

  3. blankAhmed Yehia Reply

    System: Acceleration page:
    The hardware virtualization is enabled in the Acceleration section of the System page although it is not supported by the host system. It should be disabled in order to start the virtual system.

    and I can’t change the value for the processor

    and don’t show else version 10.6

  4. blankarman khan Reply

    Hello Mukhtar,
    Could u please help me to rid of issue…after complete set up when black screen comes with some text its looping again again msg like..
    failed to boot…something

  5. blankSitus Aduq Reply

    Unquestionably imagine that that you stated. Your favourite justification appeared to
    be at the internet the easiest factor to
    keep in mind of. I say to you, I definitely
    get annoyed whilst other folks consider issues that they just don’t understand about.
    You managed to hit the nail upon the top and also defined out the whole thing without
    having side-effects , folks could take a signal. Will probably be back to get more.
    Thank you

  6. blankmoatsem h farg Reply

    what means this message

    System: Acceleration page:
    The hardware virtualization is enabled in the Acceleration section of the System page although it is not supported by the host system. It should be disabled in order to start the virtual system.

    and I can’t change the value for the processor

    and dont show else version 10.6

  7. blankPatrick M Reply

    Doesn’t seem to work for me. I keep getting this error, no matter how often I re-download and re-extract it, following all the steps to the letter.

    Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).

    Result Code:
    E_FAIL (0x80004005)
    Component:
    ConsoleWrap
    Interface:
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

  8. blankAnika Reply

    Hello,
    I am stuck at the beginning of this process. How do I extract the image file from the macOS Sierra when the download is in pieces as rar files

  9. blankSpartan318 Reply

    Worked with some considerable effort on my part to get it to work properly, such as using registervm to get the vm recognized, and downloading a newer version of virtual box, running as admin and deactivating my antivirus, thanks!

  10. blankSakura Reply

    The Vm Starts, shows the virtual box Logo and then goes Black. there is no text shown and after waiting for about half an hour there`s still nothing. i did everythin that was shown in the guide above and i got virtualization activated in the bios (amd Phenom II x4 925) but the vm wont show me more than the virtual box logo and then a black screen.

  11. blankmelkzedek rocha Reply

    changed to…? i dont have the network card showed in this how-to-do, so and I dont have network in my instance. what can i do?

  12. blankRobert Reply

    I’m getting this error when unzipping macOS Sierra 10.12 Files. C:\Users\Desktop\macOS Sierra 10.12 Files.rar: Checksum error in macOS Sierra 10.12 Files\macOS Sierra 10.12 by wikigain.vmdk. The file is corrupt
    C:\Users\Desktop\macOS Sierra 10.12 Files.rar: Unexpected end of archive

  13. blankjeff Reply

    Hello,
    I am at the step just after entering the new code via cmd prompt, where I have to start to power up masOS Sierra. I was given a prompt instructing me to select a drive, which was defaulted to E:/, which is my cd rom drive. When it tries to start I am getting the following error:

    Cannot open host device ‘E:’ for readonly access. Check the permissions of that device (VERR_ACCESS_DENIED).
    AHCI: Failed to attach drive to Port1 (VERR_ACCESS_DENIED).

    Is there a way to change the drive to something else?

  14. blankger Reply

    I keep getting stuck in the startup loop and it repeats itself. I followed your instructions as best as possible. I’m running linux (kali) and I think I just need instructions adapted to that. I deleted the .exe file and ran in !/bin/sh. I don’t fully know what I’m doing with linux or virtualization for that matter. I’m learning everyday. I have every other VBox machine working (kali within a kali host, mint, windows 10, so I did manage that). Just can’t get the Sierra running on linux, stuck in the loop.

  15. blankjamil Ahmed Reply

    on settings of VM, it is taking only 2 GB max RAM and after that i have paste the code in command its showing me this error massege

    The virtual machine ‘macOS Sierra’ has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in ‘C:\Users\Administrator\VirtualBox VMs\macOS Sierra\Logs\VBoxHardening.log’.

    Result Code:
    E_FAIL (0x80004005)
    Component:
    MachineWrap
    Interface:
    IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

  16. blankAlejandro Reply

    If anybody ever sees the following UEFI Interactive Sheel (Black Screen) when starting up the Sierra
    https://imgur.com/a/zSyQf1N
    Here is how you can move from here to the installation process:
    1-Go to Settings -> System and then to Processor tab at last uncheck the PAE/NX checkbox.
    2-Go to General -> Basic tab then select (64bits version)
    3-Close VirtualBox
    4-Start your VM then you should see the installation process as mentioned in this guide.
    Thanks to wikigain for this helpful tutorial

  17. blanksai Reply

    HI,
    after adding code in CMD i am started vmbox but it is not working.
    It is displaying only CLI mode with shell how can I solve this.

    thanks

  18. blank비빔냉면 둥띠디디뎅 Reply

    I’m a Windows 7 computer.
    From my computer to VirtualBox
    When you install a Mac
    Does not my computer ever crash?

  19. blankJoey Reply

    Hello – I have installed Macos High Sierra 10.13.4 in VirtualBox on my Windows 7. My goal is to run Xcode on this machine to develop a simple iPhone app. However, when I go to unzip/expand the downloaded Xcode.xip, I get an error that says “The archive can’t be expanded because the selected volume doesn’t have enough free space.” If you are able to help, it would be greatly appreciated!

    1. blankFaiz Orz Reply

      Hi, it seems that your disk storage is not enough for the task that you want to do. Move your VM files to a disk/folder which has more then 100GB free disk space and then try again installing the Xcode.

      1. blankJoey

        Thanks, but I have the VM files saved to my C drive, which has >110GB of free space. Any other ideas?
        Thanks,
        Joey

      2. blankFaiz Orz

        Hmm.. try this, create a new disk with higher capacity and attach it to your VM from the settings then try unzip your stuff on that drive.

  20. blankArif Reply

    Can someone give me solution of error at cmd???

    ‘VBoxManage.exe’ is not recognized as an internal or external command,
    operable program or batch file.

    1. blankDeepak Naik Reply

      Try going to virtual box installed directory and run the same command there.
      In my system directory is C:\Program files\Oracle\Virtual box\

      and not need to run command line as administrator.

    1. blankFaiz Orz Reply

      Hey follow the video tutorial and make sure that every step is the same as the video. Also make sure to enable VT from BIOS.
      Updated: The video is removed from YouTube 'Sorry for the inconvenience guys'

  21. blankRob Reply

    I read in another tutorial that when running macOS in the virtual machine there wouldn’t be any audio. I was wondering if this was the case in general using a virtual machine or does the method in this tutorial result in enabled audio in macOS?

  22. blankJoel Reply

    VirtualBox 5.2.12 on host WIN10 1803 Home.
    Works fine for me.
    Slow as any other VML installed (Fedora, WIN10 PRO). I suspect a problem beetween win10 & VB ….
    Very neat and and staigtforward install & doc.
    Thank you for sharing this.

  23. blankTanin Reply

    Missing file “macOS Sierra 10.12 Files.part05.rar” in download link to drive.google, where i can download this path please?

  24. blankJack Reply

    I am trying to run the Mac code. For starters, I do not have ‘cd “C:\Program Files\Oracle\VirtualBox\”‘, my box is saved elsewhere. I am curious if this is the correct pathway that I should use instead? (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle VM VirtualBox).

    Also, no matter the pathway, I keep getting this error in the cmd prompt: “[line of code].exe is not recognized as an internal or external command,
    operable program or batch file.” I cannot find the .exe lines in any files on my computer. How do I find them or redownload/extract them? Thanks

  25. blankameni Reply

    Thanks for the tutoriel. But when i want to install xcode i got this error “xcode can’t be installed on MacOS Sierra 10.12 by wikigain” because MacOS version 10.13 or later is required”

  26. blankolavsu1 Reply

    It not work. i get guru meditation:

    00:00:04.145497 VGA Sequencer (3C5): SR index 3C4:00
    00:00:04.145498 SR00:03 SR01:01 SR02:0F SR03:00 SR04:0A SR05:00 SR06:00 SR07:01
    00:00:04.145500 !!
    00:00:04.145500 !! {vgatext}
    00:00:04.145501 !!
    00:00:04.145501 Not in text mode!

    1. blankolavsu1 Reply

      Thanxs for private message. It does not work too. maybe this is problem: the host is amd not intel. All others (freebsd, linux) VM’s runs correctly. But I are seen macosx in AMD host. it was snowleopard, what runs with specially created bootup (.img file) image.

  27. blankAlan Ian Ross Reply

    It works! Everything absolutely impeccable, network management included. Here, the key workaround (and kudos to you, Mukhtar, for putting on this point all the due emphasis) was to select “Intel PRO/1000 MT **SERVER** (82545EM)”, in place of everything else.

    As I said, everything is working fine (guest: macOS 10.12 Sierra, on Fedora 27 host), except for one detail (which, unfortunately, is very annoying): the screen resolution.

    Alas, here, while at least I’ve been able to get out of the 1024×768 mode (“Suitable for this screen”), I’m still stuck with the 1280×720 mode the virtual system has put itself into, as a reaction to my attempt at forcing a 1366×768 mode via ‘VBoxManage setextradata “[VM_NAME]” VBoxInternal2/EfiGopMode N’…

    Any idea?

    Best regards 🙂

    AIR

      1. blankAlan Ian Ross

        Yes: again, IT WORKS!!

        For the record I repeat that I’m running MacOS Sierra as a guest, in VirtualBox 5.2.10, under Linux Fedora 27 as its host].

        It goes as follows:

        1. with VirtualBox turned OFF, open a NON ADMINISTRATIVE (i.e.: non root) terminal, and check the precise name of your virtual MacOS machine with

        $ VBoxManage list vms

        2. Assume the answer of VirtualBox is

        “MacOSX” {xxxxxxxx-yyyy-zzzz-wwww-nnnnnnnnnnnn}

        (where this latter line is the hex code for the virtual disk). Then you have to input (again, in the non-root CLI)

        $ VBoxManage setextradata “MacOSX” VBoxInternal2/EfiGraphicsResolution 1366×768

        and, IT WORKS! When you’ll log back into your VBox-ed MacOS, you’ll finally find the screen set up to the correct 1366×768 mode.

        Thank you: great job!! ✯✯✯✯✯

  28. blankJean-Philippe Reply

    Got problem to start a virtualBox VM of Sierra declared as MAC OS X 10.11. No problem if declared as MAC OS X 10.10. Hope this can help users

  29. blankv410 Reply

    right, just to leave this clear I am unsure this will work for everyone, but this is my fix :
    So I have IOS in a vm and I have been receiving this dsmos issue for sometime. I found out that reducing the number of processors ( I have 16 ) to 2 somehow ( black magic i would say ) and resetting the NVRAM on the startup I made the whole thing to work, I wish i had more in-deep information about this, i hope this works for someone out there as it did for me. cheers

  30. blankDennis Reply

    Hello, i have installed sierra and it works. i also solved the problem with the display solution. but i have one question. how can i install the sierra version from macbook? i don’t have a PC. i use a laptop

  31. blankLynx Reply

    This still does not work for AMD following the extra details here or on the page that you guys keep referring to for the Guru fix. Worse, you guys won’t simply place the extra step that says to close VirtualBox so that it doesn’t waste people’s time.

  32. blankBonghwan Reply

    Hii, thanks to your great guide on Lenovo Ideapad i5 4G laptop, I could install it successfully. I just got the update by Appstore so soon as finished configuring it. I tried installing it. I failed the next boot. It seemded due to the update. This image doesn’t allow any update further?

  33. blankDave Reply

    Does not work on a Surface Pro 4. Just keeps looping through the “white on black” commands. Actually let it run overnight and finally had to kill it.

  34. blankChase Reply

    hey there I would love some help with this. I did everything you told me to do i only installed the macosserria final 1 part do i have to download the 7 parts as well? every time I start it up it shows a black screen with the words
    UEFI Interactive Shell v.2.1
    EDK II
    UEFI v2.40 (EDK II, 0X00010000)
    Mapping table
    BLKO: Alias(s):
    PciRoot(0x0)/Pci(0x1F,0x2)Sata(0x0,0x0,0x0)
    BLK1 Alias(s):
    PciRoot(0x0)/Pci(0x1F,0x2)Sata(0x0,0x0,0x0)
    Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
    Shell>

    1. blankBrandon Reply

      I was confused by this too. I did a checksum on the 1 part and the 7 part, and they are the same files. Just one is separate, smaller files.

      1. blankMukhtar Jafari Post author

        Yeah, that’s the same file and it’s for those people who have a slow internet connection. If you’ve downloaded the 7 Parts just right click on one of the part and select extract to macOS High Sierra.

  35. blanknew Reply

    hi Mukhtar

    #3. If you wish, you can add a virtual hard disk to the new machine. You can either create a new hard drive file or select one from the last or another location using the folder icon. Here, you should choose the last option “Use an existing virtual hard disk file“. Select the file and click “Create“.

    this step wont work bcus I downloaded macOS 10.13.1 High Sierra.dmg and here I cant choose dmg format .

    I’ve createdd that by choosing “create a vitual hard disk now” . and after that steps Command Prompt . I start the VM and Insert the dmg file . but it dont work with this error :

    http://tinypic.com/view.php?pic=141td82&s=9#.Wnsat6inGUk

  36. blankJuan Reply

    This worked for me:
    VBoxManage setextradata VBoxInternal2/EfiGraphicsResolution=”1920×1080″
    VBoxManage setextradata VBoxInternal2/EfiHorizontalResolution=”1920″
    VBoxManage setextradata VBoxInternal2/EfiVerticalResolution=”1080″

  37. blankgustavo Reply

    Hi, Can you help me? I followed all the steps, but I can’t make it connect to the internet.. would you know the problem?

  38. blankSysProfile Reply

    The operating system works, you just have to follow the steps, it is important to exit VirtualBox before executing the commands. If you have Hyper-V installed, VirtualBox does not work

  39. blankJames Reply

    Hi,

    Been trying to install XCode on Sierra for the nth time on VirtualBox, but everytime it reboots, it gets stuck at “IOGraphics flags 0x43” CLI. Not sure if missing something here, but any guide to accomplish the XCode installation would be really much appreciated.

  40. blankSteffen Reply

    Great guide! I got everything to work without issues the first time setting this up, thank you. I can now, finally, start experimenting with xcode.

    I might add that the only thing I miss in this guide is how to scale the guest OS screen resolution to fit my screen size. I looked around and saw that you have another guide for this here, but it should be mentioned as a footnote.

    Thanks again!

  41. blankRaj Reply

    Hello – I am getting the following error-
    Failed to open a session for the virtual machine High Sierra.
    Configuration error: Querying failed (VERR_CFGM_VALUE_NOT_FOUND).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    I have done all the steps you mentioned (closing VB before running the commands etc). Any idea what this cloud be?

  42. blankVincent Reply

    Worked on my HP Pavilon m6 Running windows 10 Creators Update. Also when creating Virtual Machine in Virtual Box, You can choose Mac OS 10.12 Sierra as Version. Worked beautifull. However, How do I make it go full screen please?

  43. blankJonathan Reply

    Everything Working! Just used this tutorial to install on Microsoft Surface tablet. I can’t get iMessage working though, it says “failed to authenticate” when I try to log in. I’m sure this is because I’m running Mac on VM and my apple serial at this point is ‘0’, but is there any possible workaround for this?? Either way, thank you for constructing this tutorial. Also, after getting to installation screen, it was giving me error not enough space. Clicking on the disk utility and partitioning/erasing drive resolved this.

  44. blankJames Reply

    Hi !
    First of all thanks for this it worked perfect for me !
    I have a little question : is it possible to have a better resolution ? I only have 1024 x 768 on the mac settings

    Thanks !!!

  45. blankMaciek Reply

    Hello

    I have carefully followed your steps and then read some of ppl’s problems listed above, but noone had mine’s problem.

    When I launch VM, I have “Virtual box – Guru Meditation” error – “A critical error has occurred while running the virtual machine and the machine execution has stopped” window appears.

    When I study log, a first line with [ERROR] header mentions extension pack: “No extension pack by the name ‘Oracle VM VirtualBox Extension Pack’ was found”

    I have downloaded and installed Oracle extension pack and the same error appears.

    I have tried on both Virtual Box 5.2 and 5.1.30 with the same result.

    Any help would be appreciated 🙂

    1. blankMukhtar Jafari Post author Reply

      No need to install extensions or something like that. For guru meditation error just quit VBox before adding the code to cmd then run the code. If this method does not work just select the version Mac OS X 64 and try again.

  46. blankKarim Reply

    those steps working with me and I installed macOS ok, but after use the system for about 3 min. find OS freeze, so i have to end task and open Vbox again and run, so any help ?

  47. blankP Soutzikevich Reply

    Dear Wikigain,
    Thanks for taking time to post this well-structured tutorial for installing macOS on a Virtual Machine.
    I have only 1 question before trying it out myself.
    Is step 5, where you input the configuration code in CMD, going to interfere with my other Virtual Machines installed ? (Linux Ubuntu and Debian)

  48. blankDan Reply

    Thanks for great instructions. Like others, I couldn’t get it to work on virtualbox 5.2 but it works well on 5.1.30.

    One question though – I’m having a problem getting the virtual machine to recognise my iphone, despite installing the virtualbox extension pack and iphone nominally being ‘passed through’ via the virtualbox ‘devices’ tab. I’ve tried uninstalling the windows usb drivers (which then enables the iphone to be seen in the guest (via about this mac/system report)) but it doesn’t show up in xcode or itunes. Any suggestion? Many thx

  49. blankBob Rivers Reply

    Hello! I successfully got Sierra running, but it is very low resolution and extremely laggy. How can I fix this? Thanks!

      1. blankBob Rivers

        Awesome thanks! How would I fix the severe lag problem? The mouse lags far behind my real mouse. Thanks!

  50. blankStefan Busch Reply

    Hi,
    thanks for the instructions, but I when I try to boot to install, I just get a black screen. I don’t even get to the welcome page. I followed the instructions exactly and additionally played around with assigning more CPUs, changing the chipsets settings – but no luck. I noticed that some people here reported the same problem. Is it because I have an old AMD Phenom II X4 955 BE Quad-Core Processor , and if so, is there a workaround? . I desperately need to make this work. Thanks!

  51. blankBeth Reply

    I am at the point where you start putting in the CMDs on Windows to alter the VM. When I go to paste in the line after you cd into the directory, I get the following 3 error lines.

    VBoxManage.exe: error: Could not find a registered machine named ‘High Sierra’
    VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
    VBoxManage.exe: error: Context: “FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())” at line 512 of file VBoxManageModifyVM.cpp

  52. blankNoorquacker Reply

    Hey, I’m on Arch Linux and changed the VirtualBox code file to run on bash, and it definitely changed the VM extra data, but on boot it says This version of Mac OS X is not supported on this platform! Reason: Iloveapple.
    Maybe it’s an incorrect board product data setting, I set it to iMac11,3 and it said the same but the reason was iMac11,3.

  53. blankLockevn Reply

    Windows 10
    Core i7
    The core problem of loop boot (incorrect key : 00000000000000000000*******Dont_Steal_MacOS.cpp:219”) is you don’t run code in CMD correctly.

    How to fix:
    Do Step4.
    Close VirtualBox
    Open Task Manager (Ctrl Shilf Esc)
    Kill all process of VirtualBox Manager, VirtualBox Interface
    Open the Command Prompt (CMD) in Administrator.

    Run Code in Step5.

  54. blankPsyka Reply

    Hello here,
    I’ve seen that people already ask for this problem but NO solution has been given for it so I will ask again :
    I have this error after all steps and even if i retry all steps a millions times perfectly, I always get the same error :
    Failed to open a session for the virtual machine macOS.

    Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND).

    Code d’erreur :
    E_FAIL (0x80004005)
    Composant :
    ConsoleWrap
    Interface :
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

  55. blankPsyka Reply

    hello,
    I have an issue i’ve done all steps ask many times restart them and always finishing with the same error message when i’m suposed to have finish i launch the vm MACOS and then i get that :

    Failed to open a session for the virtual machine macOS.

    Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND).

    Code d’erreur :
    E_FAIL (0x80004005)
    Composant :
    ConsoleWrap
    Interface :
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

  56. blankJohn Smith Reply

    I confirm AMD FX-8350 doesnt work with this setup. The same setup works without any tricks on a celeron machine with 2GB memory and 1 core. You could include the info that AMD FX is not supported rather than say everybody should test it themselves.

  57. blankJohn Smith Reply

    I went thru this rather long thread and tried about everything including the “complete” guide to fix things. Somebody said that it doesnt work with AMD FX and that might be the case with me too. I get guru meditation everytime, sometimes with “error allocation 0x14b6 pages….” or 0x800 pages followed by error loading kernel cache 0x9

  58. blankHan Reply

    Hi, I followed your installation but I get the following error msg :
    – waiting for DSMOS…
    – HID: legacy shim 2
    – unexpexted session: 100000 uid: -1 requested by: 31
    – AppleKeyStore: operation failed (pid: 31 sel: 7 ret: ‘e00002c2 ‘-536870206’)

    and then after some more lines it reboots again, and again, and again…

    pls help 😉

  59. blankFirstLeatha Reply

    I have noticed you don’t monetize your site, don’t waste your traffic, you can earn extra bucks every month because you’ve got high quality content.
    If you want to know how to make extra bucks, search for: Mrdalekjd methods for
    $$$

  60. blankithan Reply

    Hello from colombia

    I’m really frustated because i need install whatever version of mac OS X but with unlucky for me still not working

    I’m sure that this tutorial is the best

    Some info of my PC base system:

    – AMD FX(tm)-6300 Six-Core Processor 3500 Mhz
    – RAM 8GB
    – SSD 1 TB
    – virtualbox Versión 5.1.28

    Error:
    – guru-meditation

    log (i dont know if this help)

    00:00:03.965977 EHCI: Hardware reset
    00:00:03.966025 EHCI: USB Operational
    00:00:04.122631 EFI: Adding variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’Boot0000′ fAttrib=0x7 cbValue=0xb2
    00:00:04.122994 EFI: Adding variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’BootOrder’ fAttrib=0x7 cbValue=0x2
    00:00:04.137182 EFI: Replacing variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’BootOrder’ fAttrib=0x7 cbValue=0x2
    00:00:04.142736 EFI: Adding variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’Boot0001′ fAttrib=0x7 cbValue=0x42
    00:00:04.143009 EFI: Replacing variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’BootOrder’ fAttrib=0x7 cbValue=0x4
    00:00:04.150049 EFI: Adding variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’Boot0002′ fAttrib=0x7 cbValue=0x44
    00:00:04.150319 EFI: Replacing variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’BootOrder’ fAttrib=0x7 cbValue=0x6
    00:00:04.160067 EFI: Adding variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’Boot0003′ fAttrib=0x7 cbValue=0x5c
    00:00:04.160498 EFI: Replacing variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’BootOrder’ fAttrib=0x7 cbValue=0x8
    00:00:04.212278 EFI: Adding variable 8be4df61-93ca-11d2-aa0d-00e098032b8c::’BootCurrent’ fAttrib=0x6 cbValue=0x2
    00:00:04.213807 EFI: Adding variable 4c19049f-4137-4dd3-9c10-8b97a83ffdfa::’MemoryTypeInformation’ fAttrib=0x3 cbValue=0x40
    00:00:04.274849 EFI: VBoxDbg> loadimage64 ‘.efi’ 0x7ebf3000 LB 0x8d000
    00:00:04.276807 EFI: Adding variable 4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14::’ROM’ fAttrib=0x6 cbValue=0x6
    00:00:04.279718 EFI: Adding variable 4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14::’MLB’ fAttrib=0x6 cbValue=0x182
    00:00:05.853880 EFI: Adding variable 7c436110-ab2a-4bbb-a880-fe41995c9f82::’platform-uuid’ fAttrib=0x7 cbValue=0x10
    00:00:05.857818 EHCI: USB Suspended
    00:00:05.857860 EHCI: Hardware reset
    00:00:05.860328 IEM: wrmsr(0x8b,0x0`00000000) -> #GP(0)
    00:00:05.860398 Changing the VM state from ‘RUNNING’ to ‘GURU_MEDITATION’

    thank for your help

  61. blankFlorian Reply

    Thanks for this tutorial, it’s work ! 🙂
    But I have crashes when I empty the trash or I remove dock icon ! Image is fixed and the mouse does not respond.

  62. blankAS Reply

    Hello,
    Is there any chance that we can update OS to the 10.12.6 version? I was able to download the update from the AppStore but after the restart of the machine I am still on the older version and the update is still available to install.

  63. blankPixo Reply

    For those with Guru error -> go to Settings -> General -> and set version to Mac OS X (64-bit)
    For those with shell -> step 3.#3, don’t forget to select the .vmdk file you downloaded

  64. blankRaj Reply

    Thanks very much for this post. I was able to have Mac 10.12. How can I upgrade to 10.12.6. The reason I want to upgrade to 10.12.6 to install xcode 9.

      1. blankRaj

        Thanks for the response. I did tried this. After the reboot of VM, the upgrade did not happen. am I missing anything here?

  65. blankPatrycja Wanat Reply

    Hi, after clicking the Start button everything goes as planned until the “DSMOS has arrived” line, but then a next line “prevent idle sleep list: IODisplayWrangler+ (1) ” appears and after that nothing happens. What should I do?

  66. blanksbosque Reply

    Hi, you’re awesome, great work!

    Unfortunately I get following error:

    Error allocating 0x14b6 pages at 0x0000000207900 alloc type 2
    Error loading kernel cache (0x9)
    Boot failed. mac Boot.

    A critical error has ocurred while running the virtual machine and the execution has been stopped.

    I’ve trying many times, even starting from scratch deleting the VM and starting again the procedure step by step, specially following carefully step #5, but all my attemps were unsuccesful

    Your help will be greatly appreciated!
    Thanks!

  67. blankluis Reply

    Hi, thanks for this amazing tutorial that works very well.
    However can I give you some advice?
    The name of the virtual machine should not have spaces to avoid any problem. It could have the name of “Sierra” for example and if someone need to run the code on linux just remove de .exe from the first command and run all of them normally from terminal.
    But once again thanks for that great work

  68. blankswaglord the ghey Reply

    Hi

    I did the guide to the letter and im just getting to a UEFI INTERACTIVE SHELL.

    I have Virtualization enabled, and every CPU settings are as they should be.

    3 cores, 128mb video ram, virtualization boxes are checked, etc.

    please help.

      1. blankswaglord the ghey

        choose the vmdk file? seriously? sigh. the problem is i use a amd fx processor. and i have to use /amdfx boot handle. BUT. there is no way to get to the point where i can use this boot flag. so this guide, in all, does not work for AMD. You should really put that in the guide mate, so people dont waste 2 hours of their time with this BS

  69. blankElliah Pravin Reply

    After I insert my account pwd at the login screen, I got the busy wheel and beach ball running forever.
    Any solution to this.

  70. blankEdomera Reply

    Hi, Mukhtar, thanks so much, for your time and effort to contribute with us. All working pretty good, except audio.
    Lenovo ideacentre B320, 5GB ram, 2TB HD, Win 10 Pro(64bit), Oracle VM Virtual Box, macOS Sierra 64bit.
    Thanks in advance, have a good day.

  71. blankravi Reply

    hai, i followed the steps, i need some clarification..
    1. where you got .vdi file ( you selected Existing Vdi )
    2.Once finish everything, they ask ” choose virtual disk image” like..

    please share your ideas…

    1. blankFaiz Orz Reply

      It seems that you have miss understand the guide. Please read it again or watch the video carefully then you will get everything that is required. Updated: The video is removed from YouTube 'Sorry for the inconvenience guys'

  72. blankKem Reply

    Actually it never asked me that. All it says is “A critical error has occurred while running the virtual machine, the machine execution has been stopped” then a long message about checking the logs. I have even executed all the steps above including closing the VirtualBox, running the commands, etc… but not luck. If you want I can send you the logs.

    1. blankMukhtar Jafari Post author Reply

      It’s because of Virtualbox code. Try to edit the Virtual Machine Name inside the code. If again you failed, you should enable Virtualization Technology (VT) from your system BIOS.

      1. blankKem

        Sorry for my ignorance but where can I find the Virtualbox code? Also, I used the same exact Virtual Machine Name.

      2. blankKem

        I just got what you meant by the Virtualbox code, I did edit it and changed the name to MacOS Sierra as the machine name in the configuration and ran the code while the Virtualbox is closed. The VT is enabled in the bios and the windows vbox is working fine. My main OS is linux.

  73. blankKem Reply

    Okay, I have a new one. I am running Ubuntu 16.04, I installed everything and all works great, done some work/installations/configurations on the VBox with the MacOS. Now I bought a new laptop, I copied the vmdk file from the old laptop to the new as well as the .vbox and all the contents of the “MacOS Sierra” folder under “Virtualbox VMs” including the saved snapshot of the VM. I can resume the saved snapshot and it opens well, I can save it again and open but if I shutdown the MacOS and try to start it, it fails. Got any pointers?
    I copied a windows OS and it works fine. What could be the problem and how should I fix it?

    1. blankMukhtar Jafari Post author Reply

      When for the first time you open it gives you an option to choose from. Did you moved the file or copied the file. Choose copied the file and after that, it should not ask you.

  74. blankManimegalai A Reply

    Its not working for me. my mac OS sierra its not running showing black screen only.please guide me to this…

      1. blankDavid

        Yes : do you have a pre-prepared Windows 10 VBox file that we could use to simply add to our Virtual Box system that is running in Windows 10

        (would allow me to test changes to Win 10 from inside the safety of a VM)

        Nothing to do with Mac
        David

  75. blankSophie Reply

    I am still getting the Guru meditation screen with the critical error message.
    I follow all the steps.I close VB before setting the commands and I have restarted my computer but still not working.
    Any ideas?

  76. blankFabio Reply

    Hello, I followed the instructions and have sierra 10.12 running (I have only 4 gb of ram and i could reserve only 2 for the virtual machine but it work fine the same). The problem is that the updates to 10.12.5 (also tried offline combo update to 10.12.5, 10.12.4 and 10.12.1). All the update reach the reboot phase but the machine stop to update at 17 min left or 10 min left (always 10 min left for update to 10.12.5). I don’t found a way to boot in safe mode inside virtual box nor to issue COMMAND+L or similar…any suggestion?

      1. blankFabio

        As I said, I tryed also with the offline combo updates! The internet connection seems not involved. anyway it is stable here. I also install OFFLINE updates from the commandline with sudo softwareupdate -iv “Mac OS….’ but it stuck at the install stage and when I reboot I always have the same os version. Any suggestion?

      2. blankFabio

        Virtualbox Version 5.1.22 r115126 (Qt5.6.2) on Win 10.
        The virtual disk grow correctly. the quest os is ok under all aspect. I can sign in with my Apple ID. But no updates installation work

  77. blankBulcsu Reply

    It does not work for me. I have followed the instructions, and also quit VB during the CMD phase.
    I assume that the HD has to be the virtual disk provided (macOS Sierra… .vmdk file) . It is not entirely clear from the instructions.
    All I get is an UEFI interactive shell screen where I can hit ESC to skip startup.nsh.
    Did this process now 3 times very carefully following the instructions and ALWAYS the same result.

  78. blankAnand Reply

    I have installed successfully in the virtualbox but the mac is working very slow. I have 8 gb of ram and intel core i3 processor.Any solution for solving this ?

  79. blankJohn Reply

    Hello, I have intel pentium G620 processor x64 bit processor and windows 10 64 bit and 8 GB of ram will it work ???

  80. blankErc Reply

    Nice Article! Got it working pretty quick. Only thing is that it runs really slow. Any new tweaks for that problem? Maybe increase the CPUs or something?

    1. blankFaiz Orz Reply

      Yeah to enhance it increase CPU and RAM but currently, it’s supported by the VirtualBox, and you can’t make the most out of it. Increase CPU and RAM may enhance the performance a little bit but not perfect.
      But this is not the same on VMware:

  81. blankjack Reply

    Got it to work ! selecting MacOS 64 generic on version, instead of latest elcapitan. You should add this to the tutorial

  82. blankRik Reply

    Hi, it is working well on my Ubuntu 16.04 LTS host but it seems I can not update Sierra. It downloads the macOS updates using the App Store then it reboots and no update are applied.

  83. blankMorgan Casale Reply

    Hi, I’ve tried to install this virtual machine but every time I try to start it, it doesn’t boot giving an error after the first “HID: Legacy shim 2” in the black screen. The only things that pop up are this:
    unexpected session: 100000 uid:-1 requested by 31
    AppleKeyStore: operation failed (pid: 31 sel: 7 ret: e00002c2 ‘-536870206?)
    IOGraphics flags 0x43
    Previous shutdown cause: 3

  84. blankTroy Cooper Reply

    I’m going into Guru Meditation. I tried that extra line of code. Help?!
    Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)

    1. blankMukhtar Jafari Post author Reply

      Did you edit the Virtual Machine Name inside the Code?
      Edit the Virtual Machine Name and close VirtualBox completely then try copy and paste the code to CMD.

  85. blankmorten Reply

    got it to work but my video ram only says 3mb even though I asked it to use 128mb, and how do I get it to cover the full screen ? 23.8@ wide screen, ty

      1. blankmorten

        hmm moved my file to a new location and now it does not work even after I removed the machine and did a reinstall with the file in the new location

  86. blankJosh Reply

    hello, i have a problem with logging in to imessages, it comes up but when i submit my info the words go grey for a bit then goes back to sign in. any ideas? thanks!

  87. blankKartar Singh Reply

    i’m using it from past few days, Working Well
    but the problems which i’m facing are:
    1.) when i download applications (like iMovies) it shows that your system configuration doesn’t met the requirements even when i change the video ram to 256MB
    2.) actually it is a question when i start the project from Virtual box it starts in verbose mode is there is any process for normal start.
    rest of things are currently working fine.
    Thanks

  88. blankEmilio Reply

    AMD FX Processors Don’t Work For this
    Xeon E5 Processors Works Just FINE (takes a little on start the first time)
    Thank you for the information!!!

  89. blankSam Reply

    VT-x/AMD-V hardware acceleration is not available on your system. Certain guests (e.g. OS/2 and QNX) require this feature and will fail to boot without it.
    I’m getting this error , Please help,

      1. blankAnthonique P Ferguson

        There is no virtualization option in my BIOS, even after updating BIOS.

  90. blankDSDDOS Reply

    I did exactly as described but when i start the VM i get this error:

    Failed to open a session for the virtual machine Mac OS X.

    The virtual machine ‘Mac OS X’ has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in ‘C:UsersAdminVirtualBox VMsMac OS XLogsVBoxHardening.log’.

    Result Code: E_FAIL (0x80004005)
    Component: MachineWrap
    Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}

  91. blankDavid Anstey Reply

    If you are having trouble it is because you may not have noticed there are two sets of instructions in the commands only keep for the version of Virtualbox you are using

  92. blankArnie Reply

    Hi Mukhtar,

    great article and a neat help.

    The Sierra installation works fine with a normally installed Virtualbox.

    But how do I get Sierra in a portable virtualbox to run?
    (Several error messages -> VBoxManage.exe: error: Could not find a registered machine named ‘Sierra’ etc.)

    Is it related to the path to the virtual machines?

    For my portable Version the Path is:
    D:\Programme_Portabel\VirtualBox\Portable-VirtualBox\data\.VirtualBox\Machines

    A small tip would be great!

    Thanks in advance
    Arnie

      1. blankArnie

        Hi Faiz,
        many thanks for your response.
        I had tried it several times and then I switched to the VMware Player.
        Runs absolute smoothly.

        Thank you for your help
        Arnie

  93. blankAbdulrahman Reply

    For those who are getting the guru message, to fix this you simply right click the (macOS Sierra) virtual machine > Settings > General > Basic > Switch the version to MAC OS X (64-bit)

  94. blankMordef Reply

    Thnks for the work, got it run on Win10.
    Maybe change something.
    Before #2 say to quit VBox before run cms.
    If its open it will not work.

  95. blankBill Reply

    I followed the directions to the letter and ran the commands several times but to no avail. It just keeps rebooting over and over again.

  96. blankDavid Reply

    Thank you for all of your hard work. It works really well and I have Sierra up and running on my Windows 10 machine.

    Sorry if this has been asked before – but Shared Folders and Clipboard do not seem to work for me..is that still a problem?

      1. blankDavid

        Ok thanks. I thought I might need to install Guest Additions but could not install those – and perhaps you already did that in your virtual disk anyway?

        But the 2 items i reported do not work for me at present

        David

  97. blankAnthonique Ferguson Reply

    Here is my error after starting The V:

    VT-x/AMD-V hardware acceleration is not available on your system. Certain guests (e.g. OS/2 and QNX) require this feature and will fail to boot without it.

  98. blankJordan van Bergen Reply

    I get this (reboot loop) because of:
    getCPUIDInfo: this is an unknown CPU model 0x3c
    — power management may be incomplete or unsupported
    Results in a kernel PANIC en reboot with the same error.
    panic(cpu 1 caller xxxxxxxxxxxxxxxxxxx): DSMOS: SMC returned incorrect key.
    Virtualbox: 5.1.22r115126

    1. blankJordan van Bergen Reply

      “because you are running the commands (Step# 5) while the Oracle VM software is open”.
      I’ve closed all my VirtualBox instances (even in task manager) and runned the script/code for VBoxManage.exe and voilá!
      My VM is now working!!!

  99. blankDerrix Reply

    Does anyone else experience issues with the sound? I can get sound but when I play someone on Youtube or in iTunes it sounds like someone has taken a song and slowed it down. Help please.

  100. blankDat Reply

    Thanks! It works finally!
    After some flickings on boot, I check your step 5. I exited the virtualbox and re-run the command. The start vb and the machine. And it works!

    1. blankMoody Ahmad Reply

      It is generally working fine. However, in web browsers I get flashing artifacts popping up, for example, shadows around pop up boxes that flicker and then go away. Is there a resolution to this issue?

  101. blankJH P. Reply

    I used VBox 5.0.38 and I had to rename the vmdk file from macOS Sierra 10.12 by wikigain.vmdk to macos-sierra.vmdk. I don’t know why, but VBox did not recognize the file name.
    Other than that, it worked great.
    Thanks!

  102. blankAlessandra Reply

    Has anyone had problems with the connection? I have to use Bridge because it’s working network. The problem is that in the network settings says that the cable is not connected, and in VirtualBox is.

  103. blankVotality Reply

    Update iCloud works fine (account issue), however I’m assuming the SMBIOS settings must not be as required for iMessage to operate.. all the the guides I have seen assume your using clover and give you advice on the settings to set there.

    I assume to have it work here you would need to set these same settings in the EFI of vbox..

    Anyone got it working??

  104. blankVotality Reply

    Has anyone got iCloud & iMessage login working with the sierra vmdk image provided by this site and these instructions?

    If so please post some instructions…

    I’ve tried with a working serial that shows fine in about this mac and the validates ok online.

  105. blankbiotique Reply

    Working like a charm in Virtualbox.
    thank you!

    p.s.
    Follow the instructions step by step and remember to run CMD as ADMINISTRATOR

  106. blankneil Reply

    I’ve followed the guide and my virtual machine boots, but it runs very slowly.
    My specs are:
    I5 3570k
    16gb ram
    7850 gpu
    Is it because I’ve got no 3d acceleration of the desktop or is there another reason?

  107. blankNeil Reply

    I’ve followed the guide and my virtual machine runs really slow 🙁
    My hardware is
    i3570
    16gig ram
    radeon 7850

    Is is because I’m not getting any graphics acceleration? Or is my machine not powerful enough

  108. blankbaas Reply

    Also – before executing the commands in step #5 – make sure no virtualbox processes are running with the Resource Monitor. I tried several times without luck, and when I used the resource monitor to verify that no vbox related processes where running and vbox related resources in use – it worked.

  109. blankGustavo (a.k.a. Guga) Reply

    I was getting the SAME error as almost everybody, and my VM was rebooting somewhere after “Waiting for DSMOS”.

    Then I`ve Carefull readed the article attached (https://www.wikigain.com/complete-guide-fix-virtualbox-errors-installing-mac-os-x/) and figured out the following:
    “because you are running the commands (Step# 5) while the Oracle VM software is open”.

    I’ve closed all my VirtualBox instances (even in task manager) and runned the script/code for VBoxManage.exe and voilá!

    My VM is now working!!!

    Mukhtar Jafari, maybe it should be great to add this info to this article just in the paragraph when you describe the VBoxManage.exe code steps. I think it will prevent many flood in the comments, as long as it makes all the diference!

    Kind regards

    1. blankMukhtar Jafari Post author Reply

      Ok dear. Right now I’m not in a good location and I don’t have access to laptop or desktop. I reply all the comments by mobile and as soon as I get in a secure place I will add it
      Thanks for informing

  110. blankEmmanuel Reply

    Fail, After do all step,
    Start “MacOS Sierra” in Virtual Box,
    Virtual Box appear Error message, Close or ignore.
    So bad.

  111. blankKvackEvolution Reply

    Iam getting Guru Meditation Critical error, even if i done everything correctly with closing VBox during the cmd step. When i checked my log, its say something with CPU 0 changed to Meditation Mode: http://i.imgur.com/u28J3EI.png

    My Specs:
    OS: Windows 10 Pro
    CPU: Intel Core i5 7600K 3.80 GHz (7th gen Kaby Lake)
    GPU: ASUS Strix Geforce GTX 1060 OC6 (6GB version)
    RAM: 16 GB Corsair Vengance LPX 3000 Mhz (2×8 GB)
    Mobo: MSI Krait Gaming z270
    Storage: (SSD: Samsung 850 Evo 250 GB) HDDs: WD Blue 1TB, Seagate Barracuda 1TB, WD “some shit” 400 GB.

    Regards

  112. blankBigJoe Reply

    A Good howto (tip: watch the tutorial video while downloading the vmdk)
    Works like a breeze, just make sure to close Virtual box before entering the vboxmanage commands

  113. blankChris P. Bacon Reply

    Awesome. All installed. I would recommend putting in GIANT BLOCK LETTERS IN YOUR TUTORIAL that you need to CLOSE VIRTUAL BOX BEFORE STEP 5. It was on a boot loop before that.

  114. blankMarco Reply

    Works even in Virtualbox 5.x in Debian. Just note that the network card is an Intel Desktop and not Server (match the OEM).

  115. blankMike Terner Reply

    can i install it with less ram i am on intel core 2 duo because it’s giving me guru medication error

  116. blankMrDarkmark Reply

    I am having a problem. It says: A critical error occured while running the virtual machine and the machine execution has stopped. If you would like to know I am running and Intel i5-7200U 2.5GHz with Turbo Boost up to 3.1 GHz
    and NVIDIA GeForce 940MX with 2 gb decidated vram

  117. blankJua Reply

    Hi

    I’m having the “Guru Meditation” error (A critical error has occured…) when I start the virtual machine.

    I followed all the instructions carefully and even repeated all the steps twice – and increased processor count to 4, but it still is not working. Here is my log: https://pastebin.com/uuP8pHZM

    Please can you help me fix it because I really want to run macOS. By the way, I downloaded the “macOS Sierra Final (1 Part)” file.

  118. blankDhanji Parmar Reply

    Setup #6 error
    Guru meditation
    A critical error has occurred while running the virtual the machine execution has been stopped

      1. blankDhanji Parmar

        I think you changed my comment. Anyways, I did add it correctly. What do you mean?

  119. blankAsriel Reply

    I had the same issue others were having with the bootloop, but that was fixed with me actually following the instructions.
    Now I’m getting this, stuck at a Bash prompt with no idea what to do.
    Doing Exit takes me to a menu, no matter where I go from there it always ends up back at this screen.
    https://puu.sh/v4BgQ/7a67d3b47a.png

      1. blankM. J.

        Same exact problem.
        Virtualization is enabled in BIOS.
        All cmd commands run as Admin while VirtualBox was shut down.
        Any ideas?

  120. blankMr. S Reply

    I’ve followed all the instructions, and I made sure to exit VirtualBox before using the commands, but when I start the VM to start installation it only shows a black screen and nothing else, and I’m not sure why that is.

  121. blankLeo Reply

    Have Sound problem intel hd audio play sound in slow motion, have Intel i3 CPU youtube and other musik in virtual Box all slow motion. Linux say to my audio Hardware is Audio device: Intel Corporation 6 Series C200 Series Chipset Family High Definition Audio Controller

    1. blankFaiz Orz Reply

      Yeah, it the most of out macOS Sierra on VirtualBox because you can install the guest addition and fix all the issue. But you can fix issues like the sound on VMware because there you can install VMware tools and fix the most common problems including graphics, sound, etc.

      Check out how to install macOS Sierra on VMware workstation 12 here: https://www.wikigain.com/install-macos-sierra-10-12-vmware/
      Updated: The video is removed from YouTube 'Sorry for the inconvenience guys'

  122. blankcareyer Reply

    Hi there. I am wondering where the macOS VM image (vdmk Files) comes from? Is there a DIY method to create such a file? Is it a patched version? Would be really interested in this! Thanks in advance

  123. blankNi Azevedo Reply

    Hi. I’m having an error on Step 5 and I have the virtual machine off. I even rebooted my computer.

    This is the error that appears:

    C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyvm “macOS Sierra” –cpui
    dset 00000001 000106e5 00100800 0098e3fd bfebfbff
    VBoxManage.exe: error: The machine is not mutable (state is Saved)
    VBoxManage.exe: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), compo
    nent SessionMachine, interface IMachine, callee IUnknown
    VBoxManage.exe: error: Context: “SetCPUIDLeaf(id, aValue[0], aValue[1], aValue[2
    ], aValue[3])” at line 742 of file VBoxManageModifyVM.cpp

  124. blankAnon Reply

    I’m having this error when clicking start on VirtualBox
    – Failed to open a session for the virtual machine
    Details –
    The virtual machine ‘macOS’ has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005). More details may be available in ‘C:\Users\Owner\VirtualBox VMs\macOS\Logs\VBoxHardening.log’.

    Result Code:
    E_FAIL (0x80004005)
    Component:
    MachineWrap
    Interface:
    IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}

    I have followed all the instructions, including the close the app before running cmd as an admin. However the only setting I cant follow is that I cant set my cpu to 2 which is the minimum, it’s stuck on 1.

  125. blankAsuka Reply

    Hi there, thanks for this great guide!
    The only step which was unclear was from 4 to 5: Close VirtualBox before adding the code in CMD on Step 5.

  126. blankTom Lake Reply

    I followed the instructions exactly, including the code steps. but I get the error shown at the link.
    https://drive.google.com/open?id=0B_51NGjsiBiXTVVsMmlqdFl3ZEk
    I have VirtualBox 5.1.14 running on Windows 10, Intel Core i7-7700K with 64GB RAM. I limited myself to setting up the vb exactly as shown in the photos and I created a batch file from the included code. There were no errors when I ran the batch file. I even named my Sierra vb the same as the example. Other OSes run fine in VB (Win 7, Win 8.1, Win Vista) on this PC so I know VirtualBox is installed correctly.

  127. blankMilind Reply

    Thank you, this actually works !! Make sure you close the Virtual Box while entering the code in the cmd prompt.

    1. blankBernhard Reply

      Save this into a file, make it executable and run it. You have to adjust VMNAME if you use a different name for your VM.

      !/bin/sh
      VMNAME=macOS\ Sierra
      vboxmanage modifyvm “$VMNAME” –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
      vboxmanage setextradata “$VMNAME” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac11,3”
      vboxmanage setextradata “$VMNAME” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
      vboxmanage setextradata “$VMNAME” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”
      vboxmanage setextradata “$VMNAME” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
      vboxmanage setextradata “$VMNAME” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1

  128. blankAekanshu Reply

    there is a error in my vm box that ” a critical error has occur while running the virtual machine and the machine execution has stopped”

      1. blankGreg

        I’m also having a isue with a critical issue has occured. The video doesn’t help. I’ve followed all the steps and pasted the cmd code in correctly.

  129. blankPeter Reply

    It doesn’t works on my PC. I have intel chipset.
    The booting restarts again and again.
    I’ve tried run commands from text files, issue still there.
    Are you sure is it works? As i can see, there is a lot of similar problem. 🙁

  130. blankAmogh G Reply

    I followed all the steps up until the booting up of the VM… For some reason it keeps giving me this “Guru Meditation” error.

    I went into the log files to check, and here is what it said:
    VCPU0: Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)

    Here is a screenshot of the actual error pop-up uploaded to Imgur:
    http://imgur.com/6AJOnJC

    Please help me out! I would love to try out Mac OS.

  131. blankIsmail Yaakob Reply

    Hi bro, thanks for great article. Btw I have problem after click power on wmware as mac os x is not supported with binary translation.
    ‘To run mac you need host on which vmware supports intel vt-x or amd…’
    Any idea bro since Im new for this method. Thanks.

  132. blankPedro Reply

    How can i create a vmdk macOSX siera and don’t need to use the vmdk in this article?
    Its works very good.
    Thx for help.

  133. blankVizor Reply

    HELP. I followed your guide until I booted the vm, but the vm white text on black is stuck at “VM Subsystem is ON”. Can you help me?

    1. blankMukhtar Jafari Post author Reply

      Did you apply the step by step guide with the video?

      Most of the error occurs due to VirtualBox code. When you are entering the code to cmd make sure, you should quit the VirtualBox then it will work.

    1. blankf Reply

      And after a few restarts, i3-4020Y can’t start anymore, catalog file checking, and then can’t finish some file verification completely, shutdown in 3 seconds ….

      Not worth it ~~~~

  134. blankDennis Reply

    Hi,

    i only can chose “macOS X (32 bit)” or “mac OS X Snowleopard (32bit)”, what can I do? I tryed it with virtualbox 5.1.14 and 5.1.6.

    my PC:
    Win 10 64 bit
    Intel i7-6700HQ
    12GB RAM
    Intel HD Graphic and G-Force 960M

  135. blankNik Reply

    Hey Guys,
    Just solved the reboot problem!!!!!
    If you made the mistake, to do the cmd thing while vb was opened, you need to reinstall the whole thing! That includes reunarchiving the image and reinstalling virtual box (with reboot)! That worked for me! I hope, I could help some of you! Maybe you could add this to a troubleshooting part at the end of the tutorial 😀
    Thank you 😀

  136. blankIsh Singh Reply

    hi, I have tried making this machine through the video tutorial, but I keep on getting this guru message. if you need a snapshot of that message please tell me how to send it to you?

    thanks.

  137. blankMike Reply

    This worked for me running VirtualBox on a Debian Linux host following the steps almost 1:1…Just have to modify the commands a bit – don’t need to “cd” – vboxmanage is already in your PATH on Debian when you install VirtualBox via apt. Also, obviously remove the .exe extension from any of the other commands.

    Screen resolution fix also worked, although I would love to know how to set custom resolutions (namely 1080p). I think it would require also modifying some configs in the guest OS. I tried to work it out from some other info I found online, but nothing has worked so far.

    Greatly looking forward to the tutorial on getting iMessage to work, as I see mentioned above in a comment from Jan 7 2017!

    THANKS FOR THIS!!!!!!!

    1. blankMike Reply

      Also just learned that USB pass-through works! Although, so far doesn’t seem to like having more than 1 device connected at a time….

      That said, though, Xcode works flawlessly and I”m now able to create, build, and deploy my app to my iPad via iTunes right on my Linux workstation!

      This has been a great day…WOO!

  138. blankWilliam Fulmer Reply

    Trying this setup on both VirtualBox 5.1.6 and the latest 5.1.2 and am getting the same
    “”A critical error has occurred while running the virtual machine and the machine execution has been stopped””

    If I change the Paravirtual type to None – I get
    ““This version of Mac OS X is not supported on this platform”

    I have tried to remove all VirtualBox installations and start from scratch at least a dozen times and not getting this going anywhere.

    Any thoughts? or specific parts of the VBox.log I can post to help get this going?

    * I have tried the latest code and run CMD as Administrator

    1. blankWilliam Fulmer Reply

      Host machine is an HP Spectre x362 w/
      * Intel Core i7-7500U @ 2.7 GHz
      * 16 GB RAM

      VBox.log
      Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)

      1. blankomar rici

        Hello
        Same laptop:Host machine is an HP Spectre x362 w/
        same error:Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)
        Find a solution ?
        thanks in advance

      2. blankomar rici

        I’ve got it
        spectre x360 wooo ( I7-7500U kaby lake)
        virtualbox 5.1.14
        Guru Meditation 1155
        error to read msr: rdmsr(0x35) -> #GP(0)

        Just run extradata (cmd command):
        VBoxManage setextradata “your VM” VBoxInternal/CPUM/MSRs/MsrCoreThreadCount/First 0x00000035

        thanks

      3. blankKevin

        Magic – this extra CPUM command got me through the critical error on startup. No idea what it does or the conversation that led you to post it, but thanks!

      4. blankJacob

        Did you ever get this figured out? i am having the same problem and cannot seem to find a fix. Host is DELL i5, 8gb RAM, trying to run sierra

  139. blankCsabaZz Reply

    Very nice article, thanks for the helpful instructions! Can I install Sierra on my PC also, or it won’t be running because of the DSMOS?

  140. blankJosenildo Reply

    Hi,
    Here functioning but what i do for adjuste resolution for 1280x768x32 or 1366x768x32 on Sierra OS. Here only show 1024x768x16.
    I have executed one clean install after load the VM downloaded here reinstall one clean copy and functioning all minus update resolution for display.

    Thank you for that work! Great work!

  141. blankRudy Reply

    During Step 3, there are no 64 bit versions in the drop down list. Step 4, part 3, I cannot go over 1 processor.

    Any suggestions ?

  142. blankRudy Reply

    Hello! I’ve successfully got this done on my machine, thank you. On my wife’s, I am having issues.

    Virtualbox 5.1.12 ( same as the one I successfully used on my system) but when I run it, there are no 64-bit options on the list. I also can not go past 1 processor.

    Any suggestions?

  143. blankJohar Reply

    THANKS MUKHTAR BHAI,
    Initially I stuck but I tried many times. The best thing I did is I updated my virtual box & extension pack, then removed old machines and repeated carefully all steps guided by you, religiously.

    Hola ! now I am running mac os sierra.
    Only one problem is SLOW VOICE FROM SIRI

      1. blankOleh

        ——
        * i7-6700 last gen, host win10x64, VirtualBox 5.1.12
        —–
        And while trying another macOS (El Cap) I’ve managed to reach OS installation process, but I’ve got an error after 3-5 clicks with the message “hfs: unmount initiated on untitled on device disk1” and returning me to the first screen of installation process.

    1. blankOleh Reply

      UPD: Fixed this error by rebooting host machine and re-entering commands to cmd
      (donnow which action actually fixed the problem)
      Now everything works fine.
      Tnx, wikigain!

  144. blankMarcos Santo Reply

    I followed the steps but i get the Considerrebuildofkernel notification wich it stays on.
    Could anyone assist me?

    Thanks in advance

  145. blankNothingIsReal Reply

    Everything worked OK.
    Please remember to close Virtualbox before proceeding to step’s #5 coding.
    Otherwise you’ll get some problems while booting the VM.

    Thanks

  146. blankDiogo Reply

    Hi!
    I did everything acording to the video and after I start my virtual machine it gives me this error: “A critical error has occurred while running the virtual machine and the machine execution has stopped.”
    Have I made some mistake?

  147. blankInsaf Reply

    Hi. Help me!
    I have an error at run, out the black window with the text “fatal no bootable medium found system halted”
    Did everything according to instructions. How can I fix it?

  148. blankShazam! Reply

    Thank you for this tutorial!

    For those who are getting the message

    “This version of Mac OS X is not supported on this platform”

    I had to enable some settings not specified in this tutorial (but were visible in the authors VirtualBox screenshot luckily!)

    System -> Processor -> Enable PAE/NX
    System -> Processor -> Acceleration -> Paravirtualization Interface -> Select Minimal
    System -> Processor -> Acceleration -> Enable VT-X / AMD -V
    System -> Processor -> Acceleration -> Enable Nested Paging

    Boom! Then I got it to boot into the installation screen 🙂

  149. blankRoy Reply

    Hi, my computer is running a Intel(R) Celeron(R) 1017U @ 1.60GHz 1.60 GHz 4.00 GB (3.89 GB usable). Is it possible? I tried once installing it and all I got was a black screen. If it is not possible on VM are there any workarounds. If it IS possilbe to run this without an i7 then I did something wrong. Please is someone can reply. I would be highly grateful.

  150. blankAhtisham Shafi Reply

    Asalum alikum brother

    I did everything by following the video but i get the following error when click on ‘Start’ :
    ” Failed to open a session for the virtual machine macOS Sierra. ”

    Details of error:
    “VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} ”

    I also wanna mention that i downloaded macOS Sierra in parts.

    Thanks for your kindness.

  151. blanknone Reply

    something going wrong here :
    EFI: VBoxDbg> loadimage64 ‘E:/tinderbox/efi2-5.1/out/win.amd64/release/obj/VBoxEfiFirmware/amd64/RELEASE_VS2010/X64/

    1. blankMukhtar Jafari Post author Reply

      I’m not sure about this error I think you might have missed any step. Read the article, and try once again. One thing I have to mention for you that you should exit VirtualBox while entering the code to the CMD (Step #5).

  152. blankNoah Reply

    I have the Virtual Machine up and running perfectly, unfortunately, I seem unable to mount USB flash drives to the VM. I get the error (“Failed to create a proxy device for the USB device. (Error: VERR_PDM_NO_USB_PORTS).

    Any advice?

  153. blankSpicy ITC Reply

    Worked for me! After two years of previous attempts at getting a Hackintosh to work on VirtualBox.
    As others have said, Step 5 should include the instruction to quit VirtualBox before running the commands. I didn’t the first time and the Hackintosh failed to boot properly.
    As an IT admin with twenty years of Windoze experience, it’s great to finally experiment and learn about Mac OS X without shelling big $$$ for hardware.

  154. blankluckyduck69 Reply

    This no longer works as of 11/27/2016. The first issue you will run into is that the mouse will not be captured by the guest (MacOS) up on booting into first configuration menu. You can get around this by capturing your mouse directly in the VBox menu. The next problem you will run into is that the first time configuration menu will not allow you to login with your Apple account. It will give you a message stating that this machine is no longer authorized to do so.

    1. blankalec alex Reply

      Works flawlessly. The “warning” message is merely that “this machine cannot create any more Apple ID’s”. Just ignore and continue. Can still log in with an existing Apple ID..Just go to the Apple website and create an ID.

  155. blankToadFungoso Reply

    I started up the Virtual Machine and got
    UEFI interactive shell v2.1
    EDK II
    UEFI v2.40 (EDK II, 0x00010000)
    Mapping table
    BLK0: Alias(s):
    pciroot(0x0)/pci(0x1F,0x2)/sata(0x0,0x0,0x0)
    BLK1:Alias(s):
    pciroot(0x0)/pci(0x1F,0x2)/sata(0x1,0x0,0x0)
    Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
    Shell>_
    I have an AMD A6 Quad core (Notebook)

    1. blankMukhtar Jafari Post author Reply

      Most of the time this error happens due to Virtualization Technology which is disabled from your BIOS.
      Make use that this option is enabled then try again.

      One more thing I have to mention for you. In step #5 when you want to add the code to the CMD, you must exit the VBox.
      If you did not fix the problem let us know.

      1. blankToadFungoso

        The same error. I unistalled virtual box, I downloaded and installed Virtual Box 5.1.10. I repeated all the steps but it says me again first a thing with “OS/2 acceleration etc.” and after “UEFI interactive shell v2.1
        EDK II
        UEFI v2.40 (EDK II, 0x00010000)
        Mapping table
        BLK0: Alias(s):
        pciroot(0x0)/pci(0x1F,0x2)/sata(0x0,0x0,0x0)
        BLK1:Alias(s):
        pciroot(0x0)/pci(0x1F,0x2)/sata(0x1,0x0,0x0)
        Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
        Shell>_”

  156. blankMe Reply

    Well I was gonna say that the VM is permanently rebooting without ever getting to the welcome screen and ask for an explication, but obviously this is the case for everyone… So my question: Did this work for anyone here ? Cuz it really looks like this is simply another non-working tutrial you can find on the internet

    1. blankMukhtar Jafari Post author Reply

      Use the updated code from the article then try step #5
      Keep in mind that exit VirtualBox then add the code to CMD. If you don not exit the VBox, it may not work correctly.

      If this method did not work, let me know.
      Good luck! 😀

  157. blankdoubleplusthink Reply

    I started up the Virtual Machine and got
    UEFI interactive shell v2.1
    EDK II
    UEFI v2.40 (EDK II, 0x00010000)
    Mapping table
    BLK0: Alias(s):
    pciroot(0x0)/pci(0x1F,0x2)/sata(0x0,0x0,0x0)
    BLK1:Alias(s):
    pciroot(0x0)/pci(0x1F,0x2)/sata(0x1,0x0,0x0)
    Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
    Shell>_

    could someone help me out?
    It may be noted that I am trying to do this on another drive not the C: drive it is the M: drive the vbox is stored on this drive and so are all of the recommended download files. I also changed the command prompt code to M:\ instead of C:\

  158. blankMindaugas Reply

    I’ve got this working on Ubuntu. It was crashing at first, but then I skipped two first lines from code.txt file(change directory and modifyvm) and all other worked like a charm. Thanks for a tutorial and files! 🙂

    1. blankMukhtar Jafari Post author Reply

      Have you Enable Virtualization Technology from your BIOS?

      You should enable Virtualization Technology from your BIOS then Follow step by step guide
      Also use the updated patch tools.

  159. blankKhusk Reply

    I have done all the steps correctly but when I start Virtual Machine it does not show anything. It shows only black screen without any running code. Can you help me please?

    1. blankPetter Reply

      The same happens to me. I have done all the steps (correctly!), but I just get the black screen as well.. I’m using VB version 5.1.8

      1. blankMukhtar Jafari

        Hi dear Petter. It’s because of the VBox code. We have updated the code just download the new version from the link in the post then try step #5 one more time. It will work completely.

  160. blankLosada Reply

    Hello
    I made a Vm and it works thanks to you.
    But I have a problem of his it is cut and the sound serious voice deformed and slowed down.
    He does not have a fix for it. You do not have a line of code that resolves the problem.
    Cordially

  161. blankPetter Reply

    Everything works fin until step 6. I get no errors during step 5. When I then start the vm in step 6 I just get a black screen.. Nothing happens.. My system is Lenovo W520 with Intel Core i7.. Any ideas ? Thanks !

      1. blankMukhtar Jafari Post author

        No that’s not a big deal. Just repeat Step #5 once again. Because most of the people have this error when they add the code to the cmd correctly.
        The problem will be solved. Open cmd normally “Not as administrator”. copy and paste the VB code to cmd then open VirtualBox.
        Keep in mind that before adding code, you must exit VirtualBox and it should not be opened while adding the code to CMD.
        Also, don’t forget to set the video memory from Virtual machine settings to 128 MB.

      2. blankPetter

        Sorry Mukhtar, but I have now repeated step #5 multiple times.. I shut down VirtualBox, open cmd normally and enter er 6 lines. No errors. I then open VirtualBox again, check that video mem is set to 128MB, and start the vm.. Same result.. Just a black screen.. I’m running version 5.1.8

    1. blankChad Reply

      what were you missing? The link you provided just shows this, which isn’t helpful to me at least… New Code is Updated!

      Install macOS 10.12 Sierra Retail on VirtualBox on Windows PC (Download links)
      Updated: The video is removed from YouTube 'Sorry for the inconvenience guys'

      1. blankMukhtar Jafari Post author

        The code is the same there is not much difference. macOS Sierra 10.12.2 is linked in this guide. 10.12.3 is the update one. It means it’s not very old version.

  162. blankJessica Reply

    Hello !
    Thank you for this guide. It seems that your download limits for the “macOS Sierra” file has been reached (on google drive). I can’t download it.

    1. blankTaras Reply

      Hello, you can create a copy of the file into your G-drive account and download it from there if the download limits for the file has been reached

  163. blankEric Reply

    Well , I did read thoroughly… Still have no clue how to edit the code before going into the cmd prompt.. Would love to get some more help.

  164. blankEric Reply

    First of all thank you very much for this guide! I am absolutly new to this so forgive me if I have ignorand questions.
    I get stuck at step 5
    I understand I have to edit the VM -name .
    In the on-screen I can see a file being edited in notepad called “virtualbox code”.
    Maybe I just don’t get it but I can’t find any such file on my machine.

    Please help

      1. blankD

        This is not an answer. Where is the file “virtualbox.code”. Eric is right. I cannot find this file and this step is absolutely unclear. On top of that, your answer is equally confusing.

  165. blankmacOS Fan Reply

    With VMWare version is there a way to add multiple resolutions within the OS? Upon boot, my only option is 1024×768. If I go full screen from VMware, it changes to 1920×1080, but within macOS, I don’t have multiple resolutions to choose from.

  166. blankHunter Hemingway Reply

    Stuck on Step 6 part 2.

    Never achieved loading of macOS Sierra continues to reboot through “white text” over and over.

  167. blankalessio Reply

    Hi all
    I was also stucked in the VM booting point, with the rebooting over rebooting error reported by some of us. Just to share my experience, to me it worked to close all VM and the program virtualbox and redo step 5, then open it again and run the VM

  168. blankAlberto Reply

    Hi, everything is working great. I have W10 host and MacOS Sierra guest. How could I create a shared folder between them? Thank you 😉

    1. blankMukhtar Jafari Post author Reply

      Apply Step #5 once again and be aware of increasing the Ram size as well.
      Before adding the code to the cmd, do remember that exit the VirtualBox then add those codes.
      Good luck!

      1. blankMichal

        Okay.. you didn’t mention that for those CMD’s you need yo shutdown VirtualBox.

        After that only VM booted properly, but i don’t understand RAM part, i’ve set-up 4gb as you told 🙂

        Also for some reason system is detecting only 3MB of video ram and got poor resolution (1024×768)
        http://imgur.com/a/TkB6D

  169. blankPaul Reply

    vid mem is set to 128 and i have tried the vmdk from here but just wont run. i tried a few others as well but they do not run either. i can only select 2 x cpu as this is all my machine has. i’ve tried adding the smc.ver line and changing vrhw to 10. when i tried an iso i get cpu has been disabled ……

    spent a lot of hours on this but getting no where. have used aqnd created lots of vm’s before but this one has got me….. help !

  170. blankJo Reply

    Hello,

    I’ve got the following error as in the screenshot.
    https://drive.google.com/open?id=0B_85kRRhQVNeVWZNTjFFck42dFk

    Any suggestions?

  171. blankPaul Reply

    btw. ive got a perferctly good running el capitan on vm. i downloaded a sierra iso and tried with that but no luck ….

  172. blankPaul Reply

    hi, ive followed this procedure 20+ times now to the letter and just get a quick flash of ‘Found HFS” and I cannot read the rest it is so fast, then a black screen that does nothing. ive tried all the above but still the same. ive got a 1tb hdd, e6700 cpu, 4gb ram and win 10. any thoughts?

  173. blankGoechi Reply

    Hello 😛
    I get a problem on the first boot where i get the error :
    unexpected session: 100000 uid: -1 requested by: 31
    AppleKeyStore: operation failed (pid: 31 set : 7 ret: e00002c2 ‘-536870206’)
    IDGraphics flags 0x43

    1. blankPavel Reply

      Hi! I have absolutely the same error (“unexpected session: 100000 uid: -1…”). And get infinite reboot then with this error. Don’t know what to try.

    2. blankPavel Reply

      Update: manual closing of “VirtualBox Interface” process and #5 redo helped.
      For some reason this process was running even after closing VirtualBox.
      So now it’s working. Mukhtar, thanks for the work! But why it shows only 3mb video?

  174. blankVlad Reply

    I followed the instructions and installed Sierra virtual machine with no problem. For my purposes i had to change the Network settings but other than that everything else works fine.

  175. blankgetwell2 Reply

    Hello, here I have a little problem with installation to begin 🙂 I followed step by step your tutorial. Unfortunately, this one does not work for me :’-(
    First : I have a laptop Asus Rog with a i5 6300 HQ, an Nvidia 960M and 8go DDR4.
    And when i try to install macOS, my virtualbox do that : Updated: The video is removed from YouTube 'Sorry for the inconvenience guys' (it’s an private youtube video). And he did the same loop again and again…

    Can you help me ?

    1. blankDavidM Reply

      I solved the infinite boot loop by selecting the correct CPU spoof:

      ******************************************************
      For some host systems eg those with Haswell and newer CPUs, you might have to spoof an older CPU to avoid VirtualBox errors. You can try from one of the following if this happens:

      To spoof Lynnfield i5 750 CPU

      VBoxManage.exe modifyvm “El_Capitan” –cpuidset 00000001 000106e5 06100800 0098e3fd bfebfbff

      To spoof IvyBridge CPU

      VBoxManage.exe modifyvm “El_Capitan” –cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff

      or

      VBoxManage.exe modifyvm “El_Capitan” –cpuidset 00000001 000306a9 00020800 80000201 178bfbff
      source: http://www.insanelymac.com/forum/topic/309654-run-vanilla-os-x-el-capitan-sierra-or-high-sierra-in-virtualbox-5034-on-a-windows-host/
      ***********************************************

      My environment:
      Windows 7 with 4 Gb ram and 2 core Intel Celeron E3300 2.5Ghz
      VirtualBox 5.0.40

      When I applied: VBoxManage.exe modifyvm “Mac OS X” –cpuidset 00000001 000306a9 00020800 80000201 178bfbff
      + all the other changes:
      VBoxManage setextradata “Mac OS X” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac11,3”

      VBoxManage setextradata “Mac OS X” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”

      VBoxManage setextradata “Mac OS X” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”

      VBoxManage setextradata “Mac OS X” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”

      VBoxManage setextradata “Mac OS X” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1

      it worked and stopped looping on boot.

      NB I tried on another machine but didn’t work cos of the AMD processor – only works with Intel processors

      Very good article – well done indeed!

  176. blankGeorges Reply

    I have the same issue as MANIKANDAN and others. DSMOS: SMC returned incorect key … Dont_Steal_MacOS.cpp:219
    Any solution yet

  177. blankjamacoe Reply

    Got it all working, great manual, thank you. Easier than ever. To solve my problem, I switched off ‘Nested Paging’. Funny. My Yosemite installation used ‘Nested Paging’.
    Now what can I do to get a full screen resolution?

  178. blankjamacoe Reply

    Sounded really too easy. Step 5 goes right into guru meditation. Using VB Version 5.0.26 r108824 on Debian Jessie 64bit.

  179. blankLorenz Reply

    Hey I have a problem wit the installation. i7 8gb ram

    i only see console ext and it reboots. not sure where the problem is but i have some lines that may be wrong:

    sound assertion in applehda[…] (maybe 10 times

    ans DSMOS: SMC returned incorrect key: 00000000000[…]00000

  180. blankThomas Reply

    The CMD stucks an the last step: …getkeyfromrealsmc” 1 and if I start the VM it is in a bootloop. Can you help please?

  181. blanklwlin Reply

    This is super helpful — I followed every step, and it worked great!

    I’m running a Windows 7 host, and I’d like to get my mouse work smoothly in the guest macOS Sierra.
    But something went wrong as I tried to get VBoxGuestAddtions installed on the guest macOS Sierra, please see screenshot: https://www.dropbox.com/s/asx7m43ohtli90w/_vbox_macos.png?dl=0
    It’d be great if I could get some help. Thanks!

    My Enviroment:
    Host: Windows7 + Intel i7-4790
    VBox: 5.1.6
    VBoxGuestAdditions_5.1.6.iso from
    http://download.virtualbox.org/virtualbox/5.1.6/VBoxGuestAdditions_5.1.6.iso

      1. blankWaqas

        Hi,
        memory is 128MB
        Chipset: ICH9 and now I changed into PIXX3
        VT in enabled in BISO

        Still same situation 🙁

  182. blankAditya Patel Reply

    Hey,
    I dont know why but after following the same process I am having this thing where it says waiting for DSMOS… and then it repeats the process again and again. Here is the link where you can see my problem.

    https://drive.google.com/open?id=0BwEStMaQkcDQU1lfSnZqa3pXUUE

  183. blankPop Club Reply

    Hey! I was trying to download the Complete Zip file with IDM (Internet Download Manager) Since Its a fairly big file I can not download it in one session, IDM allows you to pause and resume downloads but when I try to resume this one… I get an error message saying that my session as expired…. Can someone please assist me.. Thanks!

    -Pop Club

  184. blankGM Reply

    Thanks very much! The VBoxManage commands really helped me boot Sierra. I was getting “dsmos: smc returned incorrect key” and was in a boot loop.

  185. blankMartijn Reply

    I’m getting the following message on step 7.5

    “This Mac is no longer eligible to create Apple ID accounts. Create an Apple ID using a different device”

    I’m trying to login with my existing account

      1. blankKURT

        @Faiz Orz Thanks for no help, wrong info and next time open your eyes. Find a way to fix the problems instead ofgiving wrong info. Fixed here.

  186. blankEric Reply

    Hey all. When I get to Step #5 and go to enter the first VBoxManage.exe line, I get this message:

    :\VBox>VBoxManage.exe modifyvm “Sierra” –cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
    VBoxManage.exe: error: Could not find a registered machine named ‘Sierra’
    VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
    VBoxManage.exe: error: Context: “FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())” at line 500 of file VBoxManageModifyVM.cpp

    What is causing this? The machine name is correct. I am trying to do this process using Portable-VirtualBox. Could that have anything to do with it?

    1. blanklongitron Reply

      For Windows 10, I had to add this line after changing to the \Oracle\VirtualBox directory:

      VBoxManage.exe registervm “C:\Users\user\VirtualBox VMs\macOS Sierra\macOS Sierra.vbox”

      just replace “user” with your actual user directory name

  187. blankSam Reply

    Hi,

    This tutorial works well for me, thx you 🙂

    The thing is that my guest screen resolution is like 1024*768, and i would change it to a higher resolution.. Is that possible ?

    Thx 🙂

      1. blanksam

        I fixed this bug by using VMware instead of VB… It works with better performance and I can have a real “fullscreen” mode. VM ware is by fare batter then virtual box, but is harder to setup ! 🙂 Thx

        By the way, I actually reply to your post on my Mac VM :p

      2. blankMukhtar Jafari Post author

        Yh, VMware is somehow better but the only problem is this that VMware is not free and VBox is open source.
        You can use it for free. Any way that’s good that it worked for you.

        Good Luck! 😀

      3. blankMukhtar Jafari Post author

        Yh, VMware is somehow better but the only problem is this that VMware is not free and VBox is open source.
        You can use it for free. Anyway that’s good that it worked for you.

        Good Luck! 😀

  188. blankPW Reply

    I get this error on VirtualBox, and the VM won’t even load because of it:

    Configuration error: Invalid config value(s) for the EFI device (VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES).

    Result Code:
    E_FAIL (0x80004005)
    Component:
    ConsoleWrap
    Interface:
    IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    Can someone help?

      1. blankPW

        Hi Mukhtar,
        I have gotten several Mac VMs to work successfully before with VirtualBox, from Mountain Lion up through Yosemite.
        My Intel i7 system is Mac-compatible. The error above is generated by VirtualBox, which fails to boot my VM with that error message.

      2. blankdanniel

        i too have same problem sir please help>>

        Failed to open a session for the virtual machine macOS Sierra.

        Configuration error: Querying "UUID" failed (VERR_CFGM_VALUE_NOT_FOUND).

        Result Code: E_FAIL (0x80004005)
        Component: ConsoleWrap
        Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    1. blankTimothy Madden Reply

      For this error on my Ubuntu 18 VirtualBox, I had to add my user to group vboxusers, as it looks like I am not a group member by default

      1. blankPW

        Hi Mukhtar,

        I have gotten several Mac VMs to work successfully before with VirtualBox, from Mountain Lion up through Yosemite.

        My Intel i7 system is Mac-compatible. The error above is generated by VirtualBox, which fails to boot my VM with that error message.

  189. blankMANIKANDAN S Reply

    macOS startup exits in between and starting again

    Error : “DSMOS : SMC returned incorrect key : 00000000000000000000*******Dont_Steal_MacOS.cpp:219”

      1. blankLuke

        After following the steps and booting it up, it just shows a black screen. Please help me fix this issue.

      1. blankMukhtar Jafari Post author

        Apply Step #5 once again.
        Keep in mind, before adding VB Code to the cmd quit or exit the VirtualBox. It should not be opened. Most of the time it’s not working when you let open.
        Good Luck!

      2. blankLuis Carmona

        I had the continuos reboot problem, but solved after exiting and relaunching VB, in fact the VB code needs a restart to be activated. Proceeding to Sierra install!

      3. blankasd

        Restart didn’t do the trick for me & it kept restarting. To fix, I closed VB and then I runned the VBCode from command promp all while VB was closed. Start VB & install

    1. blankpellet Reply

      make sure virtualbox is completely closed before running commands to avoid “DSMOS : SMC returned incorrect key” error.

  190. blankMike Jaret Reply

    I am stuck at the first run the virtual machine (pre install), it appears to keep rebooting at a certain point and starting all over again…….

    1. blankABhi Reply

      same thing happening with me…i followed all steps correctly on first boot it’s rebooting constantly…not even welcome screen appearing…

      1. blankMukhtar Jafari

        I’m not sure why it’s not working for you dear ABhi
        Is your system AMD or Intel? This method most of the time does not
        work on AMD systems.

      1. blankLeo

        Hello Mam,I have a problem regarding in opening a mac os in virtual machine.It always shows the Guru meditation that tells there was an critical error.Ive been following your steps in your website especially in putting a virtual code in cmd but it keeps showing it Guru meditation.What do you think is the problem mam? For me is my RAM is only have 4GB maximize only.Please kindly help me mam regarding to this problem

  191. blankEdo Reply

    Hello,

    I have followed all steps and now I am stacked with DSMOS has arrived or waiting for DSMOS. What should I do?
    Thanks
    Edo

  192. blankEdo Reply

    Hello,

    I have tried this How To, however I am stucked with Waiting for DSMOS or DSMOS have arrived. What should I do?
    Thanks

    Edo

    1. blankMukhtar Jafari Post author Reply

      If you have Mac Operating system so just go to beta.apple.com then download macOS Sierra.
      One day ago it’s published as public. Now, you can download it. If you don’t have MacBook or iMac.
      For now download the developer preview then Install on VirtualBox. The link is mentioned inside the post.

      1. blankTwilighttony

        Hello, I have tried this and others like it. I can’t get it to work and I don’t have a mac of my own. I have a custom built machine with a 6700k and it starts to load in the vm then does this:

        http://imgur.com/qgNhLIT

      2. blankTwilighttony

        Would you be able to help me, because I am trying to install mac os on my other ssd and this simply isn’t working. I followed your steps to the T. closing virtualbox in order to put the commands in, setting everything the way it was supposed to as well. I am at a loss

      3. blankFaiz Orz

        Try again from Step #5. Add VirtualBox Code to the CMD Then use these codes linked below.

        #1. Dowload VirtualBox Code
        #2. Or use this
        Code for Virtualbox 4.x.x:
        cd “C:\Program Files\Oracle\VirtualBox\”
        VBoxManage.exe modifyvm “Your VM Name” –-cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
        VBoxManage setextradata “Your VM Name” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “MacBookPro11,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

        Code for Virtualbox 5.0.x:
        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

      4. blankTwilighttony

        I have already tried those commands. I’ve done all of the steps and still won’t work.

      5. blankLeo Allesch

        I followed step 5 and closed VirtualBox before entering the commands and I keep on getting the same error. The error says that it can’t find that registered virtual machine. I double checked the name and it is correct.

      6. blankNate

        I keep getting the guru message, I have tried 5 versions of the os 10 different ways. I’m on Zorin OS, I can run all windows versions with VB also I tried several Linux flavors all working fine. just seems to be an issue when I try a Mac OS. Even a retail ISO install throws an error.

      7. blankTrilok G Nath Bakulapalli

        this is what I am getting I don’t know what the problem is I made sure I close the VB before step 5 and placing the code in CMD. Can you please help me asap. Thank you

      8. blankLegit Wubz l Music Producer And Performer

        I did everything EXACTLY like in the video and the pictures and the text but when I start the machine, I just get a blackscreen, no white text or something, just pure blackness 🙁 please help me

      9. blankMaggie

        Hey I’m getting the same black screen when I start up my VM but I checked and I have the display option set to 128 MB, any other helpful hints to solve this problem?

      10. blankjawid

        my computer is 64 bit icore 3, 3.3 machine still after installing virtual box it is showing 32 bit mac machine ; so i am unable to proceed the machine creation please do the needful

    1. blankJackie Tang Reply

      Amazing. Thank you so much, Mukhtar! I have been struggling for 2 days trying to installing Yosemite 10.10.5 on Virtualbox.

      I was going to give it up, then to my pleasure, I came across your post this morning. It took me only 3 hours to set it up. And now, I have macOS Sierra up running on my HP Probook.

      Thanks again & Have a GREAT weekend!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.