Recover files from hard disk formatted with dd command

How to use TestDisk to recover lost partition
Post Reply
Message
Author
vigosan
Posts: 1
Joined: 29 Aug 2013, 17:37

Recover files from hard disk formatted with dd command

#1 Post by vigosan » 29 Aug 2013, 17:45

Hello,
I ran the next command:

gunzip -c someimage.img.gz | sudo dd of=/dev/rdisk1 bs=1m

deleting all the content/partition of disk1 (the good destination should have been rdisk2). Could be possible to recover the lost partition/files of disk1? I have a lots of photos in it.

Thanks!

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3758
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Recover files from hard disk formatted with dd command

#2 Post by cgrenier » 06 Sep 2013, 07:24

If you had several partitions on this disk, you can try TestDisk to recover them (recovering the first will probably be impossible). You can also try PhotoRec to recover your data.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest