How to Install macOS Sierra 10.12 on VirtualBox?

How to Install macOS Sierra 10.12 on VirtualBox?

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. Apple has announced the next version of its Mac operating system: 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.” We don’t yet know if Sierra carries a “10.12” version number, but with developers getting their hands on the OS later today, we should soon have that question answered.

Apple’s Craig Federighi ran through a whole bunch of new features to be included in the revised operating system. He started by mentioning Continuity and Auto-Unlock, which now combine to let you seamlessly unlock a desktop or laptop Mac merely by bringing your Apple Watch close, using what Federighi described as “time-of-flight networking” to detect the watch’s proximity. It was unclear from the presentation whether or not this feature is an Apple Watch exclusive; Federighi did not explicitly say that Auto-Unlock would work with iOS devices.

So, I’m not going to discuss anymore regarding Apple new release “macOS Sierra” instead; I’m gonna talk about installing macOS Sierra on VirtualBox on Windows operating system.

Related:

Install macOS Sierra on VirtualBox

  1. Extract macOS Sierra Image File
  2. Install VirtualBox on Your PC
  3. Create a New Virtual Machine
  4. Edit the New Virtual Machine
  5. Add VirtualBox Code to the CMD
  6. Play the Virtual Machine
  7. Perform a Clean Installation of macOS Sierra
  8. Conclusion

Update: The Steps below works on macOS Sierra 10.12 Final Version the nearly released by Apple. (20 September)

First, what you are going to do is make available the following materials.

Step #1. Extract macOS Sierra Image File

Once you downloaded the macOS Sierra image file then, you must extract it via WinRAR or 7zip. To extract the file, simply right-click on the file, then choose “Extract Here.” It’ll take some minutes to extract so wait for a moment.

How to Install macOS Sierra 10.12 on VirtualBox?

Extract macOS Sierra VM File

Step #2. Install VirtualBox on Your PC

Download VirtualBox from the link above. Once you have downloaded the VirtualBox, then Install it on your Windows PC. To install VirtualBox, click on the setup, then hit “Next” and “Next.” Finally, click “Finished.”

Step #3. Create a New Virtual Machine

#1. Now, you have to create a new Virtual Machine. Open the VirtualBox then tap on “New” at the upper left-hand side and name the Virtual Machine “macOS Sierra” then hit the “Next” button.

How to Install macOS Sierra 10.12 on VirtualBox?

Name and choose the Version

#2. Now, you’ll be prompted to select memory size for VM. Choose at least 4 GB of RAM space for the Virtual Machine.

How to Install macOS Sierra 10.12 on VirtualBox?

Choose Memory Size

#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“.

How to Install macOS Sierra 10.12 on VirtualBox?

Select Hard Disk type

Step #4. Edit the New Virtual Machine

#1. Open the VirtualBox then tap on “Settings“. In the “General Tab“, put everything to the default.
Go to the next option “System“. You will see three main tabs. Click on the first tab “Motherboard“. Uncheck “Floppy” drive and set the chipset to “ICH9“.

How to Install macOS Sierra 10.12 on VirtualBox?

Motherboard Settings

#2. Choose two core processors or more than two.

How to Install macOS Sierra 10.12 on VirtualBox?

Select Processor amount

#3. Navigate to “Display option” then put the video memory to 128 MB.

How to Install macOS Sierra 10.12 on VirtualBox?

Choose Video Memory

#4. Now, navigate to “Network” tab then “Enable Network Adapter”. And choose the adapter type “Intel PRO/1000 MT Server (82545EM)”.

How to Install macOS Sierra 10.12 on VirtualBox?

Enable Network Adapter

Step #5. Add VirtualBox Code to the CMD

#1. Before adding the code, you’ve to edit it first. Open the VirtualBox code then replace the “Virtual Machine Name”. Get help from the screenshot down below.

How to Install macOS Sierra 10.12 on VirtualBox?

Replace the Code

Note: To install macOS Sierra on VirtualBox you must “QUIT” VB otherwise it won’t work.

#2. Now, run CMD as administrator. Open VBox code and Add the code to the CMD one by one.

How to Install macOS Sierra 10.12 on VirtualBox?

Copy and Paste the VirtualBox Code

Step #6. Play the Virtual Machine

#1. In this step, you have to open VirtualBox then “Start” or run the macOS Sierra VM.

How to Install macOS Sierra 10.12 on VirtualBox?

Launch the Virtual Machine

#2. After running the macOS Sierra VM, you will see some white code on a black screen. You’re not going to do anything in this step. Just wait for a moment and macOS Sierra welcome page will appear.

How to Install macOS Sierra 10.12 on VirtualBox?

Installing macOS Sierra on VirtualBox

Step #7. Perform a Clean Installation of macOS Sierra

While installing macOS Sierra or El Capitan on VMware or VirtualBox then we don’t need to install it on separate disk because while editing the VM we choose the virtual disk type SATA, and this is the only way for now to install macOS Sierra or El Capitan on VMware or VirtualBox. So that’s why now in the very next step we have to perform a clean installation and to set up macOS Sierra.

#1. Choose your Country and click on Continue.

How to Install macOS Sierra 10.12 on VirtualBox?

Choose Language

#2. Pick a keyboard Layout and click on Continue.

How to Install macOS Sierra 10.12 on VirtualBox?

Choose Keyboard Layout

#3. Now select your method to transfer information to this Mac and click on Continue.

How to Install macOS Sierra 10.12 on VirtualBox?

Transfer Information to this Mac

#4. Enable location services and click on Continue.

How to Install macOS Sierra 10.12 on VirtualBox?

Enable Location Services

#5. In this step, you have to Sign in with your Apple ID. If you have one, then create a free Apple ID, by the article, how to create an Apple ID on iPhone, iPad or iPod Touch. If you don’t want to sign in with Apple ID or don’t want to create Apple ID, then Choose Don’t Sign in and Click on Continue.

How to Install macOS Sierra 10.12 on VirtualBox?

Sign in with your Apple ID

#6. Agree to the Terms and Conditions.

How to Install macOS Sierra 10.12 on VirtualBox?

Terms and Conditions

#7. Fill out the Full name,  Account name, Password, Hint and check the box of Set time zone based on Current location. Then finally click on Continue to create your user account for macOS Sierra, which will be installed.

How to Install macOS Sierra 10.12 on VirtualBox?

Create a Computer Account

#8. Select the options for Diagnostics & Usage and click on Continue.

How to Install macOS Sierra 10.12 on VirtualBox?

Diagnostics and Usage

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

How to Install macOS Sierra 10.12 on VirtualBox?

Setting up macOS Sierra

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

Conclusion

After performing a clean installation and Setting up your macOS Sierra then you should see your final result that, macOS Sierra has successfully installed on VirtualBox. In this post, That was all about, how to install macOS Sierra 10.12 on VirtualBox and I have covered;

  • Extract macOS Sierra Image File
  • Install VirtualBox on Your PC
  • Create a New Virtual Machine
  • Edit the New Virtual Machine
  • Add VirtualBox Code to the CMD
  • Play the Virtual Machine
  • Perform a Clean Installation of macOS Sierra

Thanks for being with us.

Searches related to install macos sierra on virtualbox

Install macOS Sierra 10.12 on VirtualBox – Windows 10, 8,
virtualbox macos sierra
virtualbox on sierra
install mac os sierra on vmware
install virtualbox on sierra
virtualbox sierra mac
virtualbox sierra host
install virtualbox on mac sierra
macos sierra virtualbox linux

Mukhtar Jafari is the CEO of wikigain.com and he is a blog writer on different technology platforms such as Android, iOS, PC and Macintosh. He would like to share his experiences with IT enthusiast via this blog. He loves IT stuff and currently studying CCNA, Linux and MCSA.

768 Comments

  1. Patrick 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}

  2. Anika 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

  3. Spartan318 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!

  4. Sakura 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.

  5. melkzedek 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?

  6. Robert 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

  7. jeff 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?

  8. ger 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.

  9. jamil 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}

  10. Alejandro 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

  11. sai 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

  12. 비빔냉면 둥띠디디뎅 Reply

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

  13. Joey 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. Faiz 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. Joey

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

      2. Faiz 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.

  14. Arif 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. Deepak 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. Faiz 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'

  15. Rob 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?

  16. Joel 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.

  17. Tanin Reply

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

  18. Jack 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

  19. ameni 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”

  20. olavsu1 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. olavsu1 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.

  21. Alan 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. Alan 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!! ✯✯✯✯✯

  22. Jean-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

  23. v410 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

  24. Dennis 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

  25. Lynx 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.

  26. Bonghwan 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?

  27. Dave 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.

  28. Chase 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. Brandon 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. Mukhtar 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.

  29. new 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

  30. Juan Reply

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

  31. gustavo 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?

  32. SysProfile 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

  33. James 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.

  34. Steffen 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!

  35. Raj 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?

  36. Vincent 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?

  37. Jonathan 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.

  38. James 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 !!!

  39. Maciek 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. Mukhtar 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.

  40. Karim 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 ?

  41. P 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)

  42. Dan 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

  43. Bob Rivers Reply

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

      1. Bob Rivers

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

  44. Stefan 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!

  45. Beth 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

  46. Noorquacker 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.

  47. Lockevn 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.

  48. Psyka 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}

  49. Psyka 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}

  50. John 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.

  51. John 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

  52. Han 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 😉

  53. FirstLeatha 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
    $$$

  54. ithan 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

  55. Florian 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.

  56. AS 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.

  57. Pixo 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

  58. Raj 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. Raj

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

  59. Patrycja 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?

  60. sbosque 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!

  61. luis 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

  62. swaglord 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. swaglord 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

  63. Elliah 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.

  64. Edomera 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.

  65. ravi 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. Faiz 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'

  66. Kem 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. Mukhtar 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. Kem

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

      2. Kem

        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.

  67. Kem 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. Mukhtar 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.

  68. Manimegalai A Reply

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

      1. David

        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

  69. Sophie 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?

  70. Fabio 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. Fabio

        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. Fabio

        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

  71. Bulcsu 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.

  72. Anand 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 ?

  73. John Reply

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

  74. Erc 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. Faiz 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:

  75. jack Reply

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

  76. Rik 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.

  77. Morgan 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

  78. Troy Cooper Reply

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

    1. Mukhtar 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.

  79. morten 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. morten

        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

  80. Josh 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!

  81. Kartar 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

  82. Emilio 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!!!

  83. Sam 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. Anthonique P Ferguson

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

  84. DSDDOS 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}

  85. David 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

  86. Arnie 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. Arnie

        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

  87. Abdulrahman 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)

  88. Mordef 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.

  89. Bill 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.

  90. David 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. David

        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

  91. Anthonique 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.

  92. Jordan 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. Jordan 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!!!

  93. Derrix 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.

  94. Dat 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. Moody 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?

  95. JH 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!

  96. Alessandra 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.

  97. Votality 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??

  98. Votality 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.

  99. biotique Reply

    Working like a charm in Virtualbox.
    thank you!

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

  100. neil 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?

  101. Neil 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

  102. baas 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.

  103. Gustavo (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. Mukhtar 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

  104. Emmanuel Reply

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

  105. KvackEvolution 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

  106. BigJoe 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

  107. Chris 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.

  108. Marco 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).

  109. Mike Terner Reply

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

  110. MrDarkmark 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

  111. Jua 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.

  112. Dhanji Parmar Reply

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

      1. Dhanji Parmar

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

  113. Asriel 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. M. J.

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

  114. Mr. 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.

  115. Leo 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. Faiz 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'

  116. careyer 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

  117. Ni 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

  118. Anon 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.

  119. Asuka 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.

  120. Tom 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.

  121. Milind Reply

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

    1. Bernhard 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

  122. Aekanshu 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. Greg

        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.

  123. Peter 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. 🙁

  124. Amogh 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.

  125. Ismail 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.

  126. Pedro 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.

  127. Vizor 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. Mukhtar 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. f 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 ~~~~

  128. Dennis 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

  129. Nik 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 😀

  130. Ish 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.

  131. Mike 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. Mike 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!

  132. William 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. William 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. omar 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. omar 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. Kevin

        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. Jacob

        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

  133. CsabaZz 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?

  134. Josenildo 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!

  135. Rudy 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 ?

  136. Rudy 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?

  137. Johar 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. Oleh

        ——
        * 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. Oleh 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!

  138. Marcos Santo Reply

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

    Thanks in advance

  139. NothingIsReal 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

  140. Diogo 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?

  141. Insaf 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?

  142. Shazam! 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 🙂

  143. Roy 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.

  144. Ahtisham 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.

  145. none Reply

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

    1. Mukhtar 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).

  146. Noah 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?

  147. Spicy 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.

  148. luckyduck69 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. alec 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.

  149. ToadFungoso 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. Mukhtar 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. ToadFungoso

        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>_”

  150. Me 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. Mukhtar 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! 😀

  151. doubleplusthink 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:\

  152. Mindaugas 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. Mukhtar 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.

  153. Khusk 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. Petter 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. Mukhtar 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.

  154. Losada 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

  155. Petter 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. Mukhtar 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. Petter

        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. Chad 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. Mukhtar 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.

  156. Jessica 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. Taras 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

  157. Eric 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.

  158. Eric 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. D

        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.

  159. macOS 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.

  160. Hunter Hemingway Reply

    Stuck on Step 6 part 2.

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

  161. alessio 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

  162. Alberto 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. Mukhtar 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. Michal

        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

  163. Paul 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 !

  164. Jo Reply

    Hello,

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

    Any suggestions?

  165. Paul Reply

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

  166. Paul 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?

  167. Goechi 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. Pavel 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. Pavel 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?

  168. Vlad 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.

  169. getwell2 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. DavidM 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!

  170. Georges Reply

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

  171. jamacoe 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?

  172. jamacoe Reply

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

  173. Lorenz 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

  174. Thomas 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?

  175. lwlin 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. Waqas

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

        Still same situation 🙁

  176. Aditya 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

  177. Pop 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

  178. GM 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.

  179. Martijn 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