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 12-24-2009, 11:54 PM   #1
tigpoppa
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Rep: Reputation: 0
Exclamation Using Fedora to access a Dead Flash Drive


My data is located on a flash drive there are some spreadsheets I need very badly. Today windows 7 went into sleep when it came out and I came back i got the error"Device not Recognized" error as a balloon popup. In device manager it shows up as Unknown Device. I tired it on many computers and the same thing happens, also disc manage does nothing since the drive wont show up.

So I also have a dual boot of the distro red hat and xp on my laptop. I cant access this drive on any computer it wont show up as a drive letter. is there any program or software to force the reading of the dirs through red hat or some alternative distro.

I typed tail -f /var/log/messages

and I get

Dec 24 18:20:20 COMCAST kernel: usb 4-2: new full speed USB device using uhci_hcd and address 10
Dec 24 18:20:20 COMCAST kernel: usb 4-2: device descriptor read/64, error -71
Dec 24 18:20:20 COMCAST kernel: usb 4-2: device descriptor read/64, error -71
Dec 24 18:20:21 COMCAST kernel: usb 4-2: new full speed USB device using uhci_hcd and address 11
Dec 24 18:20:21 COMCAST kernel: usb 4-2: device descriptor read/64, error -71
Dec 24 18:20:21 COMCAST kernel: usb 4-2: device descriptor read/64, error -71
Dec 24 18:20:21 COMCAST kernel: usb 4-2: new full speed USB device using uhci_hcd and address 12
Dec 24 18:20:22 COMCAST kernel: usb 4-2: device not accepting address 12, error -71
Dec 24 18:20:22 COMCAST kernel: usb 4-2: new full speed USB device using uhci_hcd and address 13
Dec 24 18:20:22 COMCAST kernel: usb 4-2: device not accepting address 13, error -71
Dec 24 18:27:03 COMCAST yum-updatesd: error getting update info: Cannot open/read repomd.xml file for repository: fedora
Dec 24 18:27:05 COMCAST smartd[3096]: Device: /dev/sda, 6 Currently unreadable (pending) sectors
Dec 24 18:27:05 COMCAST smartd[3096]: Device: /dev/sda, 6 Offline uncorrectable sectors


so the files are still there its a device descriptor error
what can be done to access the file system to retrieve these files or create a new boot record?




is there any way to repair the boot record?
 
Old 12-25-2009, 07:37 AM   #2
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
If Fedora sees the device you can try using dd to copy the image to your computer.
 
Old 12-25-2009, 08:16 AM   #3
tigpoppa
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
i used this command

# dd if=/dev/sda of=/tmp/r1 bs=512

this is where i hit a stumbling block and I am not sure what to do with the data

using another command
# dd if=/dev/sda of=/tmp/r1 bs=512

i viewed it in hexidecimal but the image read the offset 0x1c2 to be "de" which is not a file format
so i think i made an image of something i dont know what image that is since at at the offset
 
Old 12-25-2009, 08:18 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by affinity View Post
If Fedora sees the device you can try using dd to copy the image to your computer.
If OP cannot get the drive to be recognized on several different computers, then I really doubt that Fedora will see it--at least not automatically.

Quote:
so the files are still there its a device descriptor error
what can be done to access the file system to retrieve these files or create a new boot record?
How are you concluding that the files are still there? Nothing in the log tells me that.

The entries relating to sda are probably not relevant. /dev/sda should be your main hard drive.

Try this for starters: After inserting the drive, open a terminal, enter "su" to become root, and enter "fdisk -l" (ell, not one). Post the results here.
 
Old 12-25-2009, 08:53 AM   #5
tigpoppa
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
lost access to my linux partition somehow.

not sure what happened cant really see what the error is either which doesnt help, having half a screen will do that. its an out of warranty laptop i will purchase another screen and update then with what the error is.

just keeps rebooting for some reason to comcast login

well it wont load the gui for some reason
but it does provide a dos prompt like black screen

in the screen i login then go to SU
enter password

after that i enter the fdisk -l
i get
bash: fdisk command not found

Last edited by tigpoppa; 12-25-2009 at 09:01 AM.
 
Old 12-25-2009, 09:45 AM   #6
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
Quote:
Originally Posted by pixellany View Post
If OP cannot get the drive to be recognized on several different computers, then I really doubt that Fedora will see it--at least not automatically.
That may be true, but I know that when a drive comes up as not recognized by Windows you can still copy the data from it with forensics tools. I was assuming that dd would work like one of the data recovery tools that is able to copy the contents of a drive whether it is able to be opened or not.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this USB flash drive dead? jsteel Linux - Hardware 4 09-27-2009 04:36 AM
Access Flash Drive Ace Blackwell Linux - Newbie 6 02-12-2009 11:03 PM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 09:58 AM
cannot access flash drive RIGBYREDPATH Linux - Hardware 1 09-06-2006 10:36 AM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 02:40 PM


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