The more memory you allocate for your virtual operating system, the speedier it will be. Use the suggested minimum or select another number up to your maximum. Choose Linux as the type of installation.Add a name for your virtual copy of Linux.These steps assume VirtualBox has already been installed on your machine:
To install a virtual copy of Linux on your Mac using the open-source VirtualBox, do the following. You can now use Ubuntu Linux on your Mac using Parallels.
Here's a look at how to install and use Linux using each option. For the latter, we recommend using the latest version of Parallels or open-source VirtualBox. The default is “VDI (VirtualBox Disk Image),” which is Oracle’s proprietary container format.With virtualization, you can install and use various operating systems on your Mac, including Windows and Linux. Next, you have to decide which type of hard disk to create. Since this is likely the first VM you’re setting up on this machine, click the radio button next to “Create a Virtual Hard Disk Now,” and then click “Create.” Now, you have to decide the size of the hard disk for your VM, or if you want one at all. You can always change this later in “Settings.”
Heavier code or applications might require at least 2 GB, though.
The default recommendation is 2,048 MB, which is enough to run most installers. On the following screen, choose how much RAM (the amount of memory) you want to allocate to your VM, and then click “Continue.” Keep in mind if you set this too high, your Mac won’t have enough memory to run. You can choose a different “Machine Folder” to store the VMs. If you type the name of any available OS (like “Windows 10”), the “Version” field automatically switches to that OS. You can name your new operating system whatever you want. Open Virtual Box (via the “Applications” folder or via a Spotlight Search).
Now that you’ve installed VirtualBox on your Mac, it’s time to load up your Windows 10 virtual machine. Click “Close” and “Move to Trash” since you no longer need the installation file. Remove any leftover files, reinstall a fresh copy of VirtualBox, and then immediately reopen the “Security and Privacy” menu to see this option. If you don’t see this text, open the “Applications” folder and drag the VirtualBox icon to the Trash to uninstall it. Note that this option is only available for 30 minutes after a fresh install of VirtualBox. Near the bottom of the General tab, you should see some text that says software from Oracle America, Inc. Alternatively, you can click Applications > System Preferences > Security and Privacy. To grant permission, click the magnifying glass at the top right, type “Security,” and then press Enter. If you haven’t given your Mac permission to install programs from Oracle previously, it’s highly likely the installation will fail at this stage. When everything is the way you want it, click “Install.” If asked, type the password for your Mac.