How to install macOS on Windows using VirtualBox
IT Tricks

How to install macOS on Windows using VirtualBox


As a Windows user, you may sometimes need to use macOS but don’t have the money to buy a separate Mac. Apple has always made it difficult to install its operating system on non-Apple hardware, making it difficult to take advantage of this delicate operating system.

However, with VirtualBox, you can install macOS on a Windows PC. And Quantrimang.com Find out how through the following article!

What you need to run macOS in a virtual machine

First, you will need to download a copy of Oracle VM VirtualBox. You will also need an ISO image of the macOS version you want to install. Techsviewer has created two macOS virtual files for VirtualBox, which you can download from Google Drive or Mediafire below.

VirtualBox Intel HFS Mojave 10.14.3

  • Link to download Google Drive:
https://drive.google.com/drive/folders/1rRsCDq2qN56EFK5awZLfHPiF42uhACs3?usp=sharing
 
  • Link to download from Mediafire:
https://www.mediafire.com/file/cy7oa9a154bnmua/Mojave_Image_HFS_by_Techsviewer.com.rar/file
 
  • File Code for VirtualBox, required:
https://goo.gl/GvhfVS

Virtualbox Intel APFS Mojave 10.14.3

  • Google Drive:
https://drive.google.com/drive/folders/1m5hNrScjMzYlB50yMx3rAHjpZCwBhhhB?usp=sharing
  • Media Fire:
https://www.mediafire.com/file/ijdsdjpm1cnu7nl/Mojave_10.14.3_VirtualBox_APFS_Image_by_Techsviewer.rar/file
  • Code for VirtuaBox (required):
https://goo.gl/GvhfVS

How to create macOS Mojave virtual machine with VirtualBox

Step 1: After installing VirtualBox, download the VirtualBox Extension Pack and double click to install it.

Install VirtualBox Extension Pack

After successful installation notice as below please turn off the VirtualBox window and open it again. Do not skip this step as it will affect step 10 and then you will not be able to use the keyboard.

Notice of successful installation of expansion pack

Step 2: Open VirtualBox > select New. In the Name line, name your virtual machine. VirtualBox will detect the operating system as you type and will default to macOS. In Machine Folder, you can change the folder containing the virtual machine. In Version, choose macOS 10.13 High Sierra, then press next.

Select macOS 10.13 High Sierra

Step 3: Set the amount of RAM that virtual machines and macOS can use. The recommended minimum is 4GB, but the more RAM you provide from the server system, the better the experience will be. Remember, you cannot specify more than the amount of system RAM available and you need to leave the amount of memory available to the server operating system (whether it is Windows Windows or Linux). (Refer to the article: How much RAM does your computer need? To get more details).

Select Use an existing virtual hard disk file

Step 4: You need to specify a hard drive. Choose Use an existing virtual hard disk file. Select the folder icon, press next Add and browse to the file VMDK:

Select VMDK file to add it to the virtual machine

Then press Create To start creating virtual machines:

Click Create to create the virtual machine

Besides, you can install VirtualBox on Windows 7 PC by following the instructions in the article: Basic steps to set up a virtual machine system with VirtualBox on PC or How to run macOS on Windows 10 in a virtual machine if You are using Windows 10.

Step 5: Before activating the virtual machine and using macOS Mojave, you need to make a few adjustments to the settings. Right-click on macOS virtual machine and select Settings.

Install virtual machine

Step 6: In System, unchecked Floppy from the boot order. Guaranteed Chipset is set to ICH9.

Set Chipset to ICH9

Step 7: Select tab Processor. Specify two processors. If you have an i7 CPU with backup power (or i9 has many additional cores), consider specifying an additional processor. However, this is not a matter of survival. Guaranteed box Enable PAE / NX selected.

Make sure the Enable PAE / NX box is selected

Step 8: In section Display, put Video Memory Fort 128MB.

Set Video Memory to 128MB

Step 9: Now, in the entry Storage, Please check the box next to Use Host I / O Cache.

Select Use Host I / O Cache

Step 10: In the USB section, select USB 3.0 (xHCI) Controller, then press OK, got it.

Select USB 3.0

Step 11: Patch the VirtualBox

Unfortunately, in the current configuration, VirtualBox does not work with macOS VMDK. To start and run, you basically need to patch VirtualBox before the macOS virtual machine can work. To do this, you need to enter some code into the Command Prompt. How to do the following:

Close VirtualBox, commands will not execute correctly if VirtualBox or any related process is running.

Open PowerShell with admin rights on Windows or open Command Prompt (Admin).

The following code works for VirtualBox 5.x and 6.x. Note: You need to return CMD to the correct VirtualBox folder you have installed on your computer. If there is no change to the installation, the directory will usually be located at the path C: Program Files Oracle VirtualBox. And the first command you enter cmd will look like this:

cd "C:Program FilesOracleVirtualBox"

On your computer, you install drive E, the VirtualBox folder is located at the path E: VirtualBox, and to switch between drives you need to use / d, your command will become: cd / d “E: VirtualBox”. You need to check the VirtualBox folder is located in the path to enter the correct command.

Now, enter the following commands, one by one. Edit the command to the correct name of the virtual machine you are using. For example, the virtual machine name in this article is MacOS. Here are the commands to use, copy them to Notepad, replace MacOS With the virtual machine name you enter in the Name box in the first image of Step 1, and paste each command one by one into the admin cmd:

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

After completing the commands and assuming you do not encounter any errors, you will have the results as shown below, then close the Command Prompt.

Close the Command Prompt

Start macOS Mojave virtual machine

Reopen VirtualBox. Double-click the macOS virtual machine or the green arrow Start button to start it. A cmd-like screen will run for a long time, about a dozen minutes or more.

The interface loads macOS operating system on the virtual machine

Wait patiently until the macOS Welcome screen appears below.

The macOS Welcome screen

From here, you can set up macOS Mojave virtual machine accordingly.

Advanced tip:

  • Create a copy of the virtual machine when it switches to the gray screen. If something goes wrong, you can go back to the Welcome screen settings and start the process again. When you finish installing macOS, create another copy to get into the macOS interface instead of having to run the setup steps from the beginning. Go Machine > Take Snapshot, name the copy and wait for it to process.
  • When you hover your mouse on the virtual machine, it may not be possible to move outside the server screen, then, press the Ctrl key to the right.

Do you have macOS running on a Windows PC? Do you have any optimal installation tips and tricks? Share your thoughts with everyone in the comments section below!

Hope you are succesful.

.

Leave a Reply

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