How to install Ubuntu on VirtualBox

If you want to play with Ubuntu Linux VirualBox is good virtualization platform on which Ubuntu can be installed. In this article I will describe process of virtual machine crating and installing Ubuntu on it in few simple steps. So, let`s start:

Step 1: Create new VM at VirtualBox

Open VirtualBox and click on New. Window for choosing name, type and version of OS of new virtual machine appears:


Type name and choose type and version of OS you want to install. In our case name is Ubuntu Desktop, type is Linux and version is Ubuntu(64-bit). Click on Next. Window for RAM memory allocating appears:


We will allocate 2G of RAM for our Ubuntu. You can choose more if your host have enough RAM. Click on Next. Window for creating virtual disk appears:


At this window you can choose to not add a virtual disk (you can do that later when machine is crated) or create virtual disk now or using existing virtual disk. In our case we will crate new virtual disk at which Ubuntu will be installed. So, check Crate a virtual disk now option and click Create button. Window for disk virtual disk type appears:


Here we can choose what type of virtual disk we will use for our Ubuntu.We have three optios: VDI, VHD and VMDK. VDI is native for VirtualBox, VHD is format of Microsoft Virtual PC and VMDK is developed by VMWare. We will use default option VDI which is VirtualBox native disk type. When disk type is chosen click on Expert Mode button to choose advanced option such as size of disk where Ubuntu will be installed. New window appears:


Here we can choose size of our virtual disk (in our case 30,19GB) and type of storage (Dynamically allocated or Fixed size, in Storage on physical hard disk area). We will choose option for dynamically allocated disk because in that case our virtal disk dinamically alocate disk space on physical host and it is efficient way of hard disk space using. Also, at File location area you can change location of your VDI placement at host file system. Our choosen location is A:\VMs\UbuntuDesktopVDI folder.

When we have all options set click on Create to create new VDI virtual disk. Now we have new virtul machine created:


We can proceed to next step.

Step 2: Download Ubuntu ISO image

When we have virtual machine for our Ubuntu created we need Ubuntu ISO image which we will be used for Ubutntu installation. For that, download Ubuntu image from Ubuntu site, from this link:

Save image on your host computer.

Step 3: Start virtual machine

When we have VM created we can start it and begin with process of Ubuntu installation. So, right click on VM (in our case Ubuntu Desktop) and click Start→Normal Start:


Step 4: Choose Ubuntu ISO image

When Ubuntu VM is started for the first time you can choose Ubuntu ISO image for installation at next screen:


So, click on the folder icon at right side of Select start-up disk window and click Start button. Now Ubuntu installation is started.

Step 5: Go through steps of Ubuntu installation

First screen is for choosing to try Ubuntu or install it on the disk. We will choose to install on our VDI virtual disk. So, on next screen click on Install Ubuntu button:


On the next screen choose to download updates during installation:


Click on Continue. Appears next screen:


On this screen we will choose to do fresh installation of Ubuntu on our VDI disk. To do that choose „Erase disk and install Ubuntu“option. Then click on Install Now button. Then confirm changes written to disk on next window:


Screen for region choosing appears:


Type your region and click on Continue. Window for keyboard layout choosing appears:


Choose Keyboard and click Continue. At the next screen type your credentials and click Continue:


Now copying files to VDI starts:


When installation is finished we get message to restart computer in order to use the new installation:


So, click on Restart Now log it to system when it boots up and enjoy in Ubuntu.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s