maintained by: hkdb <hkdb@3df.io>
This script automates the following commands:
VBoxManage modifyvm "MacOS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "MacOS" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"
It also executes the following if the host is not on an Intel CPU:
VBoxManage modifyvm "${VM}" --cpu-profile "Intel Core i7-6700K"
v1.2 - Added support for non-Intel hosts based on @jld3103
v1.1 - Merged PR Fix, Added Version Tracking, and Fixed README
v1.0 - Initial Release
As of v1.1, I created a develop branch for development or pull requests if it's still needed. Though, I think this is a simple enough script that probably won't require any further development?
Nothing needs to be installed. It's just a script that runs commands for you.
setup.sh takes 2 arguments which is what you named your VM led by a -v flag and the desired resolution for your VM led by -r. For example, I named mine "MacOS" and my full screen resolution is 1920x1080. Therefore, this is how I run the script:
./setup.sh -v "MacOS" -r 1920x1080
Shell
100.0%
maintained by: hkdb <hkdb@3df.io>
This script automates the following commands:
VBoxManage modifyvm "MacOS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "MacOS" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "MacOS" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"
It also executes the following if the host is not on an Intel CPU:
VBoxManage modifyvm "${VM}" --cpu-profile "Intel Core i7-6700K"
v1.2 - Added support for non-Intel hosts based on @jld3103
v1.1 - Merged PR Fix, Added Version Tracking, and Fixed README
v1.0 - Initial Release
As of v1.1, I created a develop branch for development or pull requests if it's still needed. Though, I think this is a simple enough script that probably won't require any further development?
Nothing needs to be installed. It's just a script that runs commands for you.
setup.sh takes 2 arguments which is what you named your VM led by a -v flag and the desired resolution for your VM led by -r. For example, I named mine "MacOS" and my full screen resolution is 1920x1080. Therefore, this is how I run the script:
./setup.sh -v "MacOS" -r 1920x1080
Shell
100.0%