Installing Mac OS X Virtual Machine on VirtualBox


1- Download Mac OS
2- Create Mac OS Virtual Machine
3- Configure VBoxManage
4- Start the Mac OS virtual machine




1- Download Mac OS

Mac OS VersionNameRelease Date
10.10YosemiteJune 2014
10.11El CapitanSeptember 30, 2015
10.12SierraJune 12, 2016
10.13High SierraJune 5, 2017
After finishing downloading, there is one file:
Extract the file that you have just downloaded in a folder.

2- Create Mac OS Virtual Machine

On the  VirtualBox, create a new virtual machine.
Enter a name for the virtual machine and select a  Mac OS version suitable for the  Mac OS version that you have downloaded..
Mac OS operating systems need a large amount of RAM to work, You should provide it with about  4GB RAM.
The  Mac OS file downloaded by you in the above step is a complete operating system and you can be willing to use without installation. Therefore, on the  VirtualBox, you only need to point to this postion of this file.
OK, your  Mac OS virtual machine has been created.
You can carry out other configurations for Mac OS, for example, Network configuration, specifying the quantity of  Processors,..

3- Configure VBoxManage

After you create  VirtualBox virtual machine, the  Meta information of this virtual machine will be found in the folder (Depending on your operating system):
  • LINUX (Ubuntu,..): /home/{user}/VirtualBox VMs
  • WINDOWS: C:/Users/{user}/VirtualBox VMs
There are some advanced configurations that you can perform via the interface of VirtualBox, and you must carry out it via a command:
?
1
2
3
4
5
6
7
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
Replace  "Your-VM-Name" by your virtual machine name. Your virtual machine name can be found in the  "Setting > General > Basic" (Like the following illustration).
On the  Linux (Ubuntu,..), open  Terminal windows and CD to go to your  Mac OS virtual machine directory. If you use the Windows operating system, open the  CMD windows with Administrator privilege and  CD to go to the  Mac OS ​​​​​​​virtual machine directory. 
Perform the above commands  respectively (after having replaced "Your-VM-Name"):
OK, all the commands have been performed successfully.

4- Start the Mac OS virtual machine

Press on  "Start" button to start your   Mac OS virtual machine:
Enter  username/password (to be used to enter your Mac OS virtual machine).
OK, at this moment, you have installed Mac OS Virtual Machine  on  VirtualBox  successfully .

Comments

Popular posts from this blog

Installing Mac OS X 10.11 El Capitan on VMWare

Swift Programming Tutorials

IPHONE MOCKUP WIREFRAME SERVICE