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:

1

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:

2

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:

3

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:

4

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:

5

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:

6

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:

https://www.ubuntu.com/download/desktop

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:

7

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:

8

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:

9

On the next screen choose to download updates during installation:

10

Click on Continue. Appears next screen:

11

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:

12

Screen for region choosing appears:

13

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

14

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

15

Now copying files to VDI starts:

16.png

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

17

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s