How to Create macOS High Sierra Virtual Machine in VirtualBox

In this article, we will examine how to build a new virtual machine for macOS operating system using Oracle VM VBox in Windows PC.

How to Create macOS High Sierra Virtual Machine in VirtualBox

How to Configure macOS High Sierra VM in VirtualBox

The Oracle VM VirtualBox program is a free and constantly evolving program. You can run Apple MacOS operating system on Windows operating systems using VirtualBox.

Creating a new VM on VirtualBox is easy and simple. But when creating a Mac OS virtual machine with VirtualBox you may need to change some settings. In the previous article, we installed MacOS with VirtualBox.

In this article, we will examine how to create a macOS VM with Oracle VM VBox.

NOTE: You can create a new VM for macOS Mojave 10.14 on VBox by following the stages in this article.

How to Create and Configure Mac OS VM using Oracle VBox

Before you create a macOS VM with VBox, perform the VirtualBox installation and then follow the steps below in order.

   Step 1

Open VirtualBox software and click the New button to create a new VM for MacOS.

Create a New Virtual Machine in VirtualBox

   Step 2

In the Create Virtual Machine window, type the name of the macOS system in Name section. Select the Mac OS X option in the Type section and the version of the Mac OS VM to be installed in the Version section and click the Next button.

Selecting macOS Type and Version in VirtualBox

   Step 3

Configure a minimum of 4 GB RAM for the macOS High Sierra VM and click on the Next button.

Configuring RAM Size of macOS VM

   Step 4

To create a new virtual hard disk for the macOS High Sierra VM, select Create a new virtual hard disk now and click Next.

Create a Virtual Hard Disk Now

   Step 5

Select VDI (VBox Disk Image) for macOS High Sierra VM hard disk file type and click Next button.

VDI (VBox Disk Image)

   Step 6

You can configure the macOS VM disk in 2 types.

Dynamically allocated: Quickly create a virtual hard disk and use as much space as needed on your hard disk. So when you install a program on the VM your disk will expand automatically.

Fixed Size: The VM will configure the hard disk size before installing, but this will take some time. For performance, you can configure a hard disk backup type of a VM as Fixed Size.

Select the desired option and click on the Next button.

Storage on Physical Hard Disk

   Step 7

Storing the hard disk of the macOS VM in a different location is useful for performance. To change the HDD location of the VM, click on the symbol you see in the image below.

Selecting Location and Size of macOS Virtual Machine

   Step 8

Select your Portable Hard Disk and create a new folder for the VM and click the Open button on the folder.

Selecting Location of macOS Virtual Machine

   Step 9

Click the Save button to save the virtual hard disk of the Mac OS High Sierra.

Save macOS.vdi

   Step 10

You can configure the virtual hard disk size to 30 GB. Click the Create button to create a VM hard disk.

Create a New Virtual Drive

   Step 11

Once the macOS High Sierra VM has been created, click the Right Button on it and select Settings from the window opened.

macOS Virtual Machine Settings

   Step 12

In the macOS VM settings window, click System and then Motherboard. Remove the Floppy device in the Boot Order section.

Adding ISO File to macOS VM

   Step 13

For the macOS High Sierra VM, configure 2 processors on the Processor tab.

Adding Processors to macOS VM

   Step 14

After you click on the Display tab and then on the Screen tab, configure the Video Memory value to 128 MB.

Configuring macOS VM Screen Resolution

   Step 15

To add the ISO file to the macOS High Sierra VM, click Chose Virtual Optical Disk File.

Choose Virtual Optical Disk Drive

   Step 16

Select the macOS High Sierra ISO file and click the Open button.

Choose macOS ISO

   Step 17

Click the OK button to close the Mac OS VM settings window.

Close VM Settings

   Step 18

Copy and paste the following commands into the text document before running the VM, and then click File to save the file with a different extension.

Write your VM name to the Your Virtual Machine Name section!

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

Editing macOS Virtual Machine

   Step 19

Click Save As

Save the Settings

   Step 20

Change the extension of the file to .cmd and click the Save button.

Create Code.cmd File

   Step 21

Run the Code.cmd file as an administrator.

Run as administrator

   Step 22

The CMD command prompt will open and the commands will execute within a few seconds.

Editing VirtualBox for macOS

   Step 23

Now you can run the macOS virtual machine and start the installation.

Starting Virtual Machine

   Step 24

You can see from the image below that the macOS VM has started successfully.

Launching Apple System

   Final Word

In this article, we have reviewed the stages for setting up the macOS VM on Oracle VM VirtualBox on the Windows 10 operating system. In the next article, we will install Mac OS 10.13.5 with Oracle VM VBox. Thanks for following us!

   Related Articles

How to Install Mac OS Mojave 10.14 on a Mac
♦ How to Install Mac OS Mojave 10.14 on VMware
♦ Download macOS Mojave 10.14
♦ How to Install VMware Tools on Mac OS Mojave 10.14
♦ How to Install Mac OS High Sierra 10.13.5


  1. Avatar for Al Herrera Al Herrera 31 August 2018

    I did this on Ubuntu, with a virtual hard disk image I previously downloaded from a VMWare image. Of course just watch out for step 18, since those commands are for Windows. It totally works!

  2. Avatar for Seth Seth 25 September 2018

    I tried these instructions, but when I get to the screen for installing the OS, it asks to select a drive to install it on, and nothing appears in the list, so I cant install it. Any ideas? Thanks!

  3. Avatar for T T 29 September 2018

    You have to prep the drive. It should boot a menu then you have to setup the drive with a partiton, etc.

  4. Avatar for VirtualBox User VirtualBox User 8 June 2020

    It just spills logs at me and says something about power, then servers and then legacy APIs

    • Avatar for Tolga Bagci Tolga Bagci 8 June 2020

      Downgrade your VirtualBox version and also download the ISO file we shared and try again.

  5. Avatar for Lior Lior 17 October 2020

    Please help, I got to the installation page when you can choose to install macOS or restore from the time machine backup, but when I click install macOS it says: “This copy of the install macOS High Sierra application is damaged, and can’t be used to install macOS.”
    What can I do to fix it??????

    • Avatar for Tolga Bagci Tolga Bagci 17 October 2020

      Open Terminal in the macOS Utilities screen and execute the “date 121401582018” command. Then quit the terminal and try the installation again.


Add a Comment

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