Skip to content

Instantly share code, notes, and snippets.

@elhoyos
Last active May 12, 2020 14:11
Show Gist options
  • Save elhoyos/4d798334e2e03bdef9a73aec25815c86 to your computer and use it in GitHub Desktop.
Save elhoyos/4d798334e2e03bdef9a73aec25815c86 to your computer and use it in GitHub Desktop.
OS X El Capitan in VirtualBox
# Adjust the display resolution
# Use with:
# 128MB of video memory
# Graphics Controller: VBoxVGA
# 3D acceleration enabled
VBoxManage setextradata "Mac OS X El Capitan" VBoxInternal2/EfiGraphicsResolution 1920x1080
# Given a VM Machine named after "Mac OS X El Capitan"
# Run the following commands
VBoxManage modifyvm "Mac OS X El Capitan" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Mac OS X El Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Mac OS X El Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Mac OS X El Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Mac OS X El Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Mac OS X El Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment