Select Dynamically allocated and yep – you guessed it – click Continue.
Now select VDI (VirtualBox Disk Image) and click Continue.
On the Hard drive screen, select Create a virtual hard drive now and then click Create.
When you’ve decided how much memory (RAM) to give Ubuntu, click the Continue button. At a minimum, give Ubuntu at 1GB (1024MB) of RAM. The drawback is that macOS will have less to use while Ubuntu is running. The more memory you give to Ubuntu, the faster it will run. As illustrated in the screenshot below, my total RAM is 4GB, so I allocated half of it to Ubuntu, and the other half to macOS.
Now you’re going to decide how much memory (RAM) you’re going to allocate to Ubuntu when it’s running, and how much to leave for macOS.
Make sure the Type: is set to Linux and the Version: is Ubuntu (64 bit).
Give your “virtual machine” a name (something descriptive is good, but it doesn’t matter).
When VirtualBox opens, click the New button.
When installation is done, launch VirtualBox from your Applications folder. dmg file and run the installer – the installation is as easy as clicking ‘next’ a bunch of times. Once the download has completed, open the. Visit their download page and click the link OS X hosts (which is the current stable version).
Now you’ll need to download and install VirtualBox.
First up, head over to the Ubuntu download page and download Ubuntu.
The more memory you have and the faster your CPU and/or hard drive is, the less you’ll notice it.
Running both Ubuntu and macOS at the same time will “slow down” your Mac.
You may want to make yourself a cup of coffee or tea before you start.
The installation time is about 20 minutes, depending on the speed of your Mac, amount of memory etc.
During the actual installation process, based on the version of Ubuntu you opt to install – you may have to spend some time downloading updates as well.
Depending on the speed of your Internet connection, it might take a while to download Ubuntu.
Before you get started, there are a few things that should be noted up front.
The entire process is actually quite straightforward – and all of the software involved is free – so why not give it a shot :) None of the data on your Mac is at risk of being deleted or altered. Plus, it will not affect the files in macOS itself at all. Using this method to install Ubuntu not only allows you to run it and macOS at the same time, you can really try out Ubuntu – and if you don’t like it – very easily get rid of it.