VirtualBox is a free and open-source hypervisor for x86 and x86-64 virtualization, which the Oracle Corporation develops. The software targets users wishing to create virtual environments for servers and desktops that allow users and administrations to run multiple guests operating systems on a single computer for either testing methods or production use. VirtualBox may be installed on Windows, macOS, Linux, Solaris, and OpenSolaris.
In the following tutorial, you will learn how to install VirtualBox on your Linux Mint operating system along with creating a new Virtual Machine from scratch.
Example of dependencies installed with VirtualBox:
To confirm if VirtualBox was installed successfully, check the current status as follows:
systemctl status vboxdrv
How to Use VirtualBox on Linux Mint 20
How to Launch VirtualBox
To launch VirtualBox, you have two options. The first is to use the terminal command:
However, many users on desktops would use Menu > Administration > Oracle VM Virtualbox.
Add & Setup New VM
To create and configure a new VM with VirtualBox is a straightforward process as follows. The tutorial will create a VM with the Linux profile for creating a Windows 10 VM.
Step 1. Once VirtualBox is open, click on the New button as below:
Step 2. For the tutorial, it was stated the VM creation of choice would be Windows 10. Name your VM, then click Version Windows 10 if it hasn’t been automatically selected for you.
Hint, if you name the VM the operating system, you install it’ll automatically pick the version for you.
Click the Next > button to proceed.
Step 3. The following window you will see is the select Memory (RAM) option. The default is 1024 MB; however, for most systems, you will need to increase this. A handy tip is to look at the min specs and determine how much memory your VM OS will require or increase to a healthy margin.
As below, the tutorial guest machine increased the margin to roughly 6.5GB.
Once done, click the Next > button.
Step 4. Create or use an existing hard drive setup. Most users will typically Create a virtual hard disk now an option when creating a new VM.
Select this option and click Create button.
Step 5. When choosing the virtual storage allocation method, VDI (VirtualBox Disk Image) is recommended.
Click on the Next > button to proceed.
Step 6. Dynamically allocated when running a guest machine for best performance in disk allocation.
Click on the Next > button to proceed.
Step 7. Select the file location if the default isn’t reasonable for you. Lastly, set the time of the virtual hard disk.
Once configured, click on the Create button to finish up.
Step 8. You will now come to an overview of the virtual machine you just created. You can modify the settings of your VM in this overview directly and in the future. Note, if you want to change settings, the virtual machine much be shut down.
To proceed with the Windows 10 installation, click on the Start button as below:
Step 9. The first screen will appear when starting your VM for the first time, which will prompt you to select your ISO as the start-up disk.
Click on the icon folder as the example below.
Click on the Add + button on the top left corner as below:
Step 10. Now locate the directory and the ISO file, select it and click on the Open button:
Step 12. Click on the newly added ISO option, and this may take a second or three to sync up in the directory.
Once you have selected the ISO installation option, click on Choose button.
Step 13. In the last step, you can see the ISO file now in the start-up disk option to install.
Click on the Start button to install your VM OS system.
This will begin the process of installing Windows 10 or the chosen operating system you have chosen.
Comments and Conclusion
In the tutorial, you have learned how to install VirtualBox directly from the source repository to receive the latest updates and features in the future, along with a basic example of creating a VM using VirtualBox.
Overall, out of the many virtual machine software on the market, VirtualBox is one of the top players supplying an excellent selection of host and client combinations such as Windows from XP onwards, any Linux level 2.4 or better, Windows NT, Server 2003, Solaris, OpenSolaris, and even OpenBSD Unix.