0% found this document useful (0 votes)
22 views

Hands On Virtualbox Based Virtual Machine Guide

Uploaded by

ajalandhar25
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Hands On Virtualbox Based Virtual Machine Guide

Uploaded by

ajalandhar25
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Admin How To

A Hands-on Guide on installe


extend

Virtualisation with Virtual Box share f•


drop fu
Virtual isation is the process of creating software based (or virtual) representation
of a resource rather than a physical one. Virtualisation is applicable at the compute, eatures
storage or network levels. In this article we wil l discuss compute level virtualisation, ~ etus disc
which is commonly referred to as server virtualisation. 1) Portab
ona w
identic
andim
this, a
to anOJ
Virtu a
and ex
2) Com m
that de
like Ir
3) Guest
ins taU
share(
4) Snaps
snaps
guest
time <
5) VM g
of VII
perfo
Paus•

GeHin!

5
erver virtualisation (henceforth referred to as the physical host on which they are running. VMware
virtualisation) allows us to run multiple instances of Workstation and Oracle VM VirtualBox (hereafter referred Systerr
operating systems (OS) simultaneously on a single to as VirtualBox) are examples of hosted hypervisors. Virtu alB
server. These OSs can be of the same or of different types. for it to '
For instance, you can run Windows as well as Linux OS on An introduction to VirtuaiBox hardwan
the same server simultaneously. Virtualisation adds a software VirtualBox is cross-platform virtualisation software. It is 1) An ll
layer on top of the hardware, which allows users to share available on a wide range of platforms like Windows, Linux, 2) A64
physical hardware (memory, CPU, network, storage and so Solaris, and so on. It extends the functionality of the existing to ru
on) with multiple OSs. This virtualisation layer is called the OS and allows us to run multiple guests simultaneously along 3) 1GB
virtual machine manager (VMM) or a hypervisor. There are with the host's other applications. 4) Win
two types of hypervisors.
Bare metal hypervisors: These are also known as Virtual Box terminology Down I
Type-1 hypervisors and are directly installed on hardware. To get a better understanding of VirtualBox, let's get familiar TodoWI
This enables the sharing of hardware resources with a guest with its terminology. wikUDo
OS (henceforth referred to as 'guest') running on top of 1) Host OS: This is a physical or virtual machine on which Windo'A
them. Each guest runs in an isolated environment without VirtualBox is installed. demons
interfering with other guests. ESXi, Xen, Hyper-V and KVM 2) Virtual machine: This is the virtual environment created to docume
are examples of bare metal hypervisors . run the guest OS. All its resources, like the CPU, memory, For
Hosted hypervisors: These are also known as Type-2 storage, network devices, etc, are virtual. Its forn
hypervisors . They cannot be installed directly on hardware. 3) Guest OS: This is the OS running inside VirtualBox. the ver
They run as applications and hence require an OS to run VirtualBox supports a wide range of guests like Windows, OS's n
them. Similar to bare metal hypervisors, they are able Solaris, Linux, Apple, and so on. based
to share physical resources among multiple guests and 4) Guest additions: These are additional software bundles 118431

30 I JANUARY 2018 I OPEN SOURCE FOR YOU I www.OpenSourceForU.com


How To Admin

installed inside a guest to improve its performance and To begin installation, execute the command given below in a
extend the fm;ctionality. For instance., these allow us to terminal and follow the on-screen instructions:
share folders between the host and guest, and to drag and
drop functionality. $ sudo dpkg ·i virtualbo~ ·5.2 .. 5.2.8·118431·Ubuntu· xenial_amd64.

deb
Features of VirtuaiBox
Let us discuss some important features of ViltualBox. Using VirtuaiBox
1) Portability: VirtualBox is highly portable. It is available After successfully installing VutualBox, let us get our hands dirty
on a wide range of platforms and its functionality remains by first starting VrrtualBox from the desktop environment. It will
identical on each of those platforms. It uses the same file launch the VirtualBox manager window as shown in Figure 1.
and image format for VMs on all platforms. Because of
this, a VM created on one platform can be easily migrated
to another. In addition, VirtualBox supports the Open 0New Mac~ools . , Glo~ools ,..j
Virtualisation Format (OVF), which enables VM import Welcome to Vlrtual&oxl
11le k!ft part of this w1ndow lists all virtual
and export functionality. machines and virtue~! machrne gi'QUps on your
wmpoter, 1M list Is 11mpty now because you
haven't treated any vutual machines yet.
2) Commodity hardware: VirtualBox can be used on a CPU
In order to create il fl4! W virtual ~chin•.
that doesn't support hardware virtualisation instructions, ~e;~~t':h:t*t~r~:!~d~~ tool bar
You an press the Pl key to g~t inSUint tt.lp,
like Intel's VT-x or AMD-V. or vis1t -.wtualbox .orq for more
informatiOfl and latest I'\I!WS.
3) Guest additions: As stated earlier, these software bundles are
installed inside a guest, and enable advanced features like Figure 1: Virtual Box manager
shared folders, seamless windows and 3D virtualisation.
4) Snapshot: VirtualBox allows the user to take consistent This is the main window from which you can manage your
snapshots of the guest. It records the current state of the VMs. It allows you to perform various actions on VMs like
guest and stores it on disk. It allows the user to go back in Create, Import, Start, Stop, Reset and so on. At this moment,
time and revert the machine to an older configuration. we haven't created any VMs; hence, the left pane is empty.
5) VM groups: VirtualBox allows the creation of a group Otherwise, a list of VMs are displayed there.
of VMs and represents them as a single entity. We can
perform various operations on that group like Start, Stop, Creating a new VM
Pause, Reset, and so on. Let us create a new VM from scratch. Follow the instructions
given below to create a virtual environment for OS installation.
Getting started with Virtual Box 1) Click the 'New' button on the toolbar.
2) Enter the guest's name, its type and version and click the
System requirements 'Next' button to continue.
VirtualBox runs as an application on the host machine and 3) Select the amount of memory to be allocated to the guest and
for it to work properly, the host must meet the following click the 'Next' button.
hardware and software requirements: 4) From this window we can provide storage to the
1) An Intel or AMD CPU VM. It allows us to create a new virtual hard disk or
2) A 64-bit processor with hardware virtualisation is required use the existing one.
to run 64-bit guests 4a) To create a new virtual hard disk, select the ' Create
3) 1GB of physical memory a virtual hard disk now' option and click the 'Create'
4) Windows, OS X, Linux or Solaris host OS button.
4b) Select the VDI disk format and click on 'Continue' .
Downloading and installation 4c) On this page, we can choose between a storage policy
To download VrrtualBox, visit https:/lwww.virtualbox.org/ that is either dynamically allocated or a fixed size:
wiki!Downloads link. It provides software packages for i) As the name suggests, a dynamically allocated disk will
Windows, OS X, Linux and Solaris hosts. In this column I'll be grow on demand up to the maximum provided size.
demonstrating VrrtualBox on Mint Linux. Refer to the official ii) A fixed size allocation will reserve the required storage
documentation if you wish to install it on other platforms. upfront. If you are concerned about performance, then go
For Deb ian based Linux, it provides the '.deb' package. with a fixed size allocation.
Its format is virtualbo ·-xx_xx-yy-zz. deb where xx_xx-yy is 4d) Click the 'Next' button.
the version and build uum er respectively and zz is the host 5) Provide the virtual hard disk's name, location and size
OS's name and platform.. For instance, in case of a Debian before clicking on the 'Create' button.
based 64-bit host, the ?il ·,oe name is virtua/box-5.2_5.2.0- This will show a newly created VM on the left pane as
118431-Ubuntu-xenial_ seen in Figure 2.

www.OpenSourceForU com I OPEN SOURCE FOR YOU I JANUARY 2018 I 31


Admin How To

Installing a guest OS
To begin OS installation, we need to attach an ISO image
~ 8BS
to the VM. Foll~w the steps given belo~ to begin OS 1
Machine Tools Global Tooh

installation:
1) Select the newly created VM.
2) Click the 'Settings' button on the tocilbar. ~o?~rs:h~h~i~e~~~~J;~~~tsc!r
un be opened) for the cui'T'ently chosen

I
machine. For a list of currently available
3) Select the storage option from the left (Yane. tools c~ck the corre~dif'lg menu at the
right side of the main tool bar located at
the top of the window. This ltst will be
4) Select the optical disk drive from the storage devices. extl!nded with new tools in future ~easEs.

5) Provide the path of the ISO image and click the ' OK ' ~ip~:~ ~~:!!:. ~~~:rt!.~~~ if:~~ be a
lnfurmation and l01test news,
button. Figure 3 depicts the first five steps. Details
By I
Tool to observe virtual m~hine IVMI details. Refi&Cts 9roups of
61 Select the VM from the left pane. Click the ' Start' button ~for the cu~tly chosen VM and allows bo!SK opKations Ima
on cert:am properties thke the machi!W! stor.lge devkesl.
on the toolbar. Follow the on-screen instructions to is a
complete OS installation. I snapshots
Tool to control virtual macl'line lVMI snapshots, Refl.cn sna?Silots
cret~ted for the currEmtly selected VM and <1llows snapshot
ope
I ~~:Oth~~~;;~~~~p~s~~~~~~ like
!!!T;,! and descnptkm. ..!.1
is pi
VM power actions L-----~~- viro
Let us understand VM power actions in detail. Figure 2: Creating a VM WOI
1) Power On: As the name suggests, this starts the VM at Tot
the state it was powered off or saved in. To start the VM, 1) Sell
right-click on it and select the 'Start' option. ~
• Machine Tools
883
Global Tools
the
2) Pause: In this state, the guest releases the CPU but not welcome to VlrtuaiBoxl 2) Sell
the memory. As a result, the contents of the memory are 3) Pro
preserved when the VM is resumed. To pause the VM, ~ Genenl L~~~~~-e __ 4) Pro
right-click on it and select the ' Pause' option. I~ System §:to,rilge Devic.s Attributes

mJ Display ~ ~ controller: IDE ~ . Optical Qrwe: i!Jj.#.jifiiidJt\4 · 18.


3) Save: This action saves the current VM state and releases ~11111111 .f. lmpor
/!3 Contn:lller: SATA' ~~~
r yve corovo

the CPU as well as the memory. The saved machine can


~
~ Audio iJ Mint·l8.vd i
Information

Stze: •·
® To imp
be started again in the same state. To save the VM, right- ~ •• two.. Location: - 1) 0 ~
!.) Serial Ports Attachfltto: -
click on it and select the 'Close->Save State' option. >In
~ USB
4) Shutdown: This is a graceful turn-off operation. In this ~ ShuiKIFolders 2) Sel1
case, the shutdown signal is sent to the guest. To shut Ej User lnterf;ace 3) Ver
down the VM, right-click on it and select the 'Close- Ym
>ACPI Shutdown' option. '--- Ma
5) Poweroff: This is non-graceful turn-off operation. It can Figure 3: Installing the OS
cause data loss. To power off the VM, right-click on it and --------. Clonil
f" -,-------------,
O;,_
· deVUVtrtua.IBokt>Un.-g~

select the 'Close->Poweroff' option. Virtual


6) Reset: The Reset option will turn off and turn on the '~o !!·(E- ~!'Pm~ .-- ---- -- ~------r-

~ As the
New Settings Start Machine Tools
VM, respectively. It is different from Restart, which is a Welcome to Vlrtullloxl suppor
graceful turn-off operation. To reset the VM, right-click ~ left part of this wtndow lists a!l wtual
tNcl'llnes and vtrtual mil<:htne groups on 1) Fw
yoorcornpultt".
on it and select the 'Reset' option. \11'.
~~~rs:n?:n~~~=t::~a:st!
can be opened) fur the- currently chosen
~chine . For a bst of curnntty a11allable eas
tools check tht corruponding ~1\Y at the
Removing the VM tight side of th• main tool bar located at
the top of the window. This list wiU be
extended With new
tools In rut\lre r.l~tilses.
2) Li11
Let us explore the steps we need to take to remove a VM. The viD
~:rp~~~~itssv!:.~~~~~~~
remove operation can be broken up into two parts. infotmation and latest news. the
O.tallt
1) Unregister VM: This removes the VM from the library, ref
!:~rtts~s~';'~~~~~~~~:s~~~~~~~~!!'s•~~J':a~ns !iJ
i.e., it will just unregister the VM from VirtualBox on urtoun properties (like th• mllch•n• stor01ge dt:vicM). as
so that it won't be visible in VirtualBox Manager. To sn•p•hott yo1
Tool to control virtual m;l<:hiM (VMl Sll;\f)Shots. R.eftects ~
cruted rot the <:Uf'J'Vntty Hl.tttd VM and allows ~pshot li} VII
unregister a VM, right-click on it, select the 'Remove' ~~:~~i~~~~~$ ::m~:~~~~~~~ like
!!!l!l! aOO description.
option and click the 'Remove Only' option. You can To
re-register this VM by navigating to the 'Machine->Add' Figure 4: Starting the VM 1) Se
option from VirtualBox Manager. v~
2) Delete VM: This action is used to delete the VM permanently. VirtuaiBox-beyond the basics 2) Pn
It will delete the VM's configuration files and virtual hard Beginners will get a fair idea about virtualisation and thE
disks. Once performed, this action cannot be undone. To VirtualBox by referring to the first few sections of this article. 3) Se
remove a VM permanently, right-click on it, select the However, VirtualBox is a feature-rich product; this section Yo
'Remove' option and click the 'Delete all files' option. describes its more advanced features. Vi

34 I JANUARY 2018 I OPEN SOURCE FOR YOU I www. OpenSourceForU.com

,.,'II
'I'
.1:ilW
How To

Export appliance Group VMs


We can export ,a VM as an appliance in the Open VirtualBox allows you to create groups of VMs, and to
Virtualisation Format (OVF). It comes in a two-file format. manage and perform actions on them as a single entity. You
1) OVF file format: In this format, several VM related files can perform various a<;_:tions on them like expanding/shrinking
will be generated. For instance, there will be separate files the group, renaming the group, or Start, Stop, Reset and Pause
for virtual hard disks, configurations and so on. actions on the group of VMs.
2) OVA file format: In this format, all VM related files will To create a VM group, perform the following steps:
be archived into a single file and the .ova extension will 1) Select multiple VMs from VirtualBox Manager. Hold the
be assigned to it. 'Ctrl' key for multiple selections.
By leveraging this feature, we can create a Golden 2) Right-click it and select the 'Group' option.
Image of a VM and deploy multiple instances of it. OVF This will create a VM group called 'New group' as
is a platform-independent, efficient, extensible, and shown in Figure 5.
open packaging and distribution format for VMs. As it If you right-click on the group, it will show various
is platform-independent, it allows the import of OVF options like 'Add VM to group', 'Rename group', 'Ungroup',
virtual machines exported from VirtualBox into VMware 'Start' and so on. To remove a VM from the group, just drag
Workstation Player and vice versa. and drop that particular VM outside the group.
To export a VM, perform the steps listed below: With snapshots, you can save a particular state of a VM
1) Select a VM from the VirtualBox manager. Navigate to for later use, at which point, you can revert to that state.
the 'File->Export Appliance' option. To take a snapshot, perform the following steps:
2) Select the VMs to be exported, and click the 'Next' button. 1) Select a VM from VirtualBox Manager.
3) Provide the directory's location and OVF format version. 2) Click the 'Machine Tools' drop down arrow from the
4) Provide the appliance settings and click the 'Export' button. toolbar and select the 'Snapshots' option.
3) Click the 'Take' button.
Import appliance 4) Enter the snapshot's name and description before clicking
To import a VM, perform the steps given below: on the 'OK' button. Figure 6 depicts the above steps.
1) Open VirtualBox Manager and navigate to the 'File- This window provides various options related to snapshots
>Import Appliance' option. like Delete, Clone, Restore and so on. Click on the 'Properties'
2) Select 'Virtual appliance' and click on the 'Next' button. button to see more details about the selected snapshot.
3) Verify appliance settings and click on the 'Import' button.
You will see that a new VM appears in VirtualBox Shared folders
Manager's left pane. Shared folders enable data sharing between the guest and host
OS. They require VirtualBox guest additions to be installed
Cloning a VM inside the guest. This section describes the installation of
VirtualBox also provides an option to clone existing VMs. guest additions along with the shared folder feature.
As the name suggests, it creates an exact copy of the VM. It To enable the shared folder feature, perform the
supports the following two types of clones. following steps:
1) Full clone: In case of a full clone, it will duplicate all the 1) Start the VM from VirtualBox Manager.
VM's files. As this is a totally separate VM copy, we can 2) Go to the Devices->Insert Guest Additions CD image option.
easily move this VM to another host. Follow the on-scre~n instructions to perform the guest
2) Linked clone: In case of linked clones, it will not copy additions installation. Figure 7 depicts the first two steps.
virtual hard disks but, instead, it will take a snapshot of 3) Navigate to Devices->Shared Folders->Shared Folder
the original VM. It will create a new VM, but this one will Settings.
refer to the virtual hard disks of the original VM. This is 4) Click the 'Add new shared folder' button. Enter the
a space efficient clone operation, but the downside is that folder's name, its path and select 'Permissions'. Click the
you cannot move the VM to another host as the original 'OK' button. Figure 8 illustrates the above steps.
VM and the cloned one share the same virtual hard disks. You can mount the shared folder from the guest in the
To create a clone, perform the steps given below: same way as an ordinary network share. Given below is the
1) Select the VM from VirtualBox Manager. Right-click the syntax for that:
VM and select the 'Clone' option.
2) Provide the name of the clone VM and click mount -t vboxsf [-o OPTIONS] <sharename> <mountpoint>
the 'Next' button.
3) Select the clone type and click the 'Clone' button. Understanding virtual networking
You will see that a new cloned VM appears in This section delves deep into the aspects of VirtualBox's
VirtualBox Manager's left pane. networking, which supports the network modes

www.OpenSourceForU.com I OPEN SOURCE FOR YOU I JANUARY 2018 35


How To

r-~-·-·---~-------···· --·-·-------·---o~;v·Mv;·~;ia;;-~~
- ~-·-·-··----

~ile §roup !!elp file _Machine _!!elp


0 -~-- ~ ~~
iNew St•rt
0 8
New Settings
~
Show
- -
v New group ~ G•JMr~l Welcome to VirtuaiBoxl
m
r.1
VM·l
@ Powered OH
Name: VM-1
Operating System: Ubuntu (64-bitJ
Groups: New group
~ VM-2
~ @ PoweredOft VM-1
Base Memory: 1024 MB
~ VM - 3 Boot Order: Floppy. Optical,
r. @ Powered OH
Acceleration:
Hard Disk
VT-X/AMD-V.
1!;;;
.~
..=-:-::-:--:-:-------'
Mint-18
Nested PacJing,
KVM
! @ Powered Off Paraviltua lization

Name: VM-2
Operating System: Ubuntu (64-bitl
Groups: New group

System I
Base Memory: 1024 MB
Boot Order.
Acceleration
Floppy, Optical.
HardD•sk
vr xt~ D-V, I
VM-2

J
!_____________ ----==~:::~_________ ---
Figure 5: VM groups Figure 7: Guest addition installation Fig
-~~~ ---------·---·----·~==~ ·
S ngs

Shared Folders _ _ _ _ __ j To I
Shared f olders
Exe
~ Display Name Path AUto--mount Access ~ 1 regi!
0 ~
Machine Fol ers
Kil sto<age Transient Fok:lers

19"1 VM- 2
r:. @ Poweredotf
~ Aud;o 0 AddShare

Folder Path: J=~==--.


~ /ho ...dS/SharedOirec.tory :::::J
$ ~

m VM-3
rifJ Network
Folder Name: ls haredoirectory ut-L
~ @ PoM:!red Off
~ttributes I !nformation I '!): Serial Ports f;7 ,Bead.only ~~ v -
!fame: jEnte" a n;uT# for the new snaoshot. ~ USB ,;1 _!uto-mount
QeSaiption: p-I Make Permanent ! "V -
[J USer Interface
"VM·

_ j _ _j To I
We 1
Figure 6: Snapshot VM Figure 8: Shared folder
$ ':
ll j"
Not Attached, NAT, bridged adapters, internal networks and networks from the guest, then this will serve your "I
host-only adapters_ purpose. It is similar to a physical system connected to an
Perform the steps given below to view/manipulate the external network via the router. To s
current network settings: 3) Bridged adapter: In this mode, VirtualBox connects We 1
1) Select the VM from the VirtualBox Manager_ to one of your installed network cards and exchanges abat
2) Click the ' Settings' button on the toolbar. network packets directly, circumventing the host operating prov
3) Select the 'Network' option from the left pane. system's network stack. VM
4) Select the adapter. The current networking mode will be 4) Internal: In this mode, communication is allowed between
displayed under the 'Attached to' drop-down box. a selected group of VMs only. Communication with the $VB,
5) To change the mode, select the required network mode host is not possible. Name
from the drop-down box and click the 'OK' button. 5) Host only: In this mode, communication is allowed Gro t
Figure 9 illustrates the above steps. between a selected group of VMs and the host. A Gues
physical Ethernet card is not required; instead, a virtual UUI
Virtual Box network modes network interface (similar to a loopback interface) is Con':
Let us discuss each network mode briefly. created on the host. Snao:
1) Not Attached: In this mode, VirtualBox reports to the Log '
guest that the network card is installed but it is not An introduction to VBoxManage Haru
connected. As a result of this, networking is not possible VBoxManage is the command line interface (CLI) of Mer:::::
in this mode. If you want to compare this scenario with VirtualBox. You can manage VirtualBox from your host Page
a physical machine, then it is similar to the Ethernet card via these commands. It supports all the features that V R~
being present but the cable not being connected to it. are supported by the GUI. It gets installed by default
2) NAT: This stands for Network Address Translation and when the VirtualBox package is installed. Let us look at
it is the default mode. If you want to access external some of its basic commands.

38 I JANUARY 2018 I OPEN SOURCE FOR YOU I www.OpenSourceForU.com

1'111
,, l

•II
II! "
'illlli
How To Admin
·· ···········- ·········-····--·····--······-·- ······-···-···-·-·--····· - - - - · - - - ······

-__J To turn on the VM


············ · ······--·· ·- ~·--· ···· ··-1 · - · ··- ·- · ··- · -·· ··· -

' ("': Vll ra:.


; f! le ~achine !:!_elp _
!0 GQ).~~ ~ ~ 8/l1l ~i VBoxManage provides a simple command to start the VM. It
l New settings Machifll' Tools Global Tools i
l~ Mint• UI " ""'! ~·~
accepts the VM name as an argument.
1 ®~ Plwrend or
= Welcome to Virtual Box!
-oJ
Ii
I
r~C!J: =-o,.-.-,--
,. j • --~~·:- =::::::: ==~I Adapter~
$ VBoxManage startvm Mint-18
Waiting for VM
~
~
System

Di splay

0
Adapter 1 I Adapter l I Adap ter l
F;f s;nable Network Adapter II J

o:J
J l
"Mint -18" to power on ...

.I
storage Attached to: jNAT
VM "Mint-18" has been successfully started.
~- t> Af!vanced

~ SeriaiPorts To turn off the VM


fi' USB

~ Shared Folders

~ User Interface I The controlvm option supports various actions like pause,
reset, power-off, shutdown and so on. To power off the VM,
execute the command given below at a terminal. It accepts the

Figure 9: Network modes


. · · · ·- --- - -----~: '~-' - =·-'1 VM name as an argument.

$ VBoxManage controlvm "Mint-18" poweroff


0% ... 10% .. . 20% ... 30% ... 40% ... 50% ... 60% ... 70% ... 80% ... 90% ... 100%
To list VMs
Execute the commands given below in a terminal to list all the To unregister VM
registered VMs: The command given below can be used to unregister a VM. It
accepts the VM's name as an argument.
$ VBoxManage list vms
"Mint-18" {e54feffd-50ed-4880-8f81-b6deae19110d} $ VBoxManage unregistervm "Mint-18"
"VM-1" {37a25c9a-c6fb-4d08-alle-234717261abc}
"VM-2" {03b39a35-1954-4778-a261-ceeddc677e65} To register VM
"VM-3" {875be4d5-3fbf-4d06-815d-6cecfb2c2304} The command given below can be used to register a VM. It
accepts the VM's file name as an argument.
To list groups
We can also list VM groups using the following commands: $ VBoxManage registervm "/home/groot!VirtualBox VMs/Mint-18/
$ VBoxManage list groups Mint-18.vbox"
lljll

"/VM Group"
To delete VM
To show VM information To delete a VM permanently, use the --delete option with the
We can use the showvminfo command to display details unregistervm command. For instance, the following command
about a VM. For instance, the command given below will delete the VM permanently.
provides detailed information about the VM. It accepts the
VM's name as an argument. $ VBoxManage unregistervm "VM -1" - -delete
0% ... 10% ... 20% ... 30% ... 40% ... 50% ... 60% ... 70% ... 80% ... 90% ... 1
$ V8oxManage showvminfo Mint-18 00%
Name: Mint-18
Groups: I VBoxManage provides many more commands and
Guest OS: Ubuntu (64-bit) covering them all is beyond the scope of this tutorial.
UUID: e54feffd-50ed-4880-8f81-b6deae19110d Anyway, you can always dig deeper into this topic by
Config file: /home/groot/VirtualBox VMs/Mint -18/Mint -18. vbox referring to VirtualBox 's official guide. To view all
Snapshot folder: /home/groot/VirtualBox VMs/Mint-18/Snapshots supported commands and their options, execute the
Log folder: /home/groot/VirtualBox VMs/Mint-18/Logs following command in a terminal:
Hardware UUID: e54feffd-50ed-4880-8f81-b6deae19110d
Memory size: 1024MB $ VBoxManage -help
Page Fusion: off
VRAM size: 16MB
By: Narendra K.
~ Note: The remaining output is not shown here, The author is a FOSS enthusiast. He can be reached at
in order to save space. [email protected].

www.OpenSourceForU.com I OPEN SOURCE FOR YOU I JANUARY 2018 I 39

You might also like