VBoxManage.exe modifyvm "macOS 10.12 Sierra" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS 10.12 Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "macOS 10.12 Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS 10.12 Sierra" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macOS 10.12 Sierra" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS 10.12 Sierra" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "macOS 10.12 Sierra" VBoxInternal2/EfiGopMode 4
SOURCE: http://saintlad.com/install-macos-sierra-in-virtualbox-on-windows-10/
SOURCE: http://saintlad.com/install-macos-high-sierra-in-virtualbox-on-windows-10/
1. Extract the Image File with Winrar or 7zip.
- Step 1: Go ahead and Install WinRar (I have included the latest (June 2017) link for WinRar for you).
- Step 2: Once you’ve done that then Right Click on macOS High Sierra.rar.
- Step 3: Then Select Extract here.
Note
Also make sure that you have enabled Virtualization in your computer’s BIOS.
You can use this helpful guide: Enabling Virtualization in your PC BIOS – Berkeley Common
2. Install VirtualBox
- Step 1: Alright. Now Download the latest version of VirtualBox (I have included the latest (June 2017) link for VirtualBox for you above 🙂 )
- Step 2: It’s pretty easy to install VirtualBox. Just keep clicking Next and then Finished until the end and you’re good to go.
3. Create New Virtual Machine
- Step 1: Now you have to create your new Virtual Machine. So what you have to do is, Open the VirtualBox you’ve just downloaded.
- Step 2: Next click on New which you can see to your upper left-hand side.
- Step 3: Sweet! Now all you have to do is follow on by adding each of the below details into each of the fields. 🙂
Name: macOS 10.13 High Sierra
Type: Mac OS X
Version: macOS 10.13 or 10.12
Memory size: 3GB to 6GB ( 65% of your RAM)
Virtual disk file: macOS high Sierra 10.13.vmdk
- Step 4: Select Use an existing virtual hard disk file and Open macOS high Sierra 10.13.vmdk File.
4. Edit Your Virtual Machine
- Step 1: You’re almost there! Now click on Settings to edit your virtual machine.
- Step 2: Next, it’s important that you set these settings:
Motherboard: Enable EFI, and change chipset to PIIX3 or IHC9
CPU: 2 Core (70% of CPU Core) and Enable PAE/NX.
Display: Change video memory to 128 MB.
Note
Once you’re all done with that make sure that you save and close your VirtualBox before going on to the next step.
5. Add Code to VirtualBox with Command Prompt (cmd)
Before you add the code into VirtualBox with your Command Prompt, you have a few tiny changes that you have to make to make things easier for you.
- Step 1: Replace “Your VM Name” in the code with your virtual machine name which you had just named before in your VirtualBox. (You can find it in General, then under Basic)
- Step 2: Copy and Paste this name onto each of the “Your VM Name” areas in the code in your Command Prompt.
- Step 3: You’re almost done! What you have to do now is find your Command Prompt (cmd) and Run as an administrator.
- Step 4: Once you have done that, Close your VirtualBox and then Copy and Paste this code one by one into yourCommand Prompt.
Code for Virtualbox 4.0.x:
VBoxManage.exe modifyvm "Your Virtual Machine Name" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Code for Virtualbox 5.0.x:
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Your Virtual Machine Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1