Skip to content

Instantly share code, notes, and snippets.

@spino327
Forked from u8sand/masquerade_as_mac.sh
Created July 28, 2018 20:04
Show Gist options
  • Save spino327/a5ac8fa1183f20fd7e2fae7a101b817c to your computer and use it in GitHub Desktop.
Save spino327/a5ac8fa1183f20fd7e2fae7a101b817c 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"
@trulliknuppel
Copy link

how would it look for a MacBook11,3
I tried a bunch of different entries ..and always it got stuck later on booting the machine in virtualbox
on what point do i have to configure it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment