On Fri, 10/13 15:20, Guilherme Moro wrote: > Hi, > > I'm trying to convert some images from raw to vmdk to run in a ESXi6.5 > server but I need to rectify the image before being able to run. > > The scenario goes like that: > > qemu-img convert -f raw image.raw -O vmdk -o compat6 image.vmdk > ESXi complains with "Failed - File system specific implementation of > LookupAndOpen"[file] failed > running vmkfstools -x repair on the image make it bootable > > I checked the changes, vmkfstools is basically removing the second > descriptor from the end of the file, I'm not familiar enough with the code > and the format to know what this means, maybe compat6 should make qemu-img > avoid to put that in the end of the file (again, mostly guessing). > > Anyway we would need an option to make sure that this second descriptor does > not end in the final image.
What do you mean by "second descriptor"? The one at offset 0x200? But other than this descriptor I don't see a second one. Maybe I'm missing something? Fam