VirtualBox is a cross-platform virtualization application. It can be installed on your existing Intel or AMD-based computers, whether they are running Windows, Mac, Linux or Solaris operating systems.
To install VirtualBox on Ubuntu download the .deb file and Extension Pack from here .
The file can be installed with gdebi by right clicking it > Open with > Gdebi Package Installer > Install .
After the installation is complete VirtualBox can be launched from Dash :
To install the Extension Pack go to File > Preferences > Extensions > Add new package
To create a new Virtual Machine simply click New
Allocate the desired memory size
Create a virtual hard disk
Select the type of hard disk you would like to use
Opt between creating a dynamically allocated or a fixed size hard disk
To configure the created virtual machine , select it and click Settings
Since the VM is created empty, it would otherwise behave just like a real computer with no operating system installed: it will do nothing and display an error message that no bootable operating system was found.
For this reason, the wizard helps you select a medium to install an operating system from.
- If you have physical CD or DVD media from which you want to install your guest operating system put the media into your host's CD or DVD drive.
Then, in the wizard's drop-down list of installation media, select "Host drive" with the correct drive letter (or, in the case of a Linux host, device file). This will allow your VM to access the media in your host drive, and you can proceed to install from there.
- If you have downloaded installation media from the Internet in the form of an ISO image file (most probably in the case of a Linux distribution), you would normally burn this file to an empty CD or DVD and proceed as just described. With VirtualBox however, you can skip this step and mount the ISO file directly. VirtualBox will then present this file as a CD or DVD-ROM drive to the virtual machine, much like it does with virtual hard disk images.
For this case, the wizard's drop-down list contains a list of installation media that were previously used with VirtualBox.
If your medium is not in the list (especially if you are using VirtualBox for the first time), select the small folder icon next to the drop-down list to bring up a standard file dialog, with which you can pick the image file on your host disks.
In both cases, after making the choices in the wizard, you will be able to install your operating system. The latest version of VirtualBox is 5.14 and comes with support for kernel 4.4.