How To Use VirtualBox , Creating Virtual Machines and Guests? – POFTUT

How To Use VirtualBox , Creating Virtual Machines and Guests?


In previous posts we have done installation of the VirtualBox into Windows and Linux Operating systems. In this post we will look how to create Virtual machine or guest in a VirtualBox. For more information about installation look links below.

Windows:

How To Install Virtualbox Into Windows?

Linux:

Virtualization With Virtualbox and Installing Virtualbox

Create New VM (Virtual Machine)

We can create new virtual machine just clicking New button like below. This will open a dialog box which will create new vm with all resources.

New Vm
New Vm

Set Name , Operating System and Version

The first step  is setting name, operating system and version of the VM. Name will be used by us to remember the VM and so we should set a memorable name for us. In this case we set MyVm .

Type is the operating system family like Windows, Linux … The following operating systems are supported currently by VirtualBox

  • Microsoft Windows
  • Linux
  • Solaris
  • BSD
  • IBM OS/2
  • Mac OSX
  • Other

The Version box used to set specific version of the operating system like Windows Server 2012 R2, Windows 10 etc. If we will install non listed version we should select the option starts with Other in the version box.

Set Name , Operating System and Version
Set Name , Operating System and Version

Set Memory or RAM

We will set RAM size of them VM. Setting the size can be done in two ways. First we can use bar to set ram size. Second we can use text box . The ram size is given as MB value. In this situation we will use default value which is 1024 MB or 1GB

Set Memory or RAM
Set Memory or RAM

Set Hard Disk

Next is step is settings hard disk. We have three options. All hard disks are virtual hard disks and stored as single file in host operating system.

  1. Do not add hard disk and use as disk-less system
  2. Create a virtual hard disk
  3. Use existing virtual hard disk
LEARN MORE  HDMI Connector Types and Convertors
Set Hard Disk
Set Hard Disk

We will use second options where we will create new virtual hard disk.

Set Virtual Disk Type

In this step we will set virtual disk type. There are 3 options listed like below.

  • VDI is native VirtualBox disk type and used if we use this disk with only VirtualBox virtualization or KVM
  • VHD is old and not popular virtual disk type and can not be used.
  • VMDK is VMware disk type used vy various virtualization products like ESxi, Workstation, Player etc. This is most popular disk type because of the VMware. This virtual disks can be used with VMware products too.
Set Virtual Disk Type
Set Virtual Disk Type

Set Virtual Disk Behavior

This step will set whether disk size is used right now or used with new data is written. In most situations best case is default Dynamically allocated . This will prevent unneeded spaces to be used.

Set Virtual Disk Behavior
Set Virtual Disk Behavior

Set Disk Size

In this step we will set the name and path of the virtual disk file. By default virtual disk file is located in the VMs directory. Default size of the virtual disk is 8 GB but it can be changed according to our needs.

Set Disk Size
Set Disk Size

Finish VM Creation

After we have created disk file the VM creation process will end and we will see a screen like below.This is our newly created VM named MyVm .

Finish VM Creation
Finish VM Creation

This vm have options shown right pane. This options can be changed just clicking related hardware section. For example if we want to change Audio Device and settings we will click Audio section icon shown below.

LEARN MORE  Display Detailed System Information With Systeminfo For Windows Operating Systems
Finish VM Creation
Finish VM Creation

Leave a Comment