Step by step guide to install Ubuntu on Virtualbox

Saifudheen SidheeqVirtualizationLeave a Comment

Installing Ubuntu on Virtualbox box is very easy, in this blog, I am going to show you how you can install ubuntu 19.04 on Oracle VirtualBox step by step, this Ubuntu VM also can be integrated into the GNS3 if you are working on network topologies and stuff.

Ubuntu VM installation prerequisites.

  • Download and install VirtualBox on your local machine by clicking here. You may choose your operating system from the download list.
  • Download Ubuntu here, we are going to use ubuntu 19.04

Setting up the Ubuntu VM environment in VirtualBox.

Step1. Open Virtualbox and click on New.

creation of new vm in virtualbox

Step2. Name your Ubuntu VM, and for VM location you may leave as default, and click next.

Note:  if you wanted to change VM location, you could do that by clicking the dropdown button and click on Other and select different location for the VM, I chose D drive, which had enough storage.

name the Ubuntu VM name in virtualbox


Step3. In this step, you have to assign the Memory for the VM (RAM), I am allocating 2048 as RAM here and click next.

set the memory for the Ubuntu VM  in virtualbox

Step4. Here you have to assign the hard disk for the VM. You may leave the default option which says ‘Create Virtual hard disk now’ and click next.

select the hard disk for Ubuntu VM

Step 5. You can select a hard disk file type here. I am leaving this as default as well.

select the hard disk file type

Step 6. Select Storage on physical hard disk, select default value ‘Dynamically allocated.’

Storage on physical hard disk

Step7. Now you have to define hard disk file location and size. I need to change the storage from default value 10GB to 20GB and click Create.

ubuntu vm storage

Installation of Ubuntu 19.04 in Virtualbox.

We just configured the Ubuntu VM properties, which include its memory storage and other parameters. Now let’s go ahead and install the Ubuntu in Virtualbox following the below steps.

Step 1. The Ubuntu VM is powered off by default in VirtualBox. You can start the VM to proceed with the installation.

start ubuntu vm installation in virtualbox

Step 2. When you power on, it would ask for the bootable image which you had downloaded earlier from the Ubuntu site. Browse and attach that and click on Start.

select downloaded iso image file for ubuntu vm

Step 3. Click on Install Ubuntu

ubuntu vm install wizard

Step 4. Select the Keyboard layout you would like to use, in my case English (US), and click continue.

ubuntu vm install wizard keyboard layout

Step 5. Make sure you uncheck the option ‘Download updates while installing Ubuntu’ as it may take longer to for the installation to finish.
Just check Normal installation and click Continue.

ubuntu vm install wizard normal installation

Step 6. Check option Erase disk and install Ubuntu and click on install now.

ubuntu vm install wizard - erase disk and install Ubuntu

Step 7. You would get a pop-up notification that says below, click on Continue for the same.

ubuntu vm install wizard

Step 8. Select your timezone and click Continue.

ubuntu vm install wizard - select timezone

Step 9. Specify your login credentials and continue, make sure you remember these credentials.

ubuntu vm install wizard - setup credentials

Step 10. The installation has been started, give some time for the installation to finish.

ubuntu vm install wizard

Step 11. Once the Ubuntu installation is complete, you would get the below pop up, which says installation complete. You may click on restart now.

ubuntu vm install wizard - installation complete

Step 12. Once the Ubuntu machine is back online, You can log in to the server using the credentials that you had set up earlier.

ubuntu vm login

That’s it. Now you are ready to go. You now have Ubuntu VM installed on Virtualbox.

ubuntu vm installation done

Click Done, and it would take you to the desktop.

ubuntu vm dekstop in virtualbox

By default the size of the screen would be 800 x 600, you may change them in settings under display resolution.

Note: Virtualbox is great to test your VM’s in your physical box, However, if you would like to go more advanced or integrate with GNS3 I would recommend you to use VMWare workstation pro, you can follow the steps here on how to install ubuntu 19.04 on VMware workstation pro.


Learn About This Author

Saifudheen Sidheeq

Saifudheen is in the Computer networking and technology field for about a decade now. He loves technology and new ideas, and in his spare time, he loves to write about them.