Difference between revisions of "Apple Mac OS X VM"

(new page)
(No difference)

Revision as of 20:33, 30 June 2017


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


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


  1. Requirements
    1. 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