Recover Vmdk — From Flat 'link'

dd if=/path/to/flat/file of=/path/to/new.vmdk bs=1M skip=<offset> count=<size>

vmkfstools -i new.vmdk final.vmdk

: Locate the flat file associated with your VMDK. The flat file usually has a .vmdk-flat or similar extension and is significantly large in size. recover vmdk from flat

<?xml version="1.0" encoding="UTF-8"?> <VirtualMachineSection> <Version>1</Version> <DiskSectorthis> <AdapterType>lsilogic</AdapterType> <BusType>scsi</BusType> <DiskType>2</DiskType> <Url>file:///path/to/flat/file</Url> </DiskSection> </VirtualMachineSection>

Replace /path/to/flat/file with the actual path to your flat file. dd if=/path/to/flat/file of=/path/to/new

Use the dd command to extract the data block from the flat file and write it to the new VMDK file:

# Create new dummy disk same size vmkfstools -c <size> new.vmdk dd if=/path/to/flat/file of=/path/to/new.vmdk bs=1M skip=&lt

A deep post on recovering a VMDK file from a flat file!