Difference between revisions of "Apple Mac OS X VM"

(new page)
 
Line 4: Line 4:
  
  
# Sources
+
=Sources=
  
 
Everything that follow is a copy with more details of this amazing tutorial: http://suzywu2014.github.io/ubuntu/2017/02/23/macos-sierra-virtualbox-vm-on-ubuntu
 
Everything that follow is a copy with more details of this amazing tutorial: http://suzywu2014.github.io/ubuntu/2017/02/23/macos-sierra-virtualbox-vm-on-ubuntu
Line 12: Line 12:
  
  
# Requirements
+
=Requirements=
  
## VirtualBox
+
==Mac OS X ISO==
 +
 
 +
You must have a valid MAC OS X installer disk.
 +
 
 +
 
 +
'''INSTALLER'''
 +
 
 +
To do so you must "create installer" from another MAC
 +
* official documentation: https://support.apple.com/en-au/HT201372
 +
* Step 1: Download the Sierra installer from Mac App Store. The installer will be placed in /Application/ folder.
 +
 
 +
 
 +
(i) If you don't have a MAC already you can search for "Download MacOS Sierra.DMG – Installer.ISO – without Apple store" on Google
 +
 
 +
 
 +
 
 +
'''CONVERTION TO ISO'''
 +
 
 +
The installer you just download is a bunch of files. All of them must be group as an ISO.
 +
 
 +
You can rely on the Geerlingguy's script: https://github.com/geerlingguy/macos-virtualbox-vm
 +
 
 +
 
 +
 
 +
==VirtualBox==
  
 
First of all, you must setup VirtualBox. Official setup instructions are available on ORACLE web-page: https://www.virtualbox.org/wiki/Linux_Downloads
 
First of all, you must setup VirtualBox. Official setup instructions are available on ORACLE web-page: https://www.virtualbox.org/wiki/Linux_Downloads

Revision as of 07:58, 1 July 2017


This page describes how to install MacOS X as a Virtual Machine on Ubuntu.


Sources

Everything that follow is a copy with more details of this amazing tutorial: http://suzywu2014.github.io/ubuntu/2017/02/23/macos-sierra-virtualbox-vm-on-ubuntu

The following setup also rely on https://github.com/geerlingguy/macos-virtualbox-vm


Requirements

Mac OS X ISO

You must have a valid MAC OS X installer disk.


INSTALLER

To do so you must "create installer" from another MAC


(i) If you don't have a MAC already you can search for "Download MacOS Sierra.DMG – Installer.ISO – without Apple store" on Google


CONVERTION TO ISO

The installer you just download is a bunch of files. All of them must be group as an ISO.

You can rely on the Geerlingguy's script: https://github.com/geerlingguy/macos-virtualbox-vm


VirtualBox

First of all, you must setup VirtualBox. Official setup instructions are available on ORACLE web-page: https://www.virtualbox.org/wiki/Linux_Downloads


Add new repository

vim /etc/apt/sources.list

Add:

deb http://download.virtualbox.org/virtualbox/debian zesty contrib

Add the repository keys and update the definitions

# Repo keys
apt-key add oracle_vbox_2016.asc
apt-key add oracle_vbox.asc
### Alternative way to download and register the keys
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -


# Upgrade list of packages
apt-get update


Install VirtualBox

apt-get install virtualbox-5.1


(i) Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade.

apt-get install dkms