VirtualBox Guide
What is VirtualBox
Return to DFP Guide • Return to Virtual Environment
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise and home use. It is an extremely feature-rich, high-performance product for enterprise customers and the only professional solution that is freely available as Open-Source Software under the terms of the GNU General Public License (GPL) version 2. See “About VirtualBox” for an introduction.
NOTE: VirtualBox does not work well with ARM-based computers like the Apple Silicon MacBooks.
VirtualBox is actively developed with frequent releases and has an ever-growing list of features, supported guest operating systems, and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute, while Oracle ensures the product always meets professional quality criteria. [1]
Why You Should Use VirtualBox
VirtualBox is Free Open-Source Software with active support and a large community. Despite its challenges, VirtualBox provides all “paid” features for other virtualization software.
Unlike trial or pirated software, VirtualBox receives timely security updates and patches.
Installing VirtualBox
- Download the latest VirtualBox Application.
- Install the downloaded VirtualBox Application.
- Download the latest VirtualBox extension pack.
- Install the downloaded extension pack by double-clicking it.
- Download the Operating System (ISO).
- Configure VirtualBox.
- VirtualBox 7 may have errors that randomly require you to unselect the audio from the virtual machine settings.
- Install ISO
Download ISO
An ISO is an operating system file. You’ll use it to build your virtual computer, the operating system inside your virtual machine.
- Download an ISO such as:
- Linux Mint (Simple and Easy to Use)
- Pop!_OS (Simple and for Gaming)
- Kali (Red Team, Purple Team, Research, RF)
- DragonOS (RF and SDR)
- Ubuntu: This is the most used version but has some slight privacy concerns. To resolve this, don’t opt-in to send your data.
- Arch: Installation Guide
- Remember where you download this ISO to, as you’ll need to find it when creating a VM.
Using VirtualBox
Import Virtual Machine (Appliance)
To import a pre-built Virtual Machine, also known as an Appliance, follow these steps:
- Download the Virtual Machine (Appliance) file, usually distributed as an OVA or OVF file.
- Open VirtualBox and go to File → Import Appliance.
- Click the “Choose” button in the Import Appliance dialog and select the downloaded Appliance file.
- Click “Next” to proceed to the Appliance settings.
- Review and adjust the Appliance settings as needed, such as adjusting the amount of RAM or the number of CPUs allocated to the virtual machine.
- Click “Import” to start the import process.
- Wait for the import process to complete.
Create a Virtual Machine (From ISO)
To create a new virtual machine from an ISO file, follow these steps:
- Open VirtualBox and click the “New” button to create a new virtual machine.
- In the Create Virtual Machine dialog, enter a name and select the operating system type and version.
- Set the amount of RAM and the number of CPUs allocated to the virtual machine.
- In the “Hard disk” section, select “Create a virtual hard disk now” and click “Create.”
- Select the hard disk file type and click “Next.”
- Select “Dynamically allocated” for the storage on the physical hard disk and click “Next.”
- Set the virtual hard disk size and click “Create.”
- Select the “Storage” section in the virtual machine settings and click on the empty CD/DVD drive.
- Click the CD/DVD icon in the Attributes section and select the ISO file you want to install.
- Start the virtual machine.
Export Virtual Machine (Appliance)
To export a virtual machine as an Appliance, follow these steps:
- Shut down the virtual machine that you want to export.
- Select the virtual machine in VirtualBox and go to File → Export Appliance.
- In the Export Appliance dialog, select the virtual machine you want to export and click “Next.”
- Choose a name and location for the Appliance file and click “Next.”
- Select the file format for the Appliance (usually OVA) and click “Next.”
- Review the Appliance settings and click “Export.”
- Wait for the export process to complete.