Install a MacOS virtual machine on a Windows system

To install a MacOS virtual machine on Windows, the preparation work is mainly divided into three aspects: computer configuration, MacOS image and virtual machine software.

Table of contents

Computer configuration: Turn on virtualization

MacOS Mirror: Download a MacOS Mirror

Virtual machine installation: install WMware virtual machine

Create a virtual machine: Create a MacOS virtual machine


Computer configuration: Turn on virtualization

Steps: shutdown -> restart -> enter the BIOS interface -> enable virtualization

For AMD CPUs, find SVM Mode in the advanced settings and set it to Enabled, save and exit.

For INTEL CPUs, also in the advanced settings, find Intel Virtualization Technology and set it to Enabled.

After the setting is complete, restart the computer, open the task manager, select performance, and you can check the activation status.

MacOS Mirror: Download a MacOS Mirror

The image format required by the virtual machine is iso or cdr. Usually, the image file downloaded from Apple’s official website is dmg, and the image can be downloaded online by itself.

Virtual machine installation: install WMware virtual machine

I use vmware 16.1.1 myself, and I download and activate it on the vm official website or a housekeeper.

Create a virtual machine: Create a MacOS virtual machine

open vmware

 Create a new virtual machine, select Typical, and click Next

 Select the downloaded iso image and click Next

 Not surprisingly, the MacOS system cannot be found

Then you need to use auto-unlocker to unlock the artifact at this time

 GitHub link: Releases · paolo-projects/auto-unlocker · GitHub

After the download is complete, there are only two files to unzip

Running Unlocker.exe as an administrator will automatically unlock vmware's support for Apple, and it will probably download more than 600 M files.

If the click to run gets stuck or is not unlocked, just run it a few more times.

After unlocking successfully, repeat the above steps, and the MacOS option will appear, click Next

Name the virtual machine and choose the installation path yourself, click Next

 Allocate the disk size, if possible, you can allocate a little more, click Next

 Customize the hardware, if possible, you can set the memory to 8G and the number of CPU cores to 4

 Once set, click Close.

-------------------------------------------------- -Dividing line----------------------------------------------- -----

If your computer is an Intel CPU, then the content of the dividing line has nothing to do with you, just skip the content of the dividing line.

If your computer is an AMD CPU, then read on.

Not surprisingly, when starting the virtual machine, it will report that the module "DevicePowerOn" failed to start .

Solution: In the detailed information of the virtual machine, open the configuration file, find vmci0.Present, and change its value to FALSE, which must be capitalized.

After the solution is completed, this problem will not occur, then restart the virtual machine.

If there is no accident, it may report " The client operating system has disabled the CPU "

The solution comes from: Wuji Vision https://www.bilibili.com/read/cv13362122

Put the following code at the bottom of the VMX configuration file, with no blank lines between lines

smc.version = "0"

cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011"

cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"

cpuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"

cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"

cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"

cpuid.1.ebx = "0000:0010:0000:0001:0000:1000:0000:0000"

cpuid.1.ecx = "1000:0010:1001:1000:0010:0010:0000:0011"

cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"

smbios.reflectHost = "TRUE"

hw.model = "MacBookPro14,3"

board-id = "Mac-551B86E5744E2388"

keyboard.vusb.enable = "TRUE"

mouse.vusb.enable = "TRUE"

So far all problems are solved

-------------------------------------------------- -Dividing line----------------------------------------------- -----

Until all the problems here are solved, the MacOS virtual machine can start normally. After the setting is complete, you will find that the card is flying. After all, the video memory is only 3M, so we also need to install VMwareTools.

Lucky solution: Start the MacOS virtual machine and install VMware Tools directly under the virtual machine.

Then follow the part of the following dividing line to install.

Unlucky as I am, it's gray! ! ! ! ! ! ! ! ! ! ! !

Unlucky solution:

Shut down the virtual machine and open the settings in the virtual machine

Select CD/DVD (SATA), choose to use ISO image file, and save. 

Restart the virtual machine, and VMware Tools will appear in the upper right corner of the desktop.

-------------------------------------------------- -Dividing line----------------------------------------------- -----

Double-click to run, click to install VMware Tools, continue until the installation, enter the password (set in the previous installation system) and install.

This installer will be banned by the system. Open Preferences, in Security and Privacy, click the lock in the lower left corner, enter the password again, and click Allow.

-------------------------------------------------- -Dividing line----------------------------------------------- -----

After restarting, the video memory changed from 3M to 128M.

Guess you like

Origin blog.csdn.net/pxsbxzw/article/details/125323249