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.
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.
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
Type is the operating system family like Windows, Linux … The following operating systems are supported currently by VirtualBox
- Microsoft Windows
- IBM OS/2
- Mac OSX
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
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.
- Do not add hard disk and use as disk-less system
- Create a virtual hard disk
- Use existing virtual 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.
VDIis native VirtualBox disk type and used if we use this disk with only VirtualBox virtualization or KVM
VHDis old and not popular virtual disk type and can not be used.
VMDKis 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 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 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
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.