Skip to content

Instantly share code, notes, and snippets.

@carlosb1
Created February 27, 2018 11:08
Show Gist options
  • Save carlosb1/a7bd61c47320990b9b62744e0c1086e1 to your computer and use it in GitHub Desktop.
Save carlosb1/a7bd61c47320990b9b62744e0c1086e1 to your computer and use it in GitHub Desktop.
configure mac image in virtualbox ubuntu
$ VBoxManage modifyvm "macOS Sierra 10.12" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
$ VBoxManage setextradata "macOS Sierra 10.12" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
$ VBoxManage setextradata "macOS Sierra 10.12" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
$ VBoxManage setextradata "macOS Sierra 10.12" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE"
$ VBoxManage setextradata "macOS Sierra 10.12" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
$ VBoxManage setextradata "macOS Sierra 10.12" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1