1、virtual box下载地址:https://www.virtualbox.org/wiki/Downloads
2、MAC15下载地址:
3、相关部署代码
#AMD处理器
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "虚拟机名称" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "虚拟机名称" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "虚拟机名称" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "虚拟机名称" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "虚拟机名称" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "虚拟机名称" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage modifyvm "虚拟机名称" --cpu-profile "Intel Core i7-6700K"
## Intel 处理器
cd “C:\Program Files\Oracle\VirtualBox\”
VBox Manage.exe modifyvm "虚拟机名称" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "虚拟机名称" “VBoxInternal/Devices/efi/0/Config/DmiSystemProduct” “iMac19,3”
VBoxManage setextradata "虚拟机名称" “VBoxInternal/Devices/efi/0/Config/DmiSystemVersion” “1.0”
VBoxManage setextradata "虚拟机名称" “VBoxInternal/Devices/efi/0/Config/DmiBoardProduct” “Iloveapple”
VBoxManage setextradata "虚拟机名称" “VBoxInternal/Devices/smc/0/Config/DeviceKey” “ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”
VBoxManage setextradata "虚拟机名称" “VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC” 0
VBoxManage setextradata "虚拟机名称" “VBoxInternal/TM/TSCMode” “RealTSCOffset”
------------- 增加显示分辨率和内存 ----------------
cd “C:\Program Files\Oracle\VirtualBox\”
VBoxManage setextradata "虚拟机名称" VBoxInternal2/EfiGraphicsResolution 1920x1080
选择分辨率:
1280x720 | 1920x1080 | 2560x1440 | 2048x1080 | 3840x2160
HD FHD QHD 2K 4K
VBoxManage modifiedvm "虚拟机名称" --vram 256