Clone VirtualBox VM by vboxmanage

To clone VM with Sun xVM VirtualBox : 1) clone current VM disk by command vboxmanage 2) create new VM attached to cloned disk.
Note: no GUI is available so far in release 2.1.4.
For VirtualBox version 2.2 or higher, use export/import wizard, see my new article "Clone VirutalBox VM via Open Virtualization Format (OVF)"

Example
C:Documents and Settingspang.VirtualBoxHardDisks>path="C:Program FilesSunxVM VirtualBox";%PATH%

C:Documents and Settingspang.VirtualBoxHardDisks>vboxmanage clonehd "windows_2003.vdi" "windows_2003_clone.vdi"
VirtualBox Command Line Management Interface Version 2.1.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
Clone hard disk created in format ‘VDI’. UUID: ac8cd778-eb2d-47cf-8c60-82109dc498fe

C:Documents and Settingspang.VirtualBoxHardDisks>

Advertisements

About Pang

Oracle DBA working in database, fusion middleware and identity management and cloud.
This entry was posted in Computers and Internet. Bookmark the permalink.

One Response to Clone VirtualBox VM by vboxmanage

  1. Unknown says:

    I’ve created a video walking through this process (on a Mac, but the same process would work on a PC, just using different file locations) here:http://joshprowse.com/virtualbox-how-to-clone-copyduplicate-a-virtuHope this helps somebody!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s