Search This Blog

Monday, July 11, 2011

Clone virtual machine in VirtualBox....

If you have used VmWare Workstation earlier and now working on VirtulBox, you may have to bang your head to create a cloned virtual machine on VirtualBox. As it's not as easy as you do in VMWare workstation.(#FAIL @VirtulBox).

Never mind...here are the steps you can do on your Ubuntu host OS to create clone of a guest OS.

$ vboxmanage clonehd <source-folder/file.vdi> <destination-folder/clone.vdi>
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: e64c4d5f-8ae1-4e69-aa68-cedd3fe5c43e
$

Next, create a New virtual machine.
And while choosing virtual hard disk, just choose the option "Use existing hard disk", instead of creating a new one.
And just give the path of 'vdi' file, you've just created.

..............Done!!!

No comments:

Post a Comment