How to install MacOS inside VirtualBox

First, the system environment

        The host system Ubuntu18.04, VirtualBox5.2

Second, prepare for work       

         1, install Virtual Machine Additions 

          (Installation may not be properly installed Mac OS, you can try next time)

             Oracle_VM_VirtualBox_Extension_Pack-5.2

         2, download the operating system image

            OS X 10.10 lazy packet extraction code a5cq

Third, the installation in VirtualBox

         1, create a new virtual machine, such as a name: macosx create a virtual disk, and at this time there is no OS installed

         2, close VirtualBox, set up the environment, or the installation is unsuccessful

VBoxManage modifyvm "macosx" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macosx" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "macosx" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macosx" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macosx" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macosx" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

        3, open VirtualBox, start the virtual machine, select the installation disk

        4, after the installation begins, select the language, then you need to format the disk

         5, has been the next step, you can install successfully, there are no other matters of special attention

Published 36 original articles · won praise 9 · Views 100,000 +

Guess you like

Origin blog.csdn.net/gudufeiyang/article/details/82815268