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.


How To Install Virtualbox Into Windows?


Virtualization With Virtualbox and Installing Virtualbox

New  Vm

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 oprating 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 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 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 diskless system
  2. Create a virtual hard disk
  3. Use existing virtual hard disk
LEARN MORE  Display Detailed System Information With Systeminfo For Windows Operating Systems

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 Behaviour

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 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.

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 .

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  How To Use Fsutil To Check and Repair File System In Windows