Skip to content

Instantly share code, notes, and snippets.

@tatumroaquin
Created October 2, 2022 02:19
Show Gist options
  • Save tatumroaquin/87198411d17da0386b20512abdfeabce to your computer and use it in GitHub Desktop.
Save tatumroaquin/87198411d17da0386b20512abdfeabce to your computer and use it in GitHub Desktop.
Install MacOS inside VirtualBox

change cpu and device key

cd "C:\Program Files\Oracle\VirtualBox" VBoxManage.exe modifyvm "MacOS Big Sur" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "MacOS Big Sur" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "MacOS Big Sur" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "MacOS Big Sur" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "MacOS Big Sur" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "MacOS Big Sur" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 VBoxManage modifyvm "MacOS Big Sur" --cpu-profile "Intel Xeon X5482 3.20GHz"

changing display and resolution

VBoxManage setextradata "VBoxNAME" VBoxInternal2/EfiGraphicsResolution "1920x1080" VBoxManage modifyvm "VBoxNAME" --vram 256

Sudo /Library/Application\ Support/VMware\ Tools/vmware-resolutionset 1920 1080

//For automation echo "your mac password" | sudo -S /Library/Application\ Support/VMware\ Tools/vmware-resolutionset 1920 1080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment