VirtualBox 安装 MacOS

0

神秘代码:62D0B1558260A69F5FD90632F2E2CAA65172719A

安装文件时CDR格式的,直接用这个文件启动就可以了,不用转为ISO文件。

创建虚拟机:MacOS

关闭虚拟机,进入VirtualBox根目录执行一下命令:

VBoxManage 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

然后启动虚拟机,安装过程中可能会有一个找不到文件的提示,但是我没有管等一会也进入到安装界面了。
如果安装选择磁盘时没有显示磁盘需要使用磁盘工具进行格式化(抹掉)。