Site icon TechRechard

Complete Guide to Fix VirtualBox Errors While Installing Mac OS X

Complete Guide to Fix VirtualBox Errors While Installing Mac OS X

This informative article will demonstrate the comprehensive guide to fix VirtualBox mistakes while installing Mac OS X. There are many devices and various types of errors. So, in this article, we will take a look at all of them one by one.

Minimum System Requirements to install MacOS X on Virtualbox:

Minimum system requirements to install MacOS X on Virtualbox are: (It will help run macOS High Sierra or later versions without any problem.)

For fast performance, try installing macOS X on SSD rather than HDD.

Required: Enable Virtualization Technology (aka Intel VT or AMD-V). See the video below.

Some key points to remember before Installing Mac OS X:

1) Intel CPU works better than AMD

2) Turn OFF Antivirus programs (Windows Defender) and Windows Firewall before starting the install

3) Set Video RAM to between 64-128MB

4) Use no spaces in VM name (ex: “MACOSX” not “MAC OSX”). Also, no punctuation. Also, re-verify:

 VM Type: Mac OS X and Version: Mac OS X 10.11 El Capitan (64-bit)

 (These are in Virtualbox Settings->General)

5) Use wired Internet, not WiFi, for initial download/updates.

6) Run the CMD window as Administrator when entering command-line commands. Use this guide: How to “Run as Administrator” an application on Windows: 3 Easy Methods

7) You May need to start Virtualbox as Administrator. Use this guide: How to “Run as Administrator” an application on Windows: 3 Easy Methods

8) Be patient during the initial boot-up. It runs disk checks and other repairs… and can reboot several times.

9) Be sure your HD or SSD has >80GB of free space. All the updates after initial installation gobble space.

10) Black Screen? Try video RAM > 64MB and Chipset = PIIX3

11) Do not install Virtual Box Extensions “CD”

12) Before adding commands on CMD, make sure you have quit your Virtualbox.

Unkown option –cpuidset

If you get this error “VBoxManage.exe: error: Unknown option. –cpuidset. The VM hangs on boot” while adding the first code in the Command Prompt. It’s because of the double hyphen. Use Double hyphen “- – “before cpuidset.

VBoxManage error: Could not find a registered machine named Your VM Name

If you get this error “VBoxManage error: Could not find a registered machine named Your VM Name“, it is because you haven’t used the correct name of your virtual machine when adding the codes on CMD.

You need to use the same VM Name you used when creating the virtual disk.

Missing Bluetooth Controller

If you get this error, close the virtual machine before adding the CMD codes.

Guru Meditation error or Black Screen

This error is majorly seen because of two issues-

The critical error happens due to the guest operating system. It is trying to switch to the PAE mode, which is currently disabled by default in VirtualBox. PAE support can be enabled using the VM settings (System/Processor)”.

  1. Open VM VirtualBox
  2. File -> Settings -> System -> Processor
  3. Check Extended Features: Enable PAE/NX


For people with the black screen problem or Guro Meditation error, change the operating system version from macOS 10.13 High Sierra (64-bit) or macOS 10.12 Sierra (64-bit) to just the Mac OS X (64-bit). If the error persists, switch the Video Memory Size to 128 MB from the Virtual machine settings. This is a significant issue with most of the users.

This version of Mac OS X is not supported on this platform Reason: Iloveapple

Make sure Virtualization Technology (VT) is enabled from BIOS.

error: VBoxManage setextradata “OSX” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc” and you are stuck at appleKeyStore: operation failed (pid:30 sel:7 ret:e00002c2 ‘-536870206’)

Exit VirtualBox before adding codes to CMD.

Yhal Htet Aung

Try to change the inverted commons throughout the virtual codes. Since you are copying the codes, you might be using the wrong inverted commas.

So, copy the codes in your notepad file, replace all the inverted commas via your keyboard, and try again.

Invalid Virtualbox Version

Make sure you add the right virtual codes. You can download the correct version codes here-

Stuck in an infinite loop on Black Screen

Try using this command as the last command on CMD-

VBoxManage modifyvm “VM_name” –cpu-profile “Intel Core i7-6700K”


Try Motherboards Chipset – both PIIX3 and ICH9 one by one

install.nsh is not recognized as an internal command

1st method:
If you get ‘install.nsh’ is not recognized as an internal or external command, operable program, or script file. You have not attached the Virtualbox Boot Image.


2nd method:
If you then get messages along the lines of ‘\macOS Install Data\Locked Files\Boot Files\boot.efi’ missing or not recognized:

run setup.nsh

now run, fs0:\System\Library\CoreServices\boot.efi

and all should now spring into life.

3rd method:

  1. At UEFI prompt: Type exit
  2. You’ll be brought into an EFI text-mode GUI.
  3. Select Boot Maintenance Manager and click.
  4. Select Boot From File and click

You should see two entries in a list (they are cryptic looking PCI bus paths).

The first PCI path in the list is probably the boot partition that doesn’t contain bootable firmware. The second PCI path is probably to the recovery partition, the one you need to boot from. If the 2nd partition isn’t the recovery partition, look under the paths in the list to see if one of them is it. If the recovery partition isn’t present and valid, these instructions won’t work.

Click the 2nd entry, you should see (and then click):

macOS Install Data

Then click:

Locked Files

Then (if present), click

Boot Files

And finally click:


The installation will continue, or you will boot into the OS or get the Recovery utility menu (where macOS can be reinstalled from or Disk Utilities run). The ambiguity of that last statement is I did that awhile before writing this comment, and I don’t recall what I booted into first, only that it worked and was not hard to figure out what to do at that point. If you have a recovery partition, to boot directly into the Recovery Mode, turn on the Mac and immediately press and hold (⌘)-R

Set screen resolution

Use the following command- 

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

VBoxManage setextradata “VM Name” VBoxInternal2/EfiGraphicsResolution 1440×900

If you are still facing some issues, try using VMWare to install macOS on your Windows. When your current PC does not support Virtualbox and its configurations, try switching to VMWare. The process for it is relatively painless.

Share files and folders between Windows and MAC on Virtual Machines

You can go through this complete guide- How to share folders on VirtualBox & Vmware? (Windows-MAC) Step by Step Guide

I tried installing macOS Catalina on Virtual on Windows 10 on a low configuration system. You can watch the video tutorial here-

Exit mobile version