in

LinuxLinux GeekGeek

Virtual Machine for Ubuntu- How to Install Virtual Box and use Ubuntu 18.04 LTS on It

Install Virtual Box on Linux Mint and Use Ubuntu on the Virtual Box

Ubuntu on Virtual Machine
Reading Time: 8 minutes

V

irtual Machine for Ubuntu: This is one of the interesting topics for Ubuntu users. To keep things simple, Virtual Machine is nothing but an Emulation of an Operating System. It has the ability to run an Operating system on another operating system. There are two kinds of Virtual Machines. Process Virtual Machines are used to run computer programs whereas, System Virtual Machines runs a realtime Operating system. There are a number of Virtual Machines available. However, we will use Virtual Box on Linux Mint 19.2 Cinnamon and run Ubuntu 18.04.2 LTS on Virtual Machine. Let us get into the article.

Jump to:

Virtual Machine for Ubuntu- Prerequisites:

There are several things that we have to keep in prior so that Ubuntu can be installed on Virtual Machine hassle-free. The following is the checklist.

1. Hardware Requirement for Smooth running of Virtual Machines:

Basic App Details & Requirements

Hardware Requirements
Processor Intel or AMD 
Memory 512 MB(For smoother performance, it is suggested to have at least 4 GB of Memory)
Hard disk At least 10 GB(Recommended) of Hard disk space should be allocated for Virtual Machine

2. Install Virtual Box on your installed Linux Based Operating System:

As told in the first paragraph, We are going to use Linux Mint 19.2 Cinnamon as the Base Operating System and then we will install Virtual Box on the Linux Mint and then install Ubuntu on the Virtual Box.

The command to install Virtual Box on Debian, Mint, and other Ubuntu-based Distros:

Note: Linux Mint comes with the options of VIrtual Box pre-installed, however, the following commands can be used to install virtual box on Debian, Ubuntu, and Ubuntu-based Distros.
$sudo apt update
$sudo apt upgrade
$wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
$sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
$sudo apt install virtualbox-6.0

3. Download Ubuntu iso file from the Official Ubuntu:

Ubuntu iso file
Ubuntu iso file                                                                                      Courtesy: Official Ubuntu
Check this too  Change Hostname Permanently on Ubuntu 18.04.1 LTS

Now, it is time to install the required iso file. As we are using Ubuntu 18.04.2 LTS[Desktop Version] here, I am going to download the corresponding file from the official ubuntu. The following is the link to get Ubuntu.

Note: Whatever Operating system that you wish to add, download the corresponding iso file. It can be Ubuntu, Fedora, Arch or Windows.

Install Ubuntu on Virtual Box- It’s Time:

Note: Though it seems like a long procedure, it is very simple and easier one and hence follow each step carefully so that you won’t get stuck in the middle

Now that we are all prepared, it is time to install Ubuntu on Virtual Box which is running on the Linux Mint(It can be of any Ubuntu-based Distros). The process is divided into three parts.

  • Specifying Memory and Hard Disk and type of OS on Virtual Box.
  • Loading the iso file on the specified Hardware of Virtual Box.
  • Installing the required OS from the iso file on the Virtual Box.

Let us get into those steps in detail.

IMPORTANT
The following steps are not only applicable for Ubuntu but also Fedora, Arch, and even Windows be installed on any Ubuntu-based Distros. Just for the purpose of demonstration, Linux Mint 19.2 is used as the Base Operating System and Ubuntu 18.04 LTS is used as the OS running on the Virtual Machine.
  1. Open Menu and Locate Virtual Box from the Installed Applications.
    Open VirtualBox
    Open VirtualBox
  2. Open the Virtual Box Application.
  3. Click on the Option New.
    New
    New
  4. Create Virtual Machine Dialog Box will appear. Enter the Name(as per your wish), Select the type as Linux and finally specify the system architecture. Finally, Click on Next. Refer to the following image for easy understanding.
    Create Virtual Machine
    Create Virtual Machine
  5. Now, we will specify the Memory Size of the Virtual Machine on which we are going to install Ubuntu. It is recommended to keep at least 2GB of memory, however, 4GB will be useful for much smoother operations. You can specify the Memory(in MB) by increasing or decreasing the slider. Click on Next.
    Use our GB to MB Converter tool for Instant Conversions.
    Specify Memory Size
    Specify Memory Size
  6. Next is the Hard Disk. Select Create a virtual hard disk now option. Refer to the following image. Click on Create.
    Create Virtual Hard disk now
    Create Virtual Hard disk now
  7. We need to specify the Hard disk file type. Select VDI(VirtualBox Disk Image). Click on Next.
    Hard disk file type
    Hard disk file type
  8. Next option is the “Storage on physical hard disk“. Here, we need to specify whether the hard disk is of fixed size or it grows dynamically as per the requirements. Select Dynamically Allocated and Click on Next.
    Storage on Physical Hard disk
    Storage on Physical Hard disk
  9. It is time to specify the Virtual hard disk file location and the hard disk size. It is better to leave the location to its default specified value. Regarding the hard disk size, use the slider and specify the hard disk size. Finally, Click on the option Create.
    Note: Recommended Hard disk space is 10 GB at least
    Specify Hard disk size for Storage
    Specify Hard disk size for Storage
  10.  Now, Ubuntu Virtual Machine is created on the Virtual Box that is installed on Linux Mint. The Ubuntu Virtual Machine means that we have created a Virtual System with the specified Memory and Hard disk. Next thing will be installing the Operating system on the created system.
    Ubuntu Virtual Machine
    Ubuntu Virtual Machine
  11. Select the Ubuntu Virtual Machine that you have created and click on the Start button. Refer to the following image.
    Start Ubuntu Virtual Machine
    Start Ubuntu Virtual Machine
  12. Now, it will ask for “Select Start-up disk“. Click on the Folder icon.
    Select Start-up Disk
    Select Start-up Disk
  13. Now Locate the downloaded Ubuntu iso file and select it.
    Locate Ubuntu iso file
    Locate Ubuntu iso file
  14. Finally, Click on Start to run the Ubuntu Installation process.
    Click on Start
    Click on Start
  15. You can find Ubuntu loading up from the Virtual Box.
    Ubuntu Loading on Virtual Machine
    Ubuntu Loading on Virtual Machine
  16. Select the option Install Ubuntu to install Ubuntu on the Virtual Machine.
    Install Ubuntu
    Install Ubuntu
  17. The rest of the process that includes selecting Keyboard layouts, connecting to a wifi network, choosing the type of installation and all remains the same as the usual Ubuntu installation.
  18. After the Complete installation of Ubuntu on Virtual Machine, you can start using it as a full-fledged Operating system.
    Ubuntu running on Virtual Machine
    Ubuntu running on Virtual Machine
  19. However, don’t forget to shut down properly the Ubuntu Operating system after use. The thing is that we have virtually created a System from our main Computer and we have installed the Operating system on that. Hence it should be taken care as we do for normal installed operating system.
    Power Off Ubuntu after Use
    Power Off Ubuntu after Use

Get in Touch with Us:

This article provides detailed information on How to Run Ubuntu on Virtual Machine and provides step by step information on installing Ubuntu on VirtualBox on Linux Mint Cinnamon 19.2. Kindly note that the above method can be used to install not only Ubuntu but also Windows, Manjaro, Arch, CentOS, Fedora and more. Also, the installation on VirtualBox explained above can be used for all Ubuntu and Ubuntu-based Distros. If you have any Query or if you face any difficulty following the above method, then Kindly Comment Us and we will revert to you with a solution ASAP. For instant solutions, Kindly visit our Forum!!

Check this too  EdgeXFoundry Linux- How to Install "Edinburgh" Release on Linux Distributions
  • Article Quality
  • Content Depth
  • Explanation
  • Efficency of the Article
4.8

Summary

For more interesting articles, Kindly visit our Home Page

Sending
User Rating ( votes)
Comments Rating ( reviews)

Leave a Reply

Your email address will not be published. Required fields are marked *

Sending

Written by Mike

Seeker of nature. For me, everything is about nature. Loves to gaze through different scapes, weather and admire the colors of nature. Contact me through the Contact Us adding "@Mike" on the Subject box.

instagraph Ubuntu

How To Install Instagraph on Ubuntu 18.04 LTS & 19.04

FFMPEG 4.2 Released

FFmpeg 4.2 Released: Added Features like AV1 Decoding Support & more.