Basic of Virtual Box.
How to Install the Latest Virtual Box on Ubuntu Linux - Virtual Box is an Software that can run the operating system (OS) by virtually.
VirtualBox was first released on January 15, 2007 Innotek GmbH a German software company. Then it was purchased by the American company Oracle and has been continuously developed since then and is known as Oracle Vm Virtual Box.
This application is very widely used for those who want to try out the latest OS distributions before they install it on their computer. VirtualBox is available for Microsoft Windows, Apple MacOs, and Linux operating systems.
And in this article I will share how to install the VirtualBox application on Linux, precisely on a Debain-based disto, Ubuntu.
To find out more about Oracle VirtualBox, please visit the official page here.
How Install VirtualBox Ubuntu Terminal
To be able to install the vm box application on the Ubuntu, Linux operating system, here I give the easiest way.
1. Download the Virtual Box .deb file by clicking the button below
2. Open the Terminal in Ubuntu, navigate to the folder where the file is downloaded.
3. For example I have downloaded the virtualbox-6.1_6.1.26-145957_Ubuntu_eoan_amd64.deb file and the file is in the "Download" folder, then Install it using the command:
sudo dpkg -i Downloads/virtualbox-6.1_6-145957_Ubuntu_eoan_amd64.deb
4. Wait until finished.
How to Create a Virtual Machine in Virtualbox
Now, the Virtual Box software is installed on Ubuntu Linux. Please open the software, so that it appears as in the following:
- Click the New icon next to the Add icon or click the Machine menu > New
- Enter data such as OS Name, OS Type, and OS Version.
For example, I want to install Linux Ubuntu OS. So the basic settings are
Name : Ubuntu
Type : Linux
Version : Ubuntu (64-bit)
- Then click Next.
- Appears RAM memory allocation to be used. If desired, please change it but still in green. Here I choose to use the default which is 1GB.
- Then click Next, select Create a virtual hard disk now. Click Create.
- Select VDI (Virtual Box Disk Image), then click Next.
- Select Dynamically allocated, then select Next
- Now the File Location and Size will appear. Here we will create a partition for the system, and my suggestion for this size is at least we choose a size of 20GB.
- After that, go to the Settings menu
Then we select the Storage menu > Empty > Choose a disk file.
Select the iso file of the os you want to install. Here I choose Ubuntu 20.04. Then click OK.Then click Start.
Then Ubuntu will start. Please continue to install until it's finished.
How to fix Error
1. booting kernel failed invalid argument
2. Kernel driver not installed (rc=-1908)
The VBox kernel driver is not loaded or installed properly. How to re-install virtualbox-dkms package .
sudo apt-get install build-essential module-assistant sudo m-a prepare
then reboot or restart your Ubuntu Linux.