Virtual Machine Cloning and Disk Space Extension
Virtual Machine Cloning and Disk Space Extension
Virtual Machine Cloning and Disk Space Extension
Change to the directory or drive where the Virtual Machines are stored. In my case it
is simply D drive so i typed "d: " and pressed "Enter" key to change to d drive
You call the "VBoxManage" putting the complete path in (" " ) as shown below
The yellow highlighted is the disk (source) you want to clone and the blue underlined
is the destination (target) Folder and Disk Name how and where you want to save it
For clarity, mention a good directory name so that it is easily identified by you
The command creates a directory for you if does not exist
The "Ora-10-OS-Win08" is a folder name
In this example an Operating System disk and the 3 other additional disks are cloned
Verify wheather the disks are created after you see 100% success
Vith "--format VDI --variant Standard" you create another "Dynamic disk " but not
"fixed disk"
It is important to understand the difference between a Dynamic Disk and Fixed Disk if
you are new to Virtual Machine creation
Remember the folder names that you create. For clarity, i do so often with names like
D1, D2 and D3 etc. which makes me clear there are additional disks in the folders.
The below examples show how the additional disks are cloned
The red underlined shows how you can place disks in a folder/ location, doing so in
this way we can improve the system perfomance
Verify how much memory you allocated to previous (source) Virtual Machine
In my case i gave the same memory to this new virtual machine too
In the next step we just simply start to attach the disks that we cloned in earlier step
by navigating the folders
The starting disk will be Operating System disk and follows other disks. In my case
it was D1 - , D2 -and D3 - etc.cloned Disks
Verify how many processors you allocated to the previous Virtual Machine
Finally you can see all the disks that were cloned for this new Virtual Machine
Start the newly created Virtual Machine and you can see the login accounts that
were created already
In my case I do not use IPv6 but only IPv4. Just uncheck IPv6 to disable it
The easiest step is now you can start deleting the older Snapshots that goes so 3, 2
and 1
Lastly you delete the 4the Snapshot that is a fresh new one
Below you see there are not anymore Snapshots
Verification
2. Assume you followed the above steps for Snapshots that was shown for Windows
3. Attach this Gparted live ".iso" (CD) and start the Linux
4. The Gparted screens ask for basic information and later on you will be presented with a
screen to extend disk space
Links
http://oracle-base.com/articles/vm/virtualbox-extend-disk-and-file-system.php
https://www.virtualbox.org/