Created
May 28, 2022 09:30
VirtualBox settings for installing MacOS Monterey to a VM on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# replace ${VM} with your VM name (ex: MacOSX Monterey) | |
# replace $RES with your resolution (ex: 1920x1080) | |
VBoxManage modifyvm "${VM}" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1" | |
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95" | |
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 | |
VBoxManage setextradata "${VM}" "VBoxInternal/TM/TSCMode" "RealTSCOffset" | |
VBoxManage setextradata "${VM}" "VBoxInternal2/EfiGraphicsResolution" "$RES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment