Install OS X El Capitan 10.11 on Windows on VirtualBox

参考视频:https://www.youtube.com/watch?v=7rM5iXOE7aI

1.1、下载

在百度网盘里面搜索:OS X 10.11 El Capitan GM by TechReviews

下载下面这些文件:

OS X 10.11 El Capitan GM by TechReviews.part01.rar

OS X 10.11 El Capitan GM by TechReviews.part02.rar

OS X 10.11 El Capitan GM by TechReviews.part03.rar

OS X 10.11 El Capitan GM by TechReviews.part04.rar

OS X 10.11 El Capitan GM by TechReviews.part05.rar

OS X 10.11 El Capitan GM by TechReviews.part06.rar

OS X 10.11 El Capitan GM by TechReviews.part07.rar

解压,得到OS X 10.11 El Capitan GM by TechReviews.vmdk

1.2、创建虚拟机
1.3、修改配置

如果您安装的VirtualBox的版本是4.x.x, 那么将下面的内容中的OS X Name全部替换成您的虚拟机的名称, 然后保存成install.bat,双击执行。

cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "OS X NAME" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
pause

如果您安装的VirtualBox的版本是5.x.x, 那么将下面的内容中的OS X Name全部替换成您的虚拟机的名称, 然后保存成install.bat,双击执行。

cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "OS X NAME" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
pause
1.4、启动安装

安装过程与在Ubuntu上安装完全一样