https://techsviewer.com/install-macos-high-sierra-virtualbox-windows/
1. 相关软件和镜像
Latest preview: 10.13 Final (17A365). September 25, 2017.
Google Drive (One Full): https://goo.gl/dPJhqw
Google Drive (6 of 6): https://goo.gl/A2KEZg
Fix Download Limit: https://techsviewer.com/fix-download-limit
Code for VirtualBox (New): https://goo.gl/GvhfVS
VirtualBox: https://goo.gl/MztVe5
2.步骤
Step.1 解压虚拟机的镜像文件
Step.2 安装VitualBox
Step.3 创建一个新的虚拟机
Name: macOS 10.13 High Sierra
Type: Mac OS X
Version: macOS 10.13 or 10.12
Memory size: 3GB to 6GB ( 65% of your Ram)
Virtual disk file: macOS high Sierra 10.13.vmdk
选择“使用存在的镜像”并选择解压出来的vmdk文件
Step.4 编辑虚拟机
Click “Settings” button to edit your virtual machine.
Motherboard: enable EFI, change chipset to PIIX3 or IHC9
CPU: 2 Core (70% of CPU Core) and Enable PAE/NX.
Display: Change video memory to 128 MB.
Step.5 执行一些设置
关闭Virtual Box 以管理员身份运行CMD,将“Your VM Name“替换为你虚拟机的名字,并在cmd中执行如下命令
- Code for Virtualbox 5.x
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
*Code for Virtualbox 4.x
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Step.6 创建一个新账号
开启虚拟机,等待启动后进入欢迎页面