Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-13-2008, 09:58 AM   #1
Senior Member
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,078

Rep: Reputation: 49
recover directories & files from ext. HDD using testdisk or photorec

My 320gb external HDD stopped working properly. I can mount it but there is only an empty "lost & found" directory on it. I am 99.9999999999999% sure that I did not format the drive when doing a reinstall of Kubuntu on my system's internal HDD.

Testdisk shows :

Disk /dev/sdb - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
* Linux 0 1 1 38912 254 63 625137282

This partition mounts but it only contains a "lost & found" directory, which is empty. I have done a deep search with testdisk and can't find anything else.

Photorec instantly lists all of my missing directories and I am sure that I could recover everything but this will take a long time (over a 100 hours) .... I am not unhappy about the time but it seems silly to do this if I can recover everything on the disk and keep it as is. I would then transfer what I need from the ext. HDD.

Where do I go from here?


Old 11-13-2008, 10:48 AM   #2
Registered: Oct 2007
Posts: 31

Rep: Reputation: 16

Firstly, I would image it to another device using dd.

You can then attempt data recovery from that image and avoid further damage to the HDD.

I have no experience with ext3 undeletion tools, but they do seem to exist!

Looks like you might have some luck with that one, otherwise its back to file-system independent recovery tools such as Magic Rescue

HTH, Good luck!



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
TestDisk & PhotoRec 6.9 released Christophe GRENIER Linux - News 2 02-25-2008 12:39 PM
TestDisk & PhotoRec 6.7 disponible Christophe GRENIER Linux - News 0 06-27-2007 12:26 AM
TestDisk & PhotoRec 6.7 available Christophe GRENIER Linux - News 0 06-26-2007 04:33 PM
help i am having strange problems from photorec. should i be using testdisk? fakie_flip Linux - Software 3 08-11-2006 06:35 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration