how to clone a virtualbox disk for use on the same machine

virtualbox embeds a uuid in disk images which need to be unique for each image that is used on a system. if the image file is copied to another host, there is no problem, but simply copied to another file on the same host, VB will complain of conflicting uuid’s and refuse to load it.

use VBoxManage to clone the disk:

to get help with command line options:

VBoxManage -h | less

to clone a VMDK disk image to VDI format:

VBoxManage clonehd --format VDI disk.vmdk disk.vdi