Aloha,
I am using Windows 10 and VMware Workstation 15 Pro and I want to virtualize a complete physical USB drive (not only the data/partitions on it but the whole(!) drive) in order to implement it as hard drive (VMDK) in a VM in VMWare Workstation (and later in a VM in ESXi). The whole implementation should simulate a USB boot process (so the USB drive is actually bootable) without needing the actual physical USB drive anymore. There are many reasons for this... the most important is to get rid of needing USB ports and non-reliable USB sticks.
Therefore I've prepared the USB stick with a bootable partition, tested if it works and created a DD image of the whole 4 GB stick with this command:
dd if=\\?\Device\HarddiskVolumeXX of=d:\usb-image.img --progress
It finished without issues.
Now I need to implement/convert this DD image to VMDK (I guess). After some searching I converted the .img to .vmdk with the help of a competing product:
VBoxManage convertfromraw usb-image.img usb-image.vmdk --format VMDK
Then I added this .vmdk as existing IDE hard drive to a VM in VMware which worked but as soon as the VM tries to start it prompts "Boot error".
Can you tell me what I did wrong or is my approach not possible?
Thanks in advance!