How to Install macOS Mojave on VirtualBox on Windows 10 PC?

Definitive and easy instructions on how you can install macOS Mojave on VirtualBox on Windows 10 PC.

Apple unveiled macOS Mojave together with IOS update on WWDC 2018. As it was expected the macOS Mojave contains major updates and changes over macOS High Serriea and Serriea. 

Beside performance enhancement the most prominent features includes Dark Mode, a dynamic background which changes according to the hour of the day, Voice memos, Group FaceTime, New App Store, News, Stocks and more.

However, if you are excited about Mojave and you want to experiment these new features you definitely need to install it on your Windows PC. You can install macOS Mojave via dual boot or a virtual machine. 

As far as this topic is concerned about virtual machine i will talk about dual boot on the next article. However, to install macOS Mojave on VirtualBox on Windows PC, follow the definitive instructions below.

But before everything you need to understand what Virtual Machine is and what does it do and how it works.

What is Virtual Machine?

A virtual machine is a piece of software, which give the possibility to install different multiple operating system like Windows, MacOS, Linux and Android on a single physical computer. 

You have to know that there are different kinds of virtual machines available with its own unique features and functionalities, like VirtualBox, VMware but over all they do the same job. 

How Can You Install macOS Mojave on VirtualBox on Windows 10?

Installing macOS Mojave on virtualbox on Windows PC is not very difficult. It only requires some minor but essential steps and adjustments. Therefore, it is important to follow the exact steps included in this article.

Required Files and Software:

You need to download the Following listed software and files.

  1. macOS Mojave Virtual Image (VMDK)
  2. Virtualbox and Extension Pack
  3. WinRar 

Download macOS Mojave VMDK

To install macOS Mojave via a virtual machine (VirtualBox) first you need to download the virtual image of mojave (VMDK). to make it easier for you i have included the download links below. 

VirtualBox Mojave 10.14.3 HFS Version:

VirtualBox Mojave 10.14.3 APFS Version:

Download VirtualBox

VirtualBox is an open source and free virtual machine software built and developed by Solari’s company. What make VirtualBox unique is that everything is integrated into it including tools such as Internet adapter. The link to download the latest version VirtualBox is provide below.

Donwload WinRar

You need WinRar because you need to extract the zipped macOS Mojave VMDK file. However, it is not always important to use WinRar. You can a different software for this purpose like 7Zip or any other.

Install macOS Mojave on VirtualBox on Windows 10:

Step One: Install VirtualBox on your Windows PC

installing virtualbox on a Windows PC does not any professional skills. after you downloaded the virtualbox simply double on the setup and follow on screen instructions.

Step Two: Extract macOS Mojave VMDK

After you downloaded macOS Mojave VMDK file, proceed to extraction or unzip it. Use WinRar or 7Zip for this purpose.   

Step Three: Create a New Virtual Machine 

launch or run the Virtualbox and click on the “New” to create a new virtual machine.

Create New Virtual Machine

Choose the name, type and version following for your Virtual Machine.

  • Name: MacOS Mojave 10.14
  • Type: MacOS X
  • Version: MacOS 10.13 High Sierra (64bit)
Choose Name, Type and Version

Step Four: Select Memory Size 

On Memory Size configuration windows you will be required to choose the memory size you want to dedicate to virtual machine. you can select any number you want, but i highly recommand to go for at least 50%.

Choose Memory Size

Step Five: Hard Disk Selection

In this step either you have to create a new virtual hard desk or choose an existing virtual hard desk file by using folder icon. But it is recommended to go for existing virtual hard desk file.

Therefore, Click on Folder Icon, then add the “macOS Mojave 10.14.vmdk” file. Click “Finish” and your virtual machine will be created.

Add the macOS Mojave 10.14 vmdk

Edit the Virtual Machine

In order to work the virtual machine properly you need to edit or customize the virtual machined you created as appropriate. For this purpose follow the exact instructions provided below.

  1. Go to Setting System Motherboard then do as following
  • Check Mark the Optical Box
  • Check Mark the Hard Disk Box
  • Uncheck The Floppy Box
  • Check Mark the Network
  • Chipset: ICH9
  • Pointing Device: USB Tablet
  • Check Mark the Enable I/O APIC Box
  • Check Mark the Enable EFI ( Special OSes only) Box
  • Check Mark the Hardware Clock in UTC Time Box
Uncheck Floppy

2. Go to SettingSystem > Processor then increase the amount of processor to at least 50%. and increased the Execution Cap to max.

Increase the Number of Processor

3. Go to SettingDisplay Screen then do as following

  • Increase Video Memory to 128MB
  • Monitor Count 1
  • Scale 100%
  • Uncheck the acceleration 
Increase Video Memory to 128MB

4. Go to SettingStorage > then enable the Host I/O Cache

Enable the Host I/O Cache

Add Codes To Command Prompt 

In this step you have to add a bunch of codes to VirtualBox with Command Prompt (CMD). This is an essential part of installation because it allows the virtualbox to work properly. Therefore, follow the exact steps as instructed below.

Step One: Exit or Close the VirtualBox.

For this purpose go to File Menu on Virtualbox and click Exit to close the Virtualbox. If you do not exit the VirtualBox as it is said, later on the code for VirtualBox may not work.

Step Two: Copy the Codes (provided below), then open the Notepad and paste the codes on the Notepad.

Paste the Codes on Notepad

Code For VirtualBox 5x and 6x

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

Code for VirtualBox 4x

cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Virtual Machine Name" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

Step Three: Now change the “Your Vm Name” with your your own Virtual Machine name. If you remember i had choose the name “MacOS Mojave” for my Virtual Machine.

Change VM Name

Tip: To change VM name on the Notepad go to Edit Tab then select Replace and “Your VM Name”with own Virtual Machine name.

Step Four: In this step open the the Command Prompt (CMD) as administrator. 

Open Command Prompt as Administrator

Step Five: Now copy the codes line by line separately from Notepad and paste on the Command Promptand press Enter Key each time you paste the codes.

Copy Codes on Command Prompt

Remember: Paste the codes line by line separately and hit enter each time you paste a code. if you paste all the codes together, the codes will not work at all.

Install MacOS Mojave:

The final step is to install macOS Mojave on VirtualBox on Windows 10 PC. If you do not know how to do it follow the instructions mentioned below.

  • On VirtualBox click on Start button to begin macOS Mojave installation. Wait until the Apple logo appears on the screen. This process may take some time.
Start Virtual Machine
  • Now choose a country.
Choose Your Country
  • Next, select your keyboard layout, if you don’t see your one, click on Show All.
Select Keyboard Layout
  • Next, you will bel ask about the Data and Privacy. Read it and the click on Continue.
  • Now, you will be asked if you want to transfer your files. Choose Don’t Transfer any information to this mac. 
Choose Don’t Transfer any information to this mac. 
  • Next, enter you Apple ID and password to proceed to next step. However, if you do not have an Apple ID click Set UP Later and press Continue
Enter Your Apple ID or Skip it
  • Read and Agree to Terms and Conditions.
Agree to Terms and Conditions
  • Next, you need to create a computer account for sign in. Therefore, fill the blanks with your NameAccount NamePassword, and Hint then click Continue.
Create a Computer Account
  • Now, on the Express Set Up window just click on Continue to proceed further.
Express Set Up
  • The final step to choose whether you want the Light Mode or the Dark Mode.
Choose Light Mode or Dark Mode

Congregations! You have successfully installed macOS Mojave on VirtualBox on Windows 10 PC.

How to Fix Mouse and Keyboard Not Working On VirtualBox?

The very common problem which occurs most often is mouse and keyboard stack. basically this error happen if you did not install VirtualBox Extension Pack.

Therefore, to avoid mouse or keyboard errors follow the instructions below.

Step One: Install VirtualBox Extension Pack

Installing VirtualBox Extension Pack is a piece of cake. Simply visit the link below to download it, then install it.

VirtualBox Extension Pack

Step Two: Go to VirtualBox Setting > USB then select the last option (USB 3.0 xHCI Controlller)

Choose (USB 3.0 xHCI Controlller)

Full Screen Mode in MacOS 10.14 Mojave in VirtualBox

When you install the macOS 10.14 Mojave on VirtualBox on Window 10 PC the screen resolution is pretty low and awful. On the hand there is no option on the VirtualBox to change the screen resolution. 

Therefore, to change the screen resolution into any of the included resolutions below, follow the instructions.

Step One: Open the Command Prompt (CMD) as administrator

Open Command Prompt as Administrator

Step Two: Next, open the Notepad then copy the following codes and paste it on the Notepad

Add Codes on Notepad

Code for Screen Resolution

cd "C:\Program Files\Oracle\Virtualbox"
VBoxManage setextradata “Your Virtual Machine Name” VBoxInternal2/EfiGraphicsResolution X

Step Three: Now change “Your VM Name” with your created Virtual Machine name. and enter one of the following resolution instead of X

1920×1080 |1280×720 | 2048×1080 | 2560×1440 | 3840×2160 | 1280×800 | 1280×1024 | 1440×900 | 1600×900

Change VM Name

Step Four: Next, copy each line of codes separately and paste it on the Command Prompt (CMD) and press Enter Key each time you paste a code.

Conclusions: 

I hope this article helped you install macOS Mojave on VirtualBox on Windows 10 PC. if you have further questions in the comment box. It would nice answer your question.

2 Comments

Leave a Reply