Skip to content

Instantly share code, notes, and snippets.

@simongcc
Last active March 19, 2019 09:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simongcc/e9fc623f0943415dbb711ac76bd3f99e to your computer and use it in GitHub Desktop.
Save simongcc/e9fc623f0943415dbb711ac76bd3f99e to your computer and use it in GitHub Desktop.
Notes on MacOS
# get cpu id
sysctl -n machdep.cpu.brand_string
sysctl -a | grep machdep.cpu
# set virtual box guest display ram size
vboxmanage modifyvm "macOS 10.12 Sierra" --vram 256MB
# set virtual box EFI data to macbook pro 2017 late
VBoxManage setextradata "macOS 10.12 Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro14,3"
# update vbox resolution for MacOS
# 10.12, 10.13
VBoxManage setextradata "macOS 10.12 Sierra" VBoxInternal2/EfiGraphicsResolution 1920x1080
# 10.11
VBoxManage setextradata "VM Name" VBoxInternal2/EfiGopMode N
# Where N can be one of 0,1,2,3,4,5 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1900x1200
# 0 1 2 3 4 5
# change virtualbox HD uuid
VBoxManage internalcommands sethduuid "path-to-file.vdi"
# install Mac OS VM
https://github.com/simongcc/osx-vm-templates
https://gist.github.com/simongcc/861b9c91d6bf1983ba0551959d25d37a
# additional drivers for Hackintosh/OSX in VM
https://www.tonymacx86.com/resources/multibeast-9-2-1-sierra.370/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment