Install Macos In Virtualbox Ubuntu



First we will go ahead and install Virtualbox, simply download and open the.dmg file and then run the.pkg file contained within the disk image. You can change the installation directory if you wish, then just run the installer. Once you click the install button you will need to enter your credentials. In this article, I am going to show you how to install macOS Mojave on VirtualBox on Windows using the ISO image. If you are interested in Apple’s new Mac operating system macOS 10.14 Mojave and want to try it, then you are in the right place because here you will find any kind of files that you will need to install macOS Mojave on VirtualBox on Windows.

Table Of Content

View more Tutorials:

1- Download Mac OS

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.
Install

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

Install Macos In Virtualbox Ubuntu
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.
Install

4- Start the Mac OS virtual machine

Press on 'Start' button to start yourMac 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:

MacOS VirtualBox VM on Ubuntu

Install Virtualbox On Ubuntu 20

Posted by Shujin Wu on February 23, 2017

Step 1: Download the Sierra installer from Mac App Store.

This should be done in you Mac and the installer will be placed in /Application/ folder.

Step 2: Prepare Sierra iso

Use geerlingguy’s script to prepare a sierra iso file.

Step3: Install VirtualBox in Ubuntu

You should have your VirtualBox and the Extension Pack installed, or use my ansible role

Step 4: Open VirtualBox and create a new VM.

Settings:

  • name: your_sierra_vm_name
  • type: Osx
  • version: Mac OS X 10.11 El Capitan (64-bit)
  • Other

Step5: Configure VM for MacOS (Very important!)

Run following commands and replace “Sierra” with ‘your_sierra_vm_name’.

Step 6: Install Sierra

Insert sierra.iso to the sierra VM’s optical driver, and follow the instruction to install Sierra.

Note: In the installer, Go to Utilities > Disk Utility. Select the VirtualBox disk and choose Erase to format it as a Mac OS Extended (Journaled) drive.

Step 7: Remove sierra.iso and restart VM.

Install Ubuntu On Virtualbox 2020

Reference

Install Macos Sierra Virtualbox Ubuntu

See also: