LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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: 27,279
Blog Entries: 54

Rep: Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852Reputation: 2852
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


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 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


All times are GMT -5. The time now is 03:04 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