Monday, October 27, 2014

Oracle VM VirtualBox

Posted by Suhel Sayyad
Oracle Virtual Box is an open-source, cross-platform virtualization solution provided by Oracle. Oracle VirtualBox is built to support virtualization on x86 and SPARC architecture with different payloads like Windows, Linux, Mac etc.

Virtualization term reaches far into the history of Computer Science. It was first envisioned and implemented in 1960s mainframe computers to logically divide different floating operating system on the same hardware.
It’s an act of creating a virtual machine (guest OS) on host OS without any limit on hardware platform, storage device, or any computer network resources.
Virtualization come into play, when we want to install two or more applications on the same server without interfering with each other. Logically separating them seemed a good idea and now Cloud Computing has taken over the Computing arena with surprise.  Cloud Computing is booming area of Computer Science and will probably release its true potential by 2020. Without Virtualization nothing would have been possible including cloud and powerful server.
Oracle VirtualBox provides a perfect solution for end-users to install OS on host operating system and this leads to multiple OS experience without any issues.
In this tutorial, we are going to use Oracle VirtualBox 4.3.14. You can download it from here.We are going to install Ubuntu latest stable release 14.04.1 desktop 32 bit. Download Ubuntu from here .The other operating system installation follows the same rules when using Oracle VirtualBox.
Let’s back to the actual work.

Step 1: Starting the engine

Oracle VM VirtualBox
Open Oracle VirtualBox and select New on top left corner of the software. You will be surprised by the clean interface provided by the Oracle VirtualBox.

Step 2:  Choosing name and Operating System to be installed.

Oracle VM VirtualBox
After choosing new, you will be prompted by another small window. The small window will ask the user for the name and operating system the user intends to install. The name is crucial as it will help you identify the guest OS. Choosing a well-defined and medium length name won’t hurt until and unless it clearly convey the details of guest OS. 

Step 3: Allocate the memory for the Virtual Machine.

Oracle VM VirtualBox

Memory is very important and should be chosen wisely according to your needs. The metric used is MB and the recommended memory size is 512mb. For a machine of 4 GB RAM, my recommendation would be to allocate 1.5 GB to Guest OS. As my current system memory is 3GB, I went with 1 GB ram.

Step 4: Adding space to your Oracle Virtual Machine and customizing it.

Now, it’s the time to allocate hard disk space to Guest OS. This step provides you with three options:
  • Do not add a virtual hard drive
  • Create a virtual hard drive now
  • Use an existing virtual hard drive file.
In most of the situations, it is suggested to go with the option “Create a virtual hard drive now” or “Use an existing virtual hard drive file” if you have a virtual hard drive present on your Hard Disk.
The recommended size of hard drive is 8.00GB. You can always change the hard drive space later, so take this step easy.
Next, it will ask you to hard drive file types. Choose VDI(VirtualBox Disk Image) for now.

Oracle VM VirtualBox


Click next, and choose dynamically allocated hard drive file as it will make sure that the hard disk space allocated for the Virtual Machine grows when needed. Fixed size is rarely used and should be avoided for most of the practical purposes.

Oracle VM Workstation

The wizard will next point to choose the location to store the VDI and the size to allocate to it. As discussed above, we will go for 8.00 GB size with dynamic allocation.

Step 5: File Location and Size

The wizard allows you to choose the File location and size.

Oracle VM VirtualBox

Step 6: Powering On the Virtual Machine.

Oracle VM VirtualBox

The last step includes powering on the Virtual Machine, in our case Ubuntu. The wizard this time, will ask you to provide the image to install from. After this, normal installation will be executed.

 Oracle VM VirtualBox
                              
This ends our tutorial on Oracle VirtualBox. I hope you guys liked it. Stay tuned for more awesome and details tutorial only on tutorials4tech.com