Cloning a VDI disk

When using VirtualBox, if you want to copy the virtual disk image (VDI), use the following command:

VBoxManage clonevdi source target

Simple as.  Except, it’s important to note that this will only clone the base image – i.e. without snapshots!  If you want to clone the current state image, you’ll have to remove the snapshots to collapse them down into one image.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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