VirtualBox – Cloning a Virtual Machine

The folder who store the DVI files is:


Just go there

$ cd ~/.VirtualBox/HardDisks

And type the following command to clone the virtual machine

$VBoxManage clonehd SOURCE.VDI DESTINATION.VDI -format VDI

Now enter at VirtualBox, -> new -> next -> type the name and kind of vm -> amount of memory ->

virtual harddisk – click on existing -> add -> and then select your new VDI file.

Have fun !


One Response to “VirtualBox – Cloning a Virtual Machine”

  1. Tony Palmer Says:

    Nice thanks. I’d make two suggestions to this.
    1. Its always nice to have a clean patched OS with nothing installed ready for cloning.

    2. clonehd takes a few minutes and seems to hog system resources while running, I would suggest using the ‘nice’ command to give priority to other user tasks while the clone is being generated. i.e. nice VBoxManage clonehd SOURCE.VDI DESTINATION.VDI -format VDI

    Irish Vehicle History

Leave a Reply to Tony Palmer Cancel reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: