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 04-18-2010, 10:25 PM   #1
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
File Recovery Question


I have a question, it's not a huge issue atm, but I'm curious.

Let's say I had an external hard drive, and the SATA to USB adapter broke, so I took out the hard drive and made it a 500 GB internal hard drive, and installed a 64 bit Linux OS.

Now let's imagine that the hard drive, while it was an external was using an NTFS file system, and now that it's hosting a Linux OS it's formatted in ext4. Is there any Linux software that I could use to recover remnants of photos that were on the hard drive and didn't get backed up before I formatted it? I'm going to start doing my own google searches, but I thought I'd post this here in case any of you guys have experience/suggestions for situations like this.
 
Old 04-18-2010, 10:48 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The probability of recovery would depend on how much space was used by the photos, and how much space was used when installing the Linux setup.

You just have to try it---the standard tool is photorec: http://www.cgsecurity.org/wiki/PhotoRec

You need to have the drive mounted or connected such that it is not being used for the OS, and is not written to. Then you need enough space on **another** drive to store the recovered files.
 
Old 04-19-2010, 06:12 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You could probably still recover some files, you can try photorec like mentioned or:
http://foremost.sourceforge.net/

And remember to recover the data to a DIFFERENT HDD than the one you are recovering from otherwise you may overwrite files you could have recovered.
 
  


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
File recovery after partition table damage - XFS file system gracecourt Linux - General 4 09-28-2017 05:29 PM
File Recovery ddearie Linux - Laptop and Netbook 1 02-07-2006 07:21 PM
mail recovery question plisken Linux - General 4 11-07-2005 08:12 AM
journal recovery question gmartin Linux - General 3 01-02-2004 07:19 AM
File recovery Stephanie General 2 02-06-2003 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:09 AM.

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