VirtualBox黑苹果安装
Window使用管理员模式打开CMD
d: :: 这里切换磁盘
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
VBoxManage setextradata macOS VBoxInternal2/EfiGopMode 4
VBoxManage setextradata macOS VBoxInternal2/EfiGraphicsResolution 1440x900
Pause
安装完成,打开虚拟机即可