Skip to content

Instantly share code, notes, and snippets.

@u8sand
Created April 2, 2016 02:36
Show Gist options
  • Save u8sand/25d44ced3d4d13c13a734ced0102cde2 to your computer and use it in GitHub Desktop.
Save u8sand/25d44ced3d4d13c13a734ced0102cde2 to your computer and use it in GitHub Desktop.
El-Capitan Mac OS X VM Oracle Virtualbox configuration
#!/bin/bash
vm="OSX"
VBoxManage modifyvm $vm --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE"
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 "VBoxInternal2/EfiGopMode" 5
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "W8#######1A"
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiBoardSerial" "W8#########1A"
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemVendor" "Apple Inc."
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemFamily" "iMac"
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion" "IM112.0057.03B"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment