For Mac OS X hosts, Oracle VM VirtualBox ships in a dmg
disk image file. Perform the following steps to install on a Mac OS X host:
For More Videos like this please. Sharefor more details please visit our website.Siteđ.
Download the macOS Installer file from the App Store (OS X El Capitan and Sierra is downloadable from Apple's website). When download finishes, find the app, right-click and select 'Show Package Contents'. Inside the sub-folder Contents/SharedSupport you will find a InstallESD.dmg. Jul 16, 2018 Mount DMG File on VirtualBox or VMware with Windows OS Host By the way, converting the DMG to ISO will help you to mount the installation disk on VMware workstation as well. Syntax is dmg2img file.dmg destination file.iso.
Double-click on the dmg
file, to mount the contents.
A window opens, prompting you to double-click on the VirtualBox.pkg
installer file displayed in that window.
This starts the installer, which enables you to select where to install Oracle VM VirtualBox.
An Oracle VM VirtualBox icon is added to the Applications
folder in the Finder.
To uninstall Oracle VM VirtualBox, open the disk image dmg
file and double-click on the uninstall icon shown.
To perform a non-interactive installation of Oracle VM VirtualBox you can use the command line version of the installer application.
Mount the dmg
disk image file, as described in the installation procedure, or use the following command line:
Open a terminal session and run the following command:
Copyright © 2004, 2020 Oracle and/or its affiliates. All rights reserved. Legal Notices
Windows, macOS â which one do you want to use today? On a traditional setup, youâre stuck with one or the other. But with virtual box, you actually have macOS on a Windows PC.
Itâs the freedom that computer users have enjoyed with Linux and other operating systems.
But Apple has made it difficult to install their operating system on anything other than their own hardware. All of that is changing, and Virtual Box is responsible for it and the rise of the Hackintosh.
New to hackintosh? Learn more about it in our what is hackintosh? overview.
Note: A lot of people will be able to get a mac virtual machine one Windows running smoothly, but sound doesnât seem to work well. Thatâs really not an issue because youâll still be able to access all of your apps and software.
I also recommend that you have access to a real Mac. You might be able to find some distributions of the High Sierra ISO online, but there is always a risk when downloading from an unofficial source. Instead, borrow a Mac from a friend, or use your own and download the High Sierra OS from the App Store.
Check out our high sierra installation guide for hackintosh
Before we go through the steps on how to install macOS on Virtual Box, letâs get everything together that youâll need to get started.
Youâll want to search for your desired operating system (weâll be using High Sierra), and Download it.
Note: Youâll need a decent computer to be able to run Virtual Box. Your computer will need to meet these minimum requirements:
If your computer doesnât meet these requirements, you wonât be able to run macOS properly. Youâll be able to download VirtualBox from the official website. Iâm not going to go through the installation process, as the website will have all of the information you need to be able to install VirtualBox.
I do recommend that you read all of the documentation and ask any questions that you have in the community section of the website.
VirtualBox 6.0 was just released, so itâs definitely a great time to get started with your own macOS.
Make sure youâve downloaded High Sierra, and then youâll want to run a few commands from your terminal . Youâll be able to open the terminal at: Applications > Utilities > Terminal. Once inside of the terminal, youâll want to run the following commands:
Go to your desktop and rename the file, removing the â.cdrâ extension. You need this extension to read â.isoâ for it to work properly.
Youâve successfully created your own ISO file so that you can bootup your macOS.
The next step is to copy the file over to your Windows machine (using a large USB drive seems to work best). This file will be mounted in your virtual machine later on in the article, so itâs very important that this step is completed successfully.
Youâll want to create a virtual machine, and this is really easy. Youâll open up VirtualBox and click New. Youâll want to have the following parameters selected or entered before clicking Next.
Pay attention when selecting the version because you may find that High Sierra is offered as a version when you go to install it. But if itâs not, you can just choose the settings I listed above and they should work fine.
Youâll then be proceeding through all of the settings.
When you come up to the RAM setting, youâll want to be generous. VirtualBox requires a minimum of 4GB or RAM to run, but the more the better.
Why?
Youâll want to provide at least 4GB to your macOS, or 4096MB to be precise. A general rule of thumb is that if you can spare it, supply more RAM to your virtual machine. RAM will allow the operating system to put more information into memory and retrieve it faster.
For better overall performance, supply as much RAM as you can.
The next steps are also important, and theyâll include:
Youâll now have your virtual machine using the RAM and disk space properly, and youâll have to work your way through a few screen prompts before having everything setup properly.
Weâve made a lot of progress so far, and now itâs time to configure your virtual machine properly. Youâll see in the main window of VirtualBox that âHigh Sierraâ is listed. Click on this and then click on the âSettingsâ button.
Youâll want to go to âSystemâ and make sure that the following are unchecked on the Motherboard tab:
Click on the Processor tab and make sure that you have 2 or more CPUs set for your virtual machine.
The next few settings are rather simple:
Now youâll need to click âOk,â and save all of the changes youâve made. Close out your VirtualBox now.
Apple is very strict on the system that their operating system runs on, so itâs very important that you do your best to configure your virtual machine in such a way that it tricks the installer to thinking youâre on a retail machine.
Weâll now be going into the Windowscommand prompt.
Youâll do this by:
Itâs very important to follow all of the following command prompts exactly. Your goal is to run each command, one by one, hitting the Enter button and waiting for the command to complete successfully.
Remember that VirtualBox needs to be closed before running these commands, or it wonât work properly.
You have to make sure that the virtual machine is properly named âHigh Sierraâ for this method to work. If not, youâll be able to go back and make changes to the name to get everything to work properly.
Once all of the commands are completed, and there are no errors, youâll then be able to open up your VirtualBox and get macOS High Sierra installed properly on VirtualBox.
Itâs a long process, but weâre almost done with your installation.
Youâve almost learned how to install macOS on VirtualBox entirely, and weâre on the home stretch. Youâll want to open up your VirtualBox and then click on your virtual machine that you set up earlier.
Now, click âStart.â
There will be a lot of information displayed on the screen as everything starts running. I recommend stepping away from the machine and letting it run for a few minutes before coming back. Some errors can hang for 5 minutes or longer.
If youâve done everything properly, you can be confident that the installer will boot properly.
Youâll eventually be presented with the option to pick a Language. If youâve reached this point, youâre doing very well and are almost ready to run your macOS.
The next steps can be followed:
Youâll come up to one point where youâll be asked to choose a hard drive, and youâll want to select the Macintosh HD partition that you just created with the Disk Utility.
Weâve successfully copied all of the files on the virtual machine, but weâre not done just yet.
Exit your virtual machine and then go back to your virtual machineâs settings. Youâll need to change up your Storage settings. Click on your ISO for High Sierra in the âStorage Tree.â Youâll click that CD icon just like we did earlier and then choose âRemove Disk from Virtual Disk.â
You need to do this to unlink the ISO from your virtual machine.
Start up your virtual machine and you should come across a black screen with the EFI Internal Shell. Youâll want to look for FS1. If this is listed in yellow, click on the virtual machine and then type fs1: and hit the Enter button.
You should be in the fs1 directory.
Type in the following commands:
Now weâll run the installer by running: boot.efi and hitting enter.
If everything goes well, youâll come across a graphical installer and will just have to work through the prompts. The virtual machine will reboot eventually and then youâll need to go through the settings and the rest of the setup process.
Soon enough, youâll be right inside of macOS, where youâll be able to start using your mac virtual machine on Windows.
Having a virtualbox mac OS is the easiest method of using mac as and when you need it. In addition, using virtualbox is far less complicated than the dual boot hackintosh method we have looked at previously.