Asking for help in converting from *.vmdk to *.cdi to download Metasploit 2 on Virtualbox in Windows

  metasploit, virtualbox, windows

I want to use Metasploit on VirtualBox.
Therefore I downloaded it from
https://sourceforge.net/projects/metasploitable/files/Metasploitable2/

Yet it with the extension of *.vmdk of VMware instead of *.cdi of VirtualBox

So, I used this command in windows cmd to make the conversion:

VBoxManage.exe clonemedium disk –format VDI "C:UsersuserDownloadsMetasploitable2-LinuxMetasploitable.vmdk" "C:UsersuserDownloadsMetasploitable2-LinuxMetasploitable.vdi"

Yet, it shows me this output:

VBoxManage.exe: error: UUID {00000000-0000-0000-0000-000000000000} of the medium ‘C:UsersuserDownloadsMetasploitable2-LinuxMetasploitable.vmdk’ does not match the value {0fd51cf7-b589-495a-ad24-5490ad72441c} stored in the media registry (‘C:Usersuser.VirtualBoxVirtualBox.xml’)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "CloneTo(pDstMedium, ComSafeArrayAsInParam(l_variants), NULL, pProgress.asOutParam())" at line 1068 of file VBoxManageDisk.cpp

I searched the internet for a solution for a while and I did not find
useful results.
Can you help me?

Thanks for reading and even more for answering!

Source: Windows Questions

LEAVE A COMMENT