In this tutorial, learn how to download and install macOS in VirtualBox on Windows 10 PC.
macOS and Windows – which one do you want to use today? With VirtualBox, you can install macOS on your Windows 10 PC. Let’s start!
See more: VMware vs VirtualBox: Which is Better For Desktop Virtualization?
What You’ll Need:
To begin, you’ll need an ISO image of the macOS version you want to install. Also, you need to download a copy of Oracle VM VirtualBox.
How to Install macOS in VirtualBox
Step 1. Install VirtualBox
Download and install VirtualBox on your Windows 10 PC. Click here to download VirtualBox for Windows 10.
Step 2. Download macOS ISO Image for Virtualbox
Step 3. Create macOS Virtual Machine
1. Launch VirtualBox, and then click the New icon to create your new virtual machine.
2. Type the name of your macOS version to name your virtual machine. For example, Mojave or High Sierra. The Type and Version change automatically, based on the name you enter. Click Next.
3. Choose the amount of RAM to be allocated to your virtual machine. Click Next.
4. Select “Create a virtual hard disk now” and select on the “Create” button. Leave the default setting of “VDI” checked. Then click “Next”.
5. Decide whether you want a dynamically fixed or allocated size virtual hard drive. A fixed-size drive will immediately take up the set amount of space on your physical hard drive. A dynamically allocated drive will start small and grow in size as more space is needed.
6. Select the size of your virtual hard disk. Click on Create to finish creating your virtual machine.
Step 4. Configure Virtual Machine settings
1. Once you have created your Virtual Machine, it’s time to edit it. With your virtual machine highlighted, right-click it and click Settings.
2. In the side menu, choose System and make sure that Floppy is unchecked in the Boot Order settings. This will ensure that your virtual machine boots from your High Sierra disc image. After that, you set “Base Memory” to a suitable level – 2048MB at a minimum.
3. Navigate to System, click on the Processor tab. Set the number of CPUs to at least two, and make sure that Enable PAE/NX is enabled.
4. Then, go to the Storage tab in the same window. Under Storage Devices, select on Empty. Click on the icon of an optical disk in the top-right corner of the screen, and choose your macOS ISO file, ensuring Use Host I/O cache is enabled. Click OK.
5. Moving on, go to the Display tab and set Video Memory to 128MB. Click OK.
6. Close VirtualBox.
7. Before you can run macOS in a virtual machine, you’ll need to run the following commands from PowerShell or Command Prompt with admin privileges on Windows.
cd “C:\Program Files\Oracle\VirtualBox\”
VBoxManage.exe modifyvm “MacOS” –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata “MacOS” “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac11,3”
VBoxManage setextradata “MacOS” “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
VBoxManage setextradata “MacOS” “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”
VBoxManage setextradata “MacOS” “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
VBoxManage setextradata “MacOS” “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 1
8. Now, relaunch VirtualBox, click on the Start icon to begin installing macOS.
9. Finally, macOS should be installed in VirtualBox.
Any time you want to use it, simply open VirtualBox and start your virtual machine.
VIDEO TUTORIAL:
Hope something helps you.