On Sun, Feb 6, 2011 at 9:20 AM, cheng chen <freakrobot(a)acm.org> wrote:
Hi all,
I just input a wrong output device file of the dd command
it should be "dd if=xxx.iso of=/dev/sdc"
but I input "dd if=xxx.iso of=/dev/sdb",
so my hard disk partition is ruined. The xxx.iso is just 3GB, but I have
400GB data in the disk which means other data are still there.
Is there anything I can do to get the files back to me. It's partition type
is NTFS.
You overwrote a lot more than the partition table but I have had luck
with testdisk in the past. It's available on System Rescue CD, or in
the fedora repos if you still have a bootable system.
It worked to recover my NTFS partition but I only overwrode the
partition, not the data.
Richard