LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2007, 10:46 PM   #1
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Rep: Reputation: 15
Recovering Data


I have an 80GB (MHT2080AH) laptop drive that I use with an BAFO (BF-2043) drive enclosure, that connects to the PC with USB cables. This drive was setup with the EXT2 file system on it so I could read/write to it in Linux and use the EXT2IFs driver so I can read an EXT2 file system from windows. This was working flawlessly. The problem is that I had it connected to a PC that was about to be formatted and have windows put on it, and the person doing this also removed the partition on this drive (done with the windows xp install). Now the drive can't be accessed and the lights on the BF-2043 drive enclosure don't even come on. With the lights not coming on the drive is not detected in windows and any tools I can find won't work. When I connect it to Linux (Slackware 12 with default kernel (2.6.21.5-smp)) and do a tail -f /var/log/messages I get the following (I recreating it for it on another machine):
Kernel: usb 1-7: new high speed USB device using ehci_hcd and address 3
Kernel: usb 1-7: configuration #1 chosen from 1 choice
Kernel: scsi4: SCSI emulation for USB Mass Storage Devices
Kernel: usb 1-7: USB disconnect, address 3
Kernel: scsi: 4:0:0:0: SCSI: Device offlined - not ready after error recovery

I have tried this with another drive and the lights come on and it does show up and I can access it in windows and in Linux I can mount and copy files from it (not to it because it is a NTFS drive). Is there a way I can restore the partition and the information on the drive?
 
Old 10-24-2007, 04:49 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'm a little concerned about the errors you posted, but you can try using the testdisk program to recreate the partition table.
 
Old 10-25-2007, 02:01 PM   #3
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Original Poster
Rep: Reputation: 15
I have tried this in Windows and it didn't work also tried in Linux with same result. I think the problem here is I can't get access to /dev/sda1 (or whatever sda# that Linux wants to assign it) I just get the previously posted errors in the /var/log/messages file and if I run testdisk it is not in the selection of disks if I try and mount it (mount /dev/sda1 /mountpoint) I get "mount: special device /dev/sda1 does not exists" if I can get access to the drive in either Windows or Linux I could run testdisk and get it fixed so I could retrieve the data on it. I know the drive enclosure works because it works with another drive in it.
 
Old 10-25-2007, 02:33 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
One possible cause for that kind of errors is that the USB doesn't supply
enough power ... can you hook the enclosure up to a power-supply?



Cheers,
Tink
 
Old 10-25-2007, 02:43 PM   #5
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

Original Poster
Rep: Reputation: 15
I have 2 enclosures but since this happened only been using the one until I get it fixed (for simplicity and correct diagnoses) the one I am using has a cord to go from the enclosure to the PC and a second one that is that has end like a power cord on the enclosure and the other end goes into usb port on PC (so 2 USB ports). If this is the case then something has caused it not to get enough power because it worked until the partition was deleted with the Windows XP install.
 
  


Reply



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
data recovering ??? Dmitry Bandurin Linux - General 2 07-25-2006 06:03 PM
recovering data pirozzi Linux - General 5 11-30-2004 02:08 AM
Recovering data from damaged CD corn Linux - Hardware 4 09-23-2004 12:32 AM
recovering data... marsques Linux - General 18 09-01-2004 02:36 PM
Recovering data CatSC Linux - Newbie 3 12-31-2003 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 PM.

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