在Win10的VirtualBox上安装macOS Mojave
一、系统信息
OS:Window10 专业版
VM:VirtualBox
待安装OS:macOS Mojave10.14.3
二、安装步骤
a、准备工作
下载 macOS 10.14 Mojave (地址:http://www.mediafire.com/folder/hyq1nd2cf48ad/Mojave_10.14.3_APFS_Image_for_VirtualBox_by_Geekrar)。
下载VirtualBox (地址:https://download.virtualbox.org/virtualbox/6.0.12/VirtualBox-6.0.12-133076-Win.exe)
下载VirtualBox的扩展包 (地址:https://download.virtualbox.org/virtualbox/6.0.12/Oracle_VM_VirtualBox_Extension_Pack-6.0.12.vbox-extpack)
b、安装 Oracle VM VirtualBox及其扩展包
c、Create a Virtual Machine on VirtualBox
d、Apply the Code on VirtualBox
(可编写一个bat文件)
cd "D:\Program Files\Oracle\VirtualBox\"
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
e、Install macOS Mojave on VirtualBox
可用原来申请的AppID、做一些设置即可。
三、注意事项
虚机要安装扩展包并配置USB3.0(我这一步折腾了一小时)。