LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 11-14-2012, 01:15 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,875

Rep: Reputation: 62
dead flash drive


My USB flash drive has failed, after about two years. Is there any way I can revive it long enough to recover the data?
 
Old 11-14-2012, 01:54 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,604

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
Depends on the failure mode. Usually with flash a block has failed error recovery so can no longer be read. Since the FAT filesystem is not journalled it might be the case that most of your data is there but the drive is not mountable because metadata is corrupted. Try:

Code:
ddrescue /dev/sdd1 /tmp/mylateflash /tmp/rescue.log
but replace sdd1 with your actual device name. See if you can read any raw blocks from the drive. There are tools available (mostly on Windows) for examining and fixing a raw FAT image. You may need to install ddrescue if it isn't installed automatically by your distro.

If you can't read anything I don't know of any tricks to revive a flash drive. I once recovered data from a hard drive that was failing when it warmed up by putting it in the freezer, but I doubt that flash drives have the same failure modes.
 
Old 11-14-2012, 03:11 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,875

Original Poster
Rep: Reputation: 62
Well, this is peculiar. I didn't have ddrescue, so I installed it. But the terminal doesn't recognize the command "ddrescue."
 
Old 11-14-2012, 04:31 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,604

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
hmm. In Fedora its installed in /usr/bin, which is normally on your path.
 
  


Reply


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
Using Fedora to access a Dead Flash Drive tigpoppa Linux - General 5 12-25-2009 08:45 AM
Is this USB flash drive dead? jsteel Linux - Hardware 4 09-27-2009 03:36 AM
USB Flash Drive, write protect, and flash file system questions storkus Linux - Hardware 4 12-01-2008 04:32 AM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 02:16 AM
PQI USB flash card (SM) reader/writer freezes Knoppix linux dead! stukennedyuk Linux - Hardware 4 03-19-2004 07:58 AM


All times are GMT -5. The time now is 07:57 PM.

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