I have a vmdk (VMware virtual [NTFS] formatted disk) beyond repair (It's not mine, I don't know exactly what happened).
I'm trying to get some files off of it using Plan B as outlined here: http://sanbarrow.com/sickbay.html#planb
From what I can tell, for my case this would entail
- Create a new new.vmdk with size a bit larger than the current one and format it NTFS
- Use ddrescue to copy the content of old.vmdk into new.vmdk
- Mount new.vmdk and try to recover stuff
My question is, how exactly would the ddrescue command look like? Assuming new.vmdk is sufficiently larger than old.vmdk and I want to start writing old.vmdk somewhere with an offset of 1024bytes, would this work?
ddrescue -o1024 old.vmdk new.vmdk
I have little margin for error, so I would like to confirm that I'm doing stuff right.
Bonus question: Does it matter what offset I use?
Thank you!