LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-17-2007, 09:35 AM   #1
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
dd vs dd_rescue


Someone gave me a USB zip drive to try to recover some files off of. I think the 250MB zip disk is damaged or going bad.

Anyway, I tried using both dd and dd_rescue on Debian Etch. The output file from dd is ~100MB and the output file from dd_rescue is 0MB. Why did dd return an image and dd_rescue returned nothing?

I used
Code:
dd_rescue -v -l dd.log /dev/sdc zipddr.img
for dd_rescue and
Code:
dd bs=512 if=/dev/sdc of=/home/patrick/zip/ziprecover.img conv=noerror,sync
for dd.

Here's tail end of the dd_rescue log I created
Code:
dd_rescue: (info): /dev/sdc (98304.0k): EOF
Summary for /dev/sdc -> zipddr.img:
dd_rescue: (info): ipos:     98304.0k, opos:     98304.0k, xferd:     98304.0k
                   errs: 196608, errxfer:     98304.0k, succxfer:         0.0k
             +curr.rate:        0kB/s, avg.rate:       10kB/s, avg.load:  0.3%
When I try to mount the dd image on loopback it fails. I can't even get anything off the image with foremost. There's just supposed to be *.doc files on the disk (a teacher's lesson plans).

Any ideas on what I need to do to mount the image or recover files off of it (assuming of course it wasn't too damaged)?
 
Old 02-17-2007, 11:35 AM   #2
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
dd_rescue skips badblocks, AfaIk, the disk is borked..... try testdisk + photorec on the drive if nothing else
 
  


Reply

Tags
dd, ddrescue, recovery


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dd_rescue and damaged CDs juicymixx Linux - Newbie 4 02-15-2006 09:14 AM
Reiserfs: bad block in sysem area (usage of dd_rescue) kbcnetau Linux - General 0 12-02-2004 07:03 PM
dd_rhelp / dd_rescue solex Linux - General 1 09-07-2004 08:24 PM
dd_rescue raypen Linux - Software 1 12-16-2003 03:04 AM


All times are GMT -5. The time now is 06:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration