ddrescue

Miscellaneous tools
Message
Author
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

ddrescue

#1 Post by aragon »

Home: http://www.gnu.org/software/ddrescue/ddrescue.html
Version: 1.13
GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying hard to rescue data in case of read errors.
Compiled in 4.31.

cheers
aragon
Attachments
ddrescue-1.13.pet
(48.47 KiB) Downloaded 3274 times
Last edited by aragon on Wed 29 Sep 2010, 07:16, edited 5 times in total.

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#2 Post by alienjeff »

More obfuscation of the dd command, which besides already residing within Puppy Linux, it is your friend.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#3 Post by aragon »

updated to version 1.9. see main post.

cheers
aragon

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#4 Post by vtpup »

Obfuscation in the sense that Puppy Linux is an obfuscation of the linux kernel.

Or any script is an obfuscation of bash.

gnu ddrescue worked tirelessly overnight for me rescuing a crashed hard drive. After building an inital image file of the drive, it returns to the drive and splits up the data error areas into smaller and smaller chunks, recovering progressively more data, and updating the image file.

You can stop at any time with Ctrl-C. Interruptions will not crash it, lose the latest version of the image or much of the progressively finer work it does in recovery. It can be re-started at any time and will continue refining the image because it references its logfile to find out where it was. Once started, its actions are completely automatic, so you can go to bed and leave it to do its work. I suppose these are obfuscations on the "purity" of dd. So be it.

Thank you Aragon for making this valuable disk recovery tool available to Puppy users, and for updating it!

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#5 Post by aragon »

hi vtpup,

glad it helped you.

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#6 Post by aragon »

uploaded v. 1.10. see main post.

aragon

ragaman
Posts: 186
Joined: Sun 14 Jan 2007, 12:55

#7 Post by ragaman »

Thanks Aragon. I was able to save my important files on my laptop's hard drive that Ubuntu trashed.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#8 Post by aragon »

:D

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

uploaded v. 1.11, see main post.

aragon

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#10 Post by Sylvander »


aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#11 Post by aragon »

well no...

this one is gnu ddresue from here: http://www.gnu.org/software/ddrescue/ddrescue.html
the other one is dd_rescue from here: http://www.garloff.de/kurt/linux/ddrescue/

seems to be the result of the free world... :?

but before you ask, no i don't know which one is better....

aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#12 Post by aragon »

uploaded new version. see main post.

aragon

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#13 Post by vtpup »

Thank you for continuing to maintain this, Aragon.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#14 Post by aragon »

uploaded new version. see main post.

aragon

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#15 Post by abushcrafter »

[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#16 Post by aragon »

please read 4 posts up...

aragon

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#17 Post by davids45 »

G'day,

I've just lost a partition on my sda disk (sda7) which fails to boot (it has a number of Frugal Pups) or to mount from Pup on another partition.

I've got ddrescue to copy the faulty sda7 to another drive. It reports a 119kB error before starting to copy what it can from sda7.

On this copy, fsck reports a super-block error/corruption, as it does if I try directly accessing the original sda7 with fsck.

Is this the right way to use ddrescue (is there some other program to try to explore the rescued data or the original ext partition)?

And is a super-block error fixable? Or do I just wipe and reformat the partition with GParted and re-install the Frugals and their sfs files

Thanks for any advice,
David S.

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#18 Post by abushcrafter »

aragon wrote:please read 4 posts up...

aragon
Thanks.
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#19 Post by aragon »

David,

I've googled a little about the superblock error and it seems to me, that it's fixable without dataloss.

I'll see if i could find a good advice about a stategy snd will report back.

Aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#20 Post by aragon »

some more infos i've found (and on disclaimer ;-) )

disclaimer: use at your own risk...

from ddrescue online-manual
If you are trying to rescue a whole partition, first repair the copy with e2fsck or some other tool appropiate for the type of partition you are trying to rescue, then mount the repaired copy somewhere and try to recover the files in it.
http://www.gnu.org/software/ddrescue/ma ... anual.html

assuming that it's ext2/ext3:
http://www.cyberciti.biz/tips/surviving ... lures.html

last but not least: good luck

aragon

Post Reply