LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2008, 04:53 AM   #1
trevorhughdavis
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
dd_rescue nightmare --- help please


Okay, I was using dd_rescue to recover a partition from damaged disc ('/dev/sda2'). It was approximately 50 GB

I setup dd_rescue to write to /dev/sdb1

dd_rescue /dev/sda2 /dev/sdb1

Problem was, /dev/sdb1 had all sorts of important stuff on it. (it's a FAT partition)



I intended to write to /dev/sdb2!

dd_rescue /dev/sda2 /dev/sdb1

I let the damn thing run for almost half an hour before I discovered it.

I need to recover as much as possible - the filenames if at all possible.....

argh
 
Old 09-06-2008, 05:25 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You've been overwriting the data, so much ill be permanently lost.
First you make an image of the affected partition - then you can attempt to use a fat32 recovery program.
 
Old 09-06-2008, 05:45 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
A slightly longer response: overwriting data on the /dev/sdb1 partition erased part of the filesystem structure (Wikipedia: File Allocation Table) so unless you can find a backup FAT you won't be able to recover filenames because of missing Directory Tables. All that's left is to (make a backup if unsure and) use Photorec to carve files out for you. Make sure you write out recovered files to a mounted filesystem that is safe to write to.
 
  


Reply

Tags
ddrescue, recover



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
flexible dd_rescue to backup frenchn00b Linux - General 3 11-05-2007 03:36 PM
dd vs dd_rescue pljvaldez Linux - General 1 02-17-2007 11:35 AM
dd_rescue and damaged CDs juicymixx Linux - Newbie 4 02-15-2006 09:14 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration