VirtualBox官网: https://www.virtualbox.org
VirtualBox 6.1.0:https://download.virtualbox.org/virtualbox/6.1.0/VirtualBox-6.1.0-135406-Win.exe
一、创建虚拟机
- 按自己的电脑配置给相应的资源
- 取消 "启动顺序" 中的软驱
- 虚拟机光驱给指定一下Mac系统的镜像文件
二、更改虚拟机配置
关闭VirtualBox,以管理员身份打开 "命令提示符"(俗称cmd),输入以下内容:
cd "C:\Program Files\Oracle\VirtualBox" # 切换到VirtualBox安装目录下,方便下边的输入
VBoxManage.exe modifyvm MacOS10.11 --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata MacOS10.11 "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata MacOS10.11 "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata MacOS10.11 "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata MacOS10.11 "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata MacOS10.11 "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
![](https://i-blog.csdnimg.cn/blog_migrate/4bf6125cd143c98e60712484f0fd694c.gif)
切记,修改配置命令时,一定要关闭VirtualBox,否则会失败!