As we saw in a preview post about creating a new sun virtual box virtual machine you can install a new operating system using this utility. But, what happens if you want to make a copy of this machine, continue the reading to know it.
1. Open a command window and go to the Sun Virtual Box program folder.
a) Press Windows Key + R, type cmd and press enter.
and press enter.
2. Now we are going to use the vboxmanage clonevdi command,
vboxmanage clonevdi "%userprofile%/.VirtualBox/harddisks/YourMachineName.vdi" "%userprofile%/.VirtualBox/harddisks/Other YourMachineName.vdi"
You have to change yourmachinename.
3. We have created a copy of the hard disk now we need to put this new created device into a new virtual machine.
a) Open Sun VirtualBox.
b) Press New
c) Write a name and select your operating system.
d) Configure the Virtual Machine.
e) Now we have to select our new virtual hard disk. Press Use existing hard disk and open the virtual media manager. Press the following icon:
Now you have other Virtual Machine to play with.