This has been covered about million times already, but I needed to get a relatively new OSX up and running and I have no access to an actual Mac to create the bootable ISO to use in VirtualBox. So here are my notes on the process.
Thanks to the howto from Howtogeek https://www.howtogeek.com/289594/how-to-install-macos-sierra-in-virtualbox-on-windows-10/
Prerequisites (I run this on Panasonic Toughbook CF-53 with 8GB RAM)
- 64bit Linux distro (I have used Mint 18.1)
- VirtualBox 5.1.22
- OSX El Captain 10.11 ISO downloaded from PirateBay
Create a new Virtual Machine OSX 10.11 El Captain in VirtualBox (There is an option now) The only modifications you need to do are these
Close VirtualBox now and add the following via terminal
$ VBoxManage modifyvm "OSX" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff $ VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" $ VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" $ VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663" $ VBoxManage setextradata "OSX" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" $ VBoxManage setextradata "OSX" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Now you will be able to boot the El Captain 10.11 ISO. Be patient, the boot process takes some time (approx 4 minutes on my machine) Once it is installed and configured it is much faster.
After installation (Not gonna cover how to install OSX here) you can add some custom resolution via the following commands for resolution 1440×900
VBoxManage setextradata "macOS Sierra" "VBoxInternal2/EfiGopMode" 4
Final boot time after you have configured everything takes 1minute 30 seconds to boot on the Panasonic CF-53. So I think this is pretty good for a Virtualized OSX
Here is a short video
Pingback: Marc Wäckerlin – Build for Old Mac OSX Versions