1,下载MAC OS 10.12.vmdk
https://pan.baidu.com/share/init?surl=o7VmnCQ 提取码:zu4w
2,首先,新建虚拟机,直接切换到专家模式,然后在名称处输入MacOS10.12,内存建议设置4096MB或者更多,虚拟硬盘选择前面下载的那个macOS 10.12 Sierra Final by TechReviews.vmdk文件,然后点击创建。
3,创建完毕后,点击设置,处理器数量更改为2;主板选项里面把软驱去掉;显示选项里面把显存设置为128MB;点击OK保存设置。
4,以管理员身份运行命令提示符(cmd);输入:cd “C:\Program Files\Oracle\VirtualBox\” 进入VirtualBox目录,然后依次输入以下内容:
VBoxManage.exe modifyvm "MacOS10.12" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
5,输入完毕后,打开虚拟机,启动创建的虚拟机,走完初始化过后就会出现图形安装界面,为英文,进入系统后可以修改为中文,OK。
from:https://www.cnblogs.com/liming2017/p/7566953.html
https://hintdesk.com/2016/07/29/how-to-install-mac-os-x-sierra-10-12-on-virtualbox/
https://www.wikigain.com/complete-guide-fix-virtualbox-errors-installing-mac-os-x/
https://www.wikigain.com/install-mac-os-x-el-capitan-virtualbox/