How to Install MacOS High Sierra 10.13.6 on VirtualBox (Copy of an article with minor modifications)
Download ISO file
Use this link to download the High Sierra ISO image. If the link is expired, you can use this link
The rest is the copy of the original article
Install VirtualBox
Use this link to download the installation for your operating system.
You just need to press a series of “next” buttons and finally the “finish” button. When the installation is finished you will need to restart the PC and then you can continue with the subsequent steps.
Create a new virtual machine
Open the newly-installed VirtualBox and on the upper left side of the screen, click on “New”. In the first screen that appears, type in a descriptive name for your Virtual Machine. An ideal name would be “macOS High Sierra”. As for the type, choose “Mac OS X” from the drop-down menu. The version is macOS 10.13. When done with specifying all these, click the “Next” button. You are now required to set the amount of RAM the virtual machine can use. The ideal should be 65% of the RAM. This can be anything between 3GB and 6GB or even more depending on the total RAM you have on the PC. Click “Next”.
Next is selecting the hard disk you will use. Since you had already downloaded the VirtualBox Mac OS image, select “Create a new virtual hard disk file” with “VMDK” Disk and “Dynamically Allocated”. On the “create virtual machine” dialog box click on “Create”. The macOS High Sierra 10.13.6 virtual machine will be created within a few minutes.
Edit the new virtual machine
To do this, open Virtualbox and click on “settings”. Go the “System” submenu and open the Motherboard tab and tick the box next to “Enable EFI” by clicking on it. Also, change the motherboard chipset to “PIIX3”.
In the Processor tab, choose at least 70% of the CPU cores you have on the computer (at least 2). Tick the box next to “Enable PAE/NX”. Click “OK” to effect the changes.
In Storage Tab, Click on "CD/DVD" button and open "High Sierra.iso" file.
In the “Display” tab, Change the Video Memory to 128MB and Graphics Controller to VMSVGA. Click “OK” and close the settings window. Close VirtualBox.
Do the magic
So far, so good. All we need to do is to run some code. Just don't forget to replace "Your Vm Name" with your virtual machine's name.
Windows
cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage.exe setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage.exe setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage.exe setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage.exe setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage.exe setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Ubuntu 18.04
$ vboxmanage modifyvm "Your VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff $ vboxmanage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" $ vboxmanage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" $ vboxmanage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" $ vboxmanage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" $ vboxmanage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Install MacOS Sierra
Open VirtualBox and turn on your High Sierra, then Open "Disk Utility".
Format VirtualBox Virtual Disk with "Mac OS Extended".
Now, you can install macOS High Sierra on new virtual disk with your ISO Image.
After your installation is completed, turn off your macOS High Sierra. Open VirtualBox, and remove High Sierra.iso file.
Enjoy
The new Virtualbox macOS machine is ready and all that is left is to create your account and enjoy all the great features the High Sierra has to offer.
Create an account by providing your name, the account name, and a password. Click on continue and s user account will be created. In the express setup screen just click on “continue”. The set up will start and this may take a while. Be patient and you will finally see the macOS High Sierra wallpaper. Congratulations! Our macOS High Sierra installation on Virtualbox is a success :-)
Senior SRE at Apple ? | Purdue Alumni
5 年Saeid Farahi to be honest I recommend sharing the link directly this way the original author can makes fixes and updates. This article is 3 years old and there is no value on doing copy and paste of it. https://techsviewer.com/install-macos-high-sierra-virtualbox-windows/