hard drive – How to recover zeroed disk?


Presumably not the most suited stackexchange, but I’ll give it a try as people here probably have an answer to my problem. So 6 months ago something quite terrible happened to me.
I ran Ubuntu on my laptop and accidentally ran sudo dd if=/dev/zero of=/dev/myDisk && sync to my external hard disk (it is either 500GB or 1TB don’t recall exactly).
It ran for a minute or so before I realized I was erasing my disk with all my pictures and so on instead of another unimportant USB disk which was also connected to my laptop.
I then somehow interrupted the write procedure, but was not able to access the content of my disk anymore.

So my questions are:

  • how can I recover the part to which I wrote 0?
  • how can I copy the part which still contains data to another external drive? I guess I somehow will have to skip the part of my disk which now contains zeros.
  • I guess that one of the reasons I can’t navigate my disk any more is because its partition table is wiped out. Can I perhaps fix everything by restoring the partition table somehow? If yes how?

I initially did not do anything particular with that disk besides storing my memories on it. I.e I did not encrypt it add any partitions or whatsoever.



Source link

Leave a Comment