By Sheldon L | Published at 2020-01-28 | Updated at 2020-05-09 |
References: https://o7planning.org/en/12025/installing-mac-os-x-virtual-machine-on-virtualbox
New a MacOS of right version in VirtualBox, assign memory;
When assign disk: extract downloaded file to ~/VirtualBox VMs/Mac OS
, choose Use an existing...
and choose this .vmdk
file and create.
Setting network to bridge, 4 CPU;
Activation:
# restart terminal
cd path/to/VirtualBox\ MVs/MacOS
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
Download MacOS vmdk file(Same as VirtualBox one above)
Open VMware, create new VM.
Settings, RAM 4 G, Add Hard disk form Use an existing virtual disk.
(.ios
is also available, but .vmdk
is much simpler)
If Other .vmdk
image, may need other settings, skip to the end if you use the above image.
Open /Where/Your/VM/Installed/macOS*.vmx
using Editor, add a line smc.version = "0"
in the end.
After turn on, choose Disk Utiliy
:
VMware Virtual…
). Select it and click the Erase
button.APFS
format for installation. Select APFS
from the Format drop-down list. For older versions, select Mac OS Extended (Journaled).Erase
button to continue.Install VMware Tools from the menue when MacOS turn on.