Install Oracle Virtualbox For Mac

If you are on a Mac, you need the version for “OS X hosts.” 2) Install VirtualBox. VirtualBox must be installed before it can be used. When you mount the DMG, you must then run the VirtualBox installer, which will place VirtualBox into your Applications folder. 3) Create your Virtual Machine (VM).

< 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:

  • ..is 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

Manual installation[edit]

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]

  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 '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]

References[edit]

  1. http://www.apple.com/legal/sla/
  2. abhttps://support.apple.com/en-us/HT201475
Retrieved from 'https://en.wikibooks.org/w/index.php?title=VirtualBox/Setting_up_a_Virtual_Machine/Mac_OS_X&oldid=3665378'

For the various versions of Windows that are supported as host operating systems, please refer to Section 1.4, “Supported Host Operating Systems”.

In addition, Windows Installer must be present on your system. This should be the case for all supported Windows platforms.

The Oracle VM VirtualBox installation can be started in either of the following ways:

  • By double-clicking on the executable file.

  • By entering the following command:

    This will extract the installer into a temporary directory, along with the .MSI file. Run the following command to perform the installation:

Using either way displays the installation Welcome dialog and enables you to choose where to install Oracle VM VirtualBox, and which components to install. In addition to the Oracle VM VirtualBox application, the following components are available:

  • USB support. This package contains special drivers for your Windows host that Oracle VM VirtualBox requires to fully support USB devices inside your virtual machines.

  • Networking. This package contains extra networking drivers for your Windows host that Oracle VM VirtualBox needs to support Bridged Networking. This enables your VM's virtual network cards to be accessed from other machines on your physical network.

  • Python support. This package contains Python scripting support for the Oracle VM VirtualBox API, see Oracle VM VirtualBox Programming Interfaces. For this to work, an already working Windows Python installation on the system is required.

    See, for example: http://www.python.org/download/windows/.

    Python version at least 2.6 is required. Python 3 is also supported.

Depending on your Windows configuration, you may see warnings about unsigned drivers, or similar. Click Continue for these warnings, as otherwise Oracle VM VirtualBox might not function correctly after installation.

The installer will create an Oracle VM VirtualBox group in the Windows Start menu, which enables you to launch the application and access its documentation.

Egx-300 driver for mac. With standard settings, Oracle VM VirtualBox will be installed for all users on the local system. If this is not wanted, you must invoke the installer by first extracting as follows:

Windows

Then, run either of the following commands on the extracted .MSI file. This will install Oracle VM VirtualBox only for the current user.

If you do not want to install all features of Oracle VM VirtualBox, you can set the optional ADDLOCAL parameter to explicitly name the features to be installed. The following features are available:

VBoxApplication

Main binaries of Oracle VM VirtualBox.

This feature must not be absent, since it contains the minimum set of files to have working Oracle VM VirtualBox installation.

VBoxUSB

USB support.

VBoxNetwork

All networking support. This includes the VBoxNetworkFlt and VBoxNetworkAdp features.

VBoxNetworkFlt

Bridged networking support.

VBoxNetworkAdp

Host-only networking support

VBoxPython

Python support

For example, to only install USB support along with the main binaries, run either of the following commands:

The user is able to choose between NDIS5 and NDIS6 host network filter drivers during the installation. This is done using a command line parameter, NETWORKTYPE. The NDIS6 driver is the default for most supported Windows hosts. For some legacy Windows versions, the installer will automatically select the NDIS5 driver and this cannot be changed.

You can force an install of the legacy NDIS5 host network filter driver by specifying NETWORKTYPE=NDIS5. For example, to install the NDIS5 driver on Windows 7 use either of the following commands:

As Oracle VM VirtualBox uses the standard Microsoft Windows installer, Oracle VM VirtualBox can be safely uninstalled at any time. Click the program entry in the Add/Remove Programs list in the Windows Control Panel.

Unattended installations can be performed using the standard MSI support.

Public properties can be specified with the MSI API, to control additional behavior and features of the Windows host installer. Use either of the following commands:

The following public properties are available.

  • VBOX_INSTALLDESKTOPSHORTCUT

    Specifies whether or not an Oracle VM VirtualBox icon on the desktop should be created.

    Set to 1 to enable, 0 to disable. Default is 1.

  • VBOX_INSTALLQUICKLAUNCHSHORTCUT

    Specifies whether or not an Oracle VM VirtualBox icon in the Quick Launch Bar should be created.

    Set to 1 to enable, 0Metaclean for mac. to disable. Default is 1.

  • VBOX_REGISTERFILEEXTENSIONS

    Specifies whether or not the file extensions .vbox, .vbox-extpack, .ovf, .ova, .vdi, .vmdk, .vhd and .vdd should be associated with Oracle VM VirtualBox. Files of these types then will be opened with Oracle VM VirtualBox.

    Set to 1 to enable, 0 to disable. Default is 1.

  • VBOX_START

    Specifies whether to start Oracle VM VirtualBox right after successful installation.

    Set to 1 to enable, 0 to disable. Default is 1.

Copyright © 2004, 2020 Oracle and/or its affiliates. All rights reserved. Legal Notices