cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage.exe modifyvm "macHS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "macHS" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "macHS" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "macHS" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "macHS" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "macHS" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
method 1: VBoxManage setextradata "yourVMName" "VBoxInternal2/EfiHorizontalResolution" "1920" VBoxManage setextradata "yourVMName" "VBoxInternal2/EfiVerticalResolution" "1080" method 2 (works on VBox 5.2.8): VBoxManage setextradata "yourVMName" "VBoxInternal2/EfiGraphicsResolution" "1920x1080" 1280x720 1920x1080 2560x1440 2048x1080 3840x2160 5120x2880 1280x800 1280x1024 1600x900 1440x900 method 3 (not work on 5.2.8): VBoxManage setextradata "yourVMName" "VBoxInternal2/EfiGopMode" "N" Where N can be one of 0,1,2,3,4,5 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1900x1200
So, Here is all in one video guide on how to do that:
Code for Virtualbox 4.x.x: cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage.exe modifyvm "OS X NAME" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 Code for Virtualbox 5.0.x: cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage.exe modifyvm "OS X NAME" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "OS X NAME" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Code Add to Virtualbox: cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "OS X 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
Additional Notes
additional reference (not tested)
The created USB disk can boot native mac as well.
It requires
Follow this guide to install with Display and Sound fix
Here are my Steps:
Lots of guides and modified OS download online, here are some links.