step 1: clone the vdmk to vdi
VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
step 2: remove the old hard drive(vdmk) and add the new hard drive(vdi) in the settings of the vm machine
settings>storage>controller:SATA of the vm
VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
step 2: remove the old hard drive(vdmk) and add the new hard drive(vdi) in the settings of the vm machine
settings>storage>controller:SATA of the vm