Created
June 5, 2019 08:19
-
-
Save landsman/22c1ceb2efa73f228da8b4c0d75503ce to your computer and use it in GitHub Desktop.
virtualbox mojave setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
readonly VM_RES="1366x768" | |
readonly NAME="Hackintosh" | |
VBoxManage modifyvm "$NAME" --usbxhci on --firmware efi --chipset ich9 --mouse usbtablet --keyboard usb | |
VBoxManage setextradata "$NAME" "CustomVideoMode1" "${VM_RES}x32" | |
VBoxManage setextradata "$NAME" VBoxInternal2/EfiGraphicsResolution "$VM_RES" | |
VBoxManage modifyvm "$NAME" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
VBoxManage setextradata "$NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" | |
VBoxManage setextradata "$NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
VBoxManage setextradata "$NAME" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" | |
VBoxManage setextradata "$NAME" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
VBoxManage setextradata "$NAME" "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