In this article, I am going to show you how to install macOS Mojave on VirtualBox on Windows using the ISO image. If you are interested in Apple’s new Mac operating system macOS 10.14 Mojave and want to try it, then you are in the right place because here you will find any kind of files that you will need to install macOS Mojave on VirtualBox on Windows. Please follow the step by step pictorial tutorial below.
macOS latest versions are out, So check the guides below to install them:
- Guide to Install macOS Catalina on VMware on Windows
- Guide to Install macOS Catalina on VirtualBox on Windows
- Guide to Install macOS Big Sur on VMware on Windows
- Guide to Install macOS Big Sur on VirtualBox on Windows
Before we get started, make sure to read the following requirements. Please do not skip this step because it’ll help you to successfully install macOS Mojave on VirtualBox on Windows 10 PC.
- Minimum 2 GB memory (Recommended 8GB or higher)
- Minimum 2 cores of processors (Recommended 4 cores or higher)
- Hard disk free space 20 GB (Recommended 100GB or higher)
- Your system should support Intel or AMD VT (Virtualization Technology)
- Intel/AMD VT (Virtualization Technology) Should be enabled from BIOS setup
Required: If you haven’t already then you should enable Virtualization Technology (aka Intel VT or AMD-V).
Furthermore, it’s highly recommended that you install macOS Mojave on SSD (Solid State Drive) instead of HDD (Hard Disk Drive) because you will have a much faster performance with SSD rather than HDD.
Steps to Install macOS Mojave on VirtualBox on Windows Using ISO
- Download the Prerequisites
- Install VirtualBox on Windows on PC
- Install & Update VirtualBox Extension (Optional but important)
- Create a New Virtual Machine for macOS Mojave
- Edit the New Virtual Machine
- Execute the VirtualBox Code by command prompt
- Create macOS Mojave a Bootable Disk
- Perform a Clean Installation of macOS Mojave
Step 1: Download the Prerequisites
To install macOS Mojave on VirtualBox on Windows, you must download the following files and read the step by step guide to avoid any problems. If you miss any of the steps below, then you might be unsuccessful in running the macOS.
- Download macOS Mojave ISO
- macOS Mojave 10.14.6 (18G103) ISO Latest
- Download VirtualBox & VBox Code
If you want to install macOS Mojave on VirtualBox using VMDK, visit “How to install macOS Mojave on VirtualBox on Windows Using VMDK” guide.
Step 2: Install VirtualBox on Windows on PC
From the “Download Prerequisites” section of this post, you should have downloaded VirtualBox and if you didn’t, download VirtualBox latest version and install it on your Windows system. If you’ve already installed VirtualBox, then you can skip this step. Otherwise, follow the steps below.
- On the welcome Wizard page, click Next.
- Keep the default setting on the Custom Setup page and click Next.
- Again Click Next to accept the default options unless you want to change something.
- On the warning Network interface page, just click Yes to process with Virtualbox installation.
- Click the Install button to install VBox. Again click Yes if required.
- While installing VBox, you might a security warning about “Oracle Corporation”. You need to click Install on this page to process with the installation. If you click Don’t install, the installation process will be terminate here and you can’t go ahead. If you see the security warning again click the Install button.
- Finally, click Finish.
Step 3: Install & Update VirtualBox Extension (Optional)
This step is not 100% necessary but it’s highly recommended to do this step because macOS Mojave might not function properly on VirtualBox. For this reason, it might cause problems during the installation. Go to the Virtualbox download page. Under VirtualBox 6.1.10 Oracle VM VirtualBox Extension Pack section, click All supported platforms to download the latest version of Virtualbox Extension Pack.
Once you’ve downloaded the Extension pack. Now, Follow the steps below to update the Virtualbox extension pack.
- Open up VirtualBox, navigate to Tools>Pereferences>Extensions.
- Click on Plus (+) icon and select VirtualBox extension which you’ve downloaded at the beginning of this section. Click Install or Upgrade and then Agree to the terms and conditions. Click the OK button.
Finally, you should see something like the screenshot below.
Step 4: Create a New Virtual Machine for macOS Mojave
After installing VirtualBox, now you will need to create a new virtual machine on Virtualbox.
Creating a virtual machine for macOS Mojave is kind of the same as you creating a virtual machine for the Windows Operating system or Linux but with some minor changes. In this post, I’ll outline those changes. Follow the steps below to create a new virtual machine for macOS Mojave using the ISO file.
- Open up your VirtualBox application and click New
- Click Expert Mode and select the following options then click Create.
- Type a suitable Virtual Machine Name.
- Virtual Machine Location (a separate drive is recommended).
- Type (Mac OS X).
- Version (Mac OS X 64-bit).
- Memory 4 GB (recommended 8 GB or higher).
- Hard Disk: Select Create a virtual disk now.
- On the create virtual hard disk window, choose the following options.
- Disk Location: The default location should be fine unless you want to change to a new location.
- File Size: You can specify the disk size here.
- Hard disk file type: Select VHD (Virtual Hard Disk) format.
- Storage on physical hard disk: Select the Dynamically allocated option. However, if you want to have a better performance disk then choose a fixed disk. Fixed disk, will allocate the specified size from your host machine immediately. Read more about the dynamic vs fixed-size disk.
Step 5: Edit the New Virtual Machine
It’s time to edit the virtual machine to make it works. Select macOS Mojave VM and click on Settings. Now, bring the following changes to macOS Mojave VM.
- Under System>Motherboard, increase the Base Memory to 8192MB. However, you can use a bit lower memory if your system doesn’t have this much RAM.
- Uncheck Floppy from the Boot Order section.
- Under the Processor tab, increase the processors to 4 or higher.
- On the Display window, increase the Video Memory to 128MB.
- From the Storage section, click on the Empty>DVD icon. Click on Choose a disk file. You should select the macOS Mojave ISO image which you’ve downloaded from the “Download Prerequisites” section of this post. Finally, click OK to close the macOS Mojave Settings window.
Step 6: Execute the VirtualBox Code by CMD
Once you’ve created and customized your virtual machine, it’s time to run some codes in order to install macOS Mojave on VirtualBox. First, you should note your virtual machine name because later on, we will use it. Open the VirtualBox code which you should have downloaded from the “Download Prerequisites” section of this post. If you’ve not downloaded doesn’t matter. Just use the following code.
Note: Before, you execute the code by command prompt. You should read the following steps.
cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage.exe modifyvm "VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1" VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95" VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
- When you opened VirtualBox code via notepad or any other text editor, use the replace function of the program to Replace the “VM Name” with your virtual machine name. See the picture below to get an idea of how to do it.
- Now, you’ve two choices. First, if you want to fix your macOS Mojave screen resolution in the first place. You should also execute the following code. You have to change “VM Name” with your virtual machine name and HxV with a screen resolution such as “1920×1080“. For more supported screen resolution on VirtualBox and detailed guide, visit fix macOS Catalina screen resolution on VirtualBox.
VBoxManage setextradata "VM Name" VBoxInternal2/EfiGraphicsResolution HxV
Important Note: We highly recommend to quit the VirtualBox program before executing the code. If you don’t do it, your virtual machine might not proceed to the installation step.
- Once you replaced the “VM Name” with your virtual machine name, then run the code one by one via command prompt (CMD). You can open the command prompt by pressing the Windows+X key in Windows 10 and select Command Prompt from the list. Or simply press Windows key and type CMD. Click Run As Administrator and click Yes.
- Now, that you’ve executed the macOS Mojave VirtualBox code. Open the VirtualBox app then click the Start button to power on the VM. A black screen with a lot of white text will appear on the screen. Just wait for a few minutes and the macOS Mojave installation will start.
Step 7: Create macOS Mojave Bootable Disk
Once you start your VM, a whole bunch of code will run on the screen, but you should not be worried about it. Wait for a few minutes, and you should see the macOS Mojave Language window.
- Select your Language and click Continue arrow.
- Now, you’ll see macOS Utilities Window. From the list, select Disk Utility and click Continue.
- Select your main VHD Disk and click the Erase button. Choose the following options and again click Erase.
- Name: macOS HD (You can type any name you want)
- Format: APFS (If you get an error, select Mac OS X Extended Journaled)
- Scheme: GUID Partition MAP
- Now, Quit the Disk Utility window.
- From macOS Utilities, select Install macOS and click Continue.
- Click Continue on Install macOS Mojave screen.
- Agree to the macOS Mojave License agreement.
- Select macOS HD and click Install
- Now, wait for 3-7 minutes and your VM will restart. macOS Mojave will be installed on your Disk. Next, you should not do anything. You’ll see another 15-29 minutes installation window. Be patient till the macOS Mojave gets installed.
Step 8: Perform a Clean Installation of macOS Mojave
Once you’ve passed the step #9. You’ll see the macOS Mojave Welcome window. Select the following options. You can change most of the settings later on, so don’t worry about it for now.
- Select your Country and click Continue.
- Choose a Keyboard Layout and click Continue.
- On the “Data & Privacy” window, click Continue.
- Select Don’t transfer any information now and click Continue.
- Click on Set Up Later then Don’t Sign In. Click Skip. You can add your Apple ID later.
- Click Agree to the Terms and Conditions and click Continue.
- Fill out the Full name, Account name, Password, and Hint then click Continue.
- If you want to customize Express Set Up, you can click on Customize Settings otherwise click on Continue.
- Dark mode feature is added newly to macOS Mojave 10.14 so you can select Light or Dark mode then click Continue.
- Wait a little while to Setting Up Your Mac. Then you should end up on the desktop of macOS Mojave.
Related: How to Install macOS Mojave on VMware on WindowsFinally, you should see the macOS Mojave Wallpaper, and it successfully installs on VirtualBox.
In this guide, we have covered the following steps. These are the summaries of the above steps.
- Downloaded the Prerequisites
- Installed VirtualBox on Windows on PC
- Installed & Updated VirtualBox Extension (Optional but important)
- Created a New Virtual Machine for macOS Mojave
- Edited the New Virtual Machine
- Executed the VirtualBox Code by command prompt
- Created macOS Mojave a Bootable Disk
- Performed a Clean Installation of macOS Mojave
If you have any kinds of questions, suggestions or inquiries on how to install macOS Mojave on VirtualBox on Windows, please feel free to leave a comment down below this post. We will answer your every question and get your suggestion for our future works. Thanks for being with us.