Table Of Content

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

View more Tutorials:

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

1- Download Mac OS

VirtualBox for Mac OS X is an extremely popular virtualization application with an amazingly rich functionality. The tool is absolutely cross-platform and is available for Windows, Linux, Solaris and Mac OS systems. It can run everywhere from small embedded systems or desktop class machines to Cloud solutions. Mac OS X build instructions Prerequisites on Mac OS X. 10.10.x (Yosemite) or later running on Intel hardware (PowerPC hardware is not supported nor is building an X11 variant). Building VirtualBox. Change to the root directory of the sources and execute the configure script.

Mac OS is a computer operating system developed by Apple. This is a operating system with beautiful interface, however, to own a the computer of Apple with this operating system, you need to use a lot of money, normally with the double price than that of common computers using Windows operating system. Fortunately, you can experience the Mac OS right on your computer by installing a Mac OS virtual machine on VirtualBox.
Below is the list of Mac OS versions released in recent years:
Mac OS VersionNameRelease Date
10.10YosemiteJune 2014
10.11El CapitanSeptember 30, 2015
10.12SierraJune 12, 2016
10.13High SierraJune 5, 2017
In this post, I will show you how to install the Mac OS on VirtualBox. First of all, please download an installer.
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:
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 .

View more Tutorials:

< VirtualBox‎ Setting up a Virtual Machine

License violations[edit]

According to the macOS and OS X software license agreement[1], macOS should only be installed on Apple Mac devices. Neither the editors of this book nor Wikibooks have any liability over the installation of macOS or OS X guests on VirtualBox or any other violations of the software license.

This is against the EULA of apple, doing this article IS considered piracy.

Installation script[edit]

The following installation script:

  • free and open-source
  • ...requires only VirtualBox with its Extension Pack and dependencies that can be easily installed in a single command with most open-source package managers
  • ...downloads macOS Catalina, Mojave and High Sierra directly from Apple's servers
  • ...installs macOS without modifying the original Apple binaries and without third-party bootloaders
  • ...creates a VM that is compatible with OpenCore and can be exported (with manual modifications) to KVM/QEMU for near-native performance
  • ...runs on Linux, Windows (WSL, Cygwin), and macOS

Mac Os X On Virtualbox

Manual installation[edit]

Virtualbox For Mac Os Lion X

The manual installation requires access to the Mac App Store through an existing installation of macOS.

Create ISO Installation Media[edit]

  1. Download the macOS Installer file from the App Store[2] (OS X El Capitan and Sierra is downloadable from Apple's website).
  2. When download finishes, find the app, right-click and select 'Show Package Contents'.
  3. Inside the sub-folder Contents/SharedSupport you will find a InstallESD.dmg file.
  4. Open 'Disk Utility'
  5. Choose Images > Convert
  6. In the window, choose the InstallESD.dmg to convert and the disk type to be 'DVD/CD-R master for export'. Also choose the name for installer disk and the final destination. Then click 'Convert'.
  7. After conversion completes, you will see a .cdr file in your destination folder.
  8. Open 'Terminal'
  9. Enter hdiutil convert /Your/Path/To/YourCdrFile.cdr -format UDTO -o /Your/Path/To/macOSInstaller.iso
  10. Check destination folder. This is your file for installation in VirtualBox. There should be a .iso file extension.

Installation in VirtualBox[edit]

Virtualbox For Mac Os Lion 10.8

  1. Open VirtualBox. Click 'new'
  2. Type the name for virtual machine and Mac OS X for type. Choose your version (if you have Mojave or Catalina, choose Mac OS X (64 bit)).
  3. Select memory size.
  4. Select 'Create Virtual Disk Now'
  5. Choose VDI for format.
  6. Select storage name and size. The size should be at least 32 GB.
  7. Go to 'Settings'
  8. Go to 'Storage' Tab
  9. In the SATA controller, click 'Add Optical Disk'.
  10. Insert the .iso file.
  11. Go to 'Display' tab.
  12. Set video memory to maximum value.
  13. Quit 'Settings'
  14. Boot by clicking 'Start'.
  15. When it boots, you will see some data being displayed.
  16. This part needs clarification - UEFI Interactive Shell loads, but nothing happens. If you use the command 'exit' you can shift to the EFI menu, but changing the settings doesn't seem to affect the progress of the UEFI Interactive Shell, which stops at the Shell> prompt.
  17. After a while, you will need to choose the language for installation. Choose your own language.
  18. Then you will be asked where to install macOS.
  19. On the upper-left corner, you will see a 'Utilities' button. Click it and select 'Disk Utility'.
  20. You will see a window with different storages on the left. Choose 'VBOX HARDDISK Media'. Note: You may have to select View/View All Devices
  21. Erase the Storage by clicking the 'Erase' button on the top.
  22. You will be prompted to enter the name for the storage. Enter your desired name and continue.
  23. Wait for the process to complete. Then quit Disk Utility.
  24. You will find a new storage media, which is like a hard disk. Choose that storage for the installation of OS X to install.
  25. After installation completes, the virtual machine will automatically shut down. Go to 'Settings'.
  26. Go to the 'Storage' section to eject the .iso file.
  27. Boot virtual machine again.
  28. Choose system language.
  29. Choose allow location or not.
  30. You will be asked to enter your Apple ID. Even if you have an Apple ID, do not enter now.
  31. Accept EULA of macOS.
  32. Restore Time Machine Backups (if you have)
  33. You will see the main page of OS X, open App Store.
  34. Enter your Apple ID and sign in...

There should be 2 scenarios...

  • Scenario 1: You will sign in within a short time. Congratulations! You have done it!
  • Scenario 2: It took ages. Stop signing in and check the references below. [2]


Mac Os On Virtualbox Windows

  2. ab

Install Mac Os On Virtualbox

Retrieved from ''