Ubuntu-Linux-on-Virtual-Box/C2/Installing-Ubuntu-Linux-OS-in-a-VirtualBox/English

From Script | Spoken-Tutorial
Jump to: navigation, search

Title: Installing Ubuntu 16.04 in VirtualBox

Author: Praveen S

Keywords: Ubuntu Installation, VirtualBox, Virtual machine, Linux Installation, Ubuntu 16.04, Setup Virtual Machine, Spoken Tutorial, Video Tutorial


Visual Cue
Narration
Slide: Introduction Welcome to the spoken tutorial on Installing Ubuntu Linux OS in a VirtualBox.
Slide: Learning Objective


In this tutorial we will learn:
  • How to install Ubuntu Linux 16.04 in a VirtualBox on a Windows base machine.
Slide: System Requirements This tutorial is recorded using
  • Windows OS version 10
  • VirtualBox version 5.2.18
  • Ubuntu Linux 16.04 OS

Before we begin, please make sure that you are connected to the Internet.

Slide: System requirements for VirtualBox To install an OS inside a VirtualBox, the base machine should the following configuration.
  • i3 processor or higher
  • RAM 4GB or higher
  • Hard disk free space 50GB or more and
  • Virtualization should be enabled on BIOS

This will ensure that the VirtualBox will work smoothly.

Only Narration Before we start installing, kindly cross-check whether the System type is 32-bit or 64-bit.
Start -> About your PC


Highlight System type

To do so, first go to the search bar next to the Start menu


Type About your PC


Select About your PC.


Under System type, we can see whether we are running a 32-bit or 64-bit version of Windows.


Here in my case it is 64-bit Windows.

Slide: Download Ubuntu 16.04
  • Based on your System type, download the suitable Ubuntu Linux 16.04 ISO from this link: http://releases.ubuntu.com/16.04/
  • For 32-bit it will be ubuntu-16.04.5-desktop-i386.iso
  • For 64-bit it will be ubuntu-16.04.5-desktop-amd64.iso
Only Narration As mentioned earlier, my Windows System type is 64-bit.


Hence I have downloaded the ubuntu-16.04.5-desktop-amd64.iso file for this demonstration.

Show Desktop


Open VirtualBox

First we will learn how to create a virtual machine inside the VirtualBox.


On the Desktop, double-click on the VirtualBox icon to launch it.

Click on New At the top of the VirtualBox window, locate the blue color icon New and click on it.
Name: Ubuntu In the Create Virtual Machine window which opens, we can see the page Name and Operating system.


Under the Name text box, type the name you wish to give.


I will type Ubuntu.

Type -> Linux Then under the dropdown Type, select Linux.
Version -> Ubuntu (64-bit) From the dropdown Version, I will select Ubuntu (64-bit).


In case your base machine is 32-bit, then select Ubuntu (32-bit) from the dropdown.

Click on Next And click on the Next button at the bottom of the window.
The next page is Memory size.


Here we allocate the size of the RAM for the virtual machine.

Point to the slider and text box Use the slider or the text box to allocate the size for the RAM.
In textbox type, 4048


Since the unit says MB, I will type 4048 in the textbox.


This will allocate 4GB of RAM to this virtual machine.


If the system memory of the base machine is only 4GB, then allocate 2GB for the virtual machine.

Click on Next Now click on the Next button at the bottom of the window.
On the Hard disk page, we have to decide which type of virtual hard disk we are going to use.
Point to Create a virtual hard disk now I’m creating a new virtual machine, so I will select Create a virtual hard disk now.


This option could be already selected by default for you.

Click on Next Click on the Create button at the bottom.
Select VDI >> click on Next In the Hard disk file type, select VDI (Virtual Disk Image)


And click on the Next button at the bottom of the window

Point both options In the next page Storage on physical hard disk, we have to decide how our hard disk storage has to be.


There are two options here.

Highlight Dynamically allocated Dynamically allocated option will expand the hard disk storage based on the usage.
Highlight Fixed size >> select Fixed size Fixed Size will allocate the size which we define.


I will choose Fixed size.

Click Next Now click on the Next button to proceed.
The next page File location and size, is to allocate the hard disk size.
Point to Ubuntu Here you can see the name Ubuntu which we gave earlier.
Point to the folder icon Also to the right we can see a folder icon.


If you wish to save this Virtual Disk Image in another location, click on this icon and proceed.


I’m skipping this part for this demonstration.

Point to the slider and textbox Next use the slider or the textbox to allocate the hard disk size.
Change 10GB to 20GB The recommended size is 10GB, but I will change it to 20GB.
Click on Create Then click on the Create button at the bottom.
Only Narration This will create a new Virtual Machine base with the details we have provided so far.


This may take some time to create.

Point to the newly created VM “Ubuntu” Once the Virtual Machine is created, we can see it on the left side side.


Here is the Virtual Machine, Ubuntu which we created just now.


This indicates that we have successfully created the Virtual Machine that is the VM.

Next let us install Ubuntu Linux 16.04 on it.
Select the Virtual Machine, Ubuntu >> click on the Start button at the top


By default, the Virtual Machine will be in Power off mode.


Select the Virtual Machine, Ubuntu.


Then at the top, click on the Start button with the green color arrow.

Highlight the text “select the virtual optical disk file or a Physical optical drive”


Click on the folder icon

A new window will popup and ask us to select the virtual optical disk file or a physical optical drive.


Locate the folder icon and click on it.

Browse and open the Ubuntu iso file Now browse and select the file ubuntu-16.04.5-desktop-amd64.iso which we had downloaded earlier.
Click on Open And click on the Open button at the bottom.
Point to ubuntu-16.04.5-desktop-amd64.iso Now we will be redirected to the previous screen.


Notice that ubuntu-16.04.5-desktop-amd64.iso is now selected.

Click on the Start button Click on the Start button at the bottom to start the installation.
Only Narration We can see here that Ubuntu Linux is loading.
Welcome Screen The first screen we see, has three options.
Point to the left side language list


On the left we can see a list of languages.


Select the language that you prefer.

Point to English By default, English is selected. I will leave this selection as it is.
Point to Try Ubuntu and Install Ubuntu. At the center we can see two options, Try Ubuntu and Install Ubuntu.
Point to Try Ubuntu If you wish to try the look and feel of Ubuntu before installing, click on Try Ubuntu.
Point to Install Ubuntu.


Click on Install Ubuntu.

Else directly click on Install Ubuntu.


I will click on the option Install Ubuntu.

Point to respective options The next page shows two options.

Downloading update while installing Ubuntu


And Installing some third-party software during the installation

Click on Continue button I will skip these and click on Continue button at the bottom
Only Narration The third page is one of the important steps during Ubuntu Linux installation.


Here we have to decide where we are going to install Ubuntu Linux.

Point to Something else Something else.

This is a good option if we are installing Ubuntu on our computer directly, without VirtualBox.


With this option we can have a dual boot OS in our base machine.

Click on Erase disk and install Ubuntu


As I’m working on a VirtualBox, I will select Erase disk and install Ubuntu


This option will erase the entire Virtual hard disk and install Ubuntu OS as a single partition.

Click on Install Now Then click on Install Now button at the bottom.
Click on continue A popup window Write the changes to the disks? opens.


Here, click on Continue button.

Next comes the page, Where are you?
Click on India in the map


Point to Kolkata


I’m in India, so I will click on India.


In the textbox located below, it says Kolkata.


Based on our selection, it will set the time zone.

Click on Continue Click on Continue at the bottom.
Keyboard layout Now we have to select our Keyboard layout.
Point to English (US)


By default, English (US) will be selected on both the sides.


If you wish to change the language, then select the desired option.


I will proceed with English (US).

Click Continue Click on the Continue at the bottom.
Who are you?


The final step is to provide the login details.


I will fill the Your name field as spoken.

Type the name as Spoken


Point to computer’s name and pick a username

Immediately the fields Computer’s name and Pick a username will be filled based on our input.


You can change these values if you wish.

Type password as spoken


Next in the Choose a password textbox, type the password for your Ubuntu OS.


I will type spoken.

Retype the password, spoken In the Confirm your password textbox, retype the same password.


Kindly note down this password, as this is the admin password for this Ubuntu Linux OS.

Point to the options


Select Require my password to login

Below the password textbox, we can see some more options.


I will select Require my password to login.


This will insist that the user enters the password every time he/she logs in.

Click on Continue Click on Continue to proceed with the installation.
Only Narration The installation may take some time to complete.
Installation Complete


Click on Restart Now

Once the installation is complete, we can see a dialog box that says Installation Complete.


In that dialog box, click on Restart Now button.

Press Enter A screen appears saying that Ubuntu is loading.


It will prompt us to press Enter to remove the installation medium.

For eg: CD/USB Stick, etc.


Press Enter on your keyboard.

Login as spoken, spoken This will start this Virtual Machine and take us to the login page.


Login with the details which we gave during the installation.

Show Ubuntu Desktop We are brought to the Ubuntu 16.04 Desktop.


This indicates that we have successfully completed the installation.

Click on the Wheel Icon on the top left


Select Shut Down

To shut down Ubuntu, click on the power icon at the top right corner.


And select Shut Down option.

Click on Shut Down In the popup which appears, click on the large Shut Down button.
Show VirtualBox manager Immediately the Ubuntu window gets closed and we are back to the VirtualBox manager.
With this we come to the end of this tutorial.


Let us summarize.

Slide: Summary In this tutorial, we have learnt to


  • Create a Virtual Machine in a VirtualBox
  • Install Ubuntu Linux 16.04 on the Virtual Machine
Slide:

About Spoken Tutorial project

The video at the following link summarises the Spoken Tutorial project.


Please download and watch it.

Slide: About Workshop The Spoken Tutorial Project team conducts workshops using spoken tutorials and gives certificates.


For more details, please write to us.

Slide: Forum questions Please post your timed queries in this forum.
Slide: Acknowledgement Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.


More information on this mission is available at

this link.

Slide: Thanks The script and video has been contributed by NVLI and Spoken Tutorial team.


And this is Nancy Varkey from IIT Bombay signing off.


Thank you for joining.

Contributors and Content Editors

Nancyvarkey, Pravin1389