Skip to content

Instantly share code, notes, and snippets.

@ngobach
Created September 12, 2017 16:29
Show Gist options
  • Save ngobach/d668592e197980a141265ebf6fbc006c to your computer and use it in GitHub Desktop.
Save ngobach/d668592e197980a141265ebf6fbc006c to your computer and use it in GitHub Desktop.
VirtualBox configs for OSX
./VBoxManage.exe modifyvm "Mac" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
./VBoxManage.exe setextradata "Mac" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
./VBoxManage.exe setextradata "Mac" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
./VBoxManage.exe setextradata "Mac" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663"
./VBoxManage.exe setextradata "Mac" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
./VBoxManage.exe setextradata "Mac" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
./VBoxManage setextradata "macOS Sierra" "VBoxInternal2/EfiGopMode" 1
1 gives you a resolution of 800×600
2 gives you a resolution of 1024×768
3 gives you a resolution of 1280×1024
4 gives you a resolution of 1440×900
5 gives you a resolution of 1920×1200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment