VirtualBox

How to Install macOS Mojave Final on VirtualBox on Windows PC

Written by John

Apple recently released a new macOS that they named macOS 10.14 Mojave. This is one of the biggest system changes since the High Sierra, and it comes with a myriad of cool features and changes. During the WWDC 18 when this OS was launched, its features were highlighted and many were amazes. Top among the features in the Mojave is an improved night mode. This has been extended to the entire interface, and now when using this OS in the dark, it will be better than before.

What more does the macOS Mojave 10.14 have to offer? You can find out even if you are using a Widows by learning how to install macOS 10.14 on VirtualBox on Windows. We will tell you how but before we do;

What is VirtualBox?

VirtualBox is a free virtualization program that can be used to create virtual machines controlled by Linux, Mac OS X or Windows operating systems within a PC that is already controlled by another operating system. With VirtualBox, creating a virtual machine is easy and so is managing and accessing it. Using VirtualBox, you will be able to easily integrate your Windows 10 and macOS Mojave machines with ease. Sharing files is assay as dragging and dropping. There are many other useful features you will find. All this is achieved without the VirtualBox Mac OS affecting the performance of the host Windows system.

The need for VirtualBox macOS Mojave Image

In order to run the virtual machine you create using VirtualBox, you will need to have the VirtualBox macOS Mojave Image. This contains the installation files needed to install the 10.14 Mojave. You can find this on other sites but the image may not work with Virtualbox. In order to get the best results, create a macOS Mojave ISO image file. This is made perfectly from scratch and will help you set up a virtual machine in a few minutes. 

Steps to follow to Install macOS 10.14 Mojave on VirtualBox on Windows

Step 1: Download macOS 10.15 Mojave

Download macOS Mojave App

You will need a Mac or Virtual Mac for this step. The first thing you need to do is download macOS Mojave from the App Store. Go to the App Store and search "Mojave" Once you locate the file from the search results, click on the "Download" link next to it. Go to your Application Folder and you will find the installer file right there.

Download macOS Mojave from Mac App Store

Step 2: Create macOS Mojave ISO Image

If you already have the "Install macOS Mojave.App", make sure that you move it into the Application folder. In this procedure, we shall create our Mojave ISO file by using the "Terminal" app that you can launch by going to "Applications" then Utilities.

# Create macOS Mojave DMG Image
hdiutil create -o /tmp/mojave -size 7900m -volname mojave -layout SPUD -fs HFS+J

# Mount Mojave DMG image to macOS
hdiutil attach /tmp/mojave.dmg -noverify -mountpoint /Volumes/mojave

# Create a Mojave Installer
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/mojave --nointeraction

# Unmount Disk Image
hdiutil detach /volumes/Install\ macOS\ mojave

# Convert DMG File to ISO File
hdiutil convert /tmp/mojave.dmg -format UDTO -o ~/Desktop/mojave.cdr

# Rename and Move Mojave ISO file to Desktop
mv ~/Desktop/mojave.cdr ~/Desktop/mojave.iso

If you have a problem with "createinstallmedia", follow this tutorial:
How to Download Full Size macOS Catalina Installer and Mojave

Step 3: Install VirtualBox and Extension Pack

To install the macOS 10.14 on VirtualBox on Windows you will need to have the latest versions of the VirtualBox software. You can use either VirtualBox 4.x or 5.x versions. Download this and install it on your computer. Ensure that you download the Windows version.
VirtualBox 6.1.4: Free Download

Install VirtualBox

To Install Extension Pack, download the latest version of the VirtualBox Extension Pack and open it.

Install Orade VM VirtualBox Extension Pack

Step 4: Create a New Virtual Machine

Open VirtualBox and at the top of the Window, click on the “new” button. This will open a wizard that will help you through the virtual machine creation process. Throughout this process, you will be asked to provide various kinds of information. Provide the virtual machine name as macOS 10.14 Mojave and the type as Mac OS X. The version is macOS 10.14. Click on “continue” and on the next page, set the RAM to allocate to this time machine. The best choice is to choose RAM that is 50% to 65% of the whole RAM your computer has. This will enable the virtual machine to operate optimally.

Virtual Machine Name and Memory

Next, you will be required to specify the Hard Disk to use. Choose “Create Virtual Hard Disk” then select size of your virtual disk (100GB). Click on the “Create” button and the virtual machine will be created.

Mojave Virtual Disk Size

Step 5: Edit the Virtual Machine

Open the just created virtual machine and click on the “Settings” button. In the “System” category open the “motherboard” tab. Check the box next to “Enable EFI” and change chipset to PIIX3.

PIIX3 Chipset in VirtualBox

In the “Processor” tab, check the box next to “Enable PAE/NX” and increase cores to 2 (50% of your CPU)

Processor

In the “Display” category, change the Video memory to 128MB. You can make many other changes as you wish using the different categories available. When done, close the Virtual machine.

Display Tab

Open Storage tab. Click on "CD/DVD" button and Open your Mojave.iso file.

Add Mojave ISO File to VirtualBox

Open USB tab and choose "USB 3.0". Click "OK" to save your virtual machine.

Enable USB 3.0 in VirtualBox

Step 6: Use Command Prompt to add code to VirtualBox

Close your VirtualBox before follow this step. To open the Command Prompt, type “CMD” in the search box. When you get the results, right-click on CMD and click on “Run as administrator”.
Code for VirtualBox (New): Download


Run Command Prompt

Note: replace "Your VM Name" in commands line with your Virtual Machine name in VirtualBox.

  • 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

Close VirtualBox then copies this code to Command Prompt.

Step 7: Install macOS 10.14 Mojave on VirtualBox

Turn on your Virtual Machine. Go to "Disk Utility" and format your Virtual Disk.

Open Disk Utility in macOS

Format your virtual disk with Mac OS Extended.

Format Your Virtual Disk

Now, install macOS Mojave on your VirtualBox.

Install macOS Mojave on Virtual Disk

Once your macOS Mojave has rebooted. Turn off your Virtual Machine. Open Storage tab in VirtualBox and remove Mojave.iso file. Click "OK" to save.

Remove Mojave ISO File in VirtualBox

Step 8: Run macOS 10.14 Mojave on VirtualBox

Open the just created VirtualBox and click on the “Start” button. Create a new account.

Create a new account

Set up the account as you wish and you can start using the macOS 10.14 Mojave as you would on a Mac.

Light and Dark Mode

Have fun to explore all the features the new Mojave has to offer. Done!

macOS Mojave Final (18A391) on VirtualBox on Windows PC

Bottom line

To enjoy macOS on Windows, you need to learn how to install macOS on VirtualBox. With this, you can experience all the features of this new operating system while still being able to use Windows at the same time. 

It is just like running other apps except that you can run other apps on the virtual machine. You will have two computers, a physical one and a virtual one within the physical one. VirtualBox makes all this possible without costing anything. It is available as an open-source virtualization software that is available free of charge for non-commercial use.

Featured Posts:

Featured Posts

1821
Leave a Reply

avatar
611 Comment threads
1210 Thread replies
14 Followers
 
Most reacted comment
Hottest comment thread
723 Comment authors
EricJohnKennet ThurmanAlunLulu Recent comment authors
newest oldest most voted
Kennet Thurman
Guest
Kennet Thurman

Thanks for the tutorial, really good job.

At Step 7, my machine doesn’t launch the installer, instead I get the count down/shell>. I assume you just run the VirtualBox and go through the setup… Could my Hard drive format give issues? Any ideas appreciated, thanks.

Lulu
Guest
Lulu

Hi, thanks a bunch, this is really helpful. only I have a mac and not a windows, so I am struggling a bit with the last steps, and also mouse be super slooooow in the virtual box and can’t find a way to fix it… If you have any pointer that would be great 🙂

Lex
Guest
Lex

The installer shows only a Mapping Table and a Shell. Mojave will not be installed. What i am doing wrong?

someoneandnotme
Guest
someoneandnotme

it work, but there is no sound

Patrick
Guest
Patrick

I don’t understand how other people seem to be following these instructions and having it actually work. When creating the virtual machine you say to set the version to macOS 10.14, however the screenshot you provided shows macOS 10.13 High Sierra. I assumed that was an error and that I needed to select 10.14 Mojave instead, but there was no option for that in the dropdown menu in Virtual Box (the highest version was 10.13). I ended up choosing 10.13 since it was the highest version available and continuing anyways. But once I got to Step 6, specifically the second… Read more »

yhwhdesign
Guest
yhwhdesign

Followed your steps line by line. when I got to the point where you talk about opening disk utility, i figured out that I needed to start my vm. I did. and just like most other tutorials I have followed like this, it stops at End RandomSeed and just sits there.

Is there anything I am doing wrong by change. Your tutorial is what i followed.
I do have an amd processor i believe… does that matter?

Jean-Roger Caron-Ma
Guest
Jean-Roger Caron-Ma

It is working! I have also followed another one of your articles on how to get the display to 128MB of memory. The problem is that it runs very slowly after a few minutes of use.

Alun
Guest
Alun

I had the same experience, this is how I resolved the speed problem:
Disable NAT in VirtualBox settings
Disable USB, mine reconfigured to 1.1 compatibility
Restart Mojave
Now you can reset the time zone from ‘Pacific’.
Machine is now responsive.

Alun
Guest
Alun

Missed out re-enabling NAT in VirtualBox to complete the configuration.

David
Guest
David

Hey! It works well but after using it for about 3 minutes it becomes totaly frozen, Mouse moves and time works but I cant open anything not even move any window.

Sathyaraj Thangaraj
Guest
Sathyaraj Thangaraj

Hello John,
I am facing an issue when the Mac OS is being installed @Step 7 suddenly the Virtual Box restarts and says Boot fail.
Virtual box 6.1 is the one installed in my machine..

Can you help to figure out the issue here ?

Thanks,
Sathyaraj