Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently lost all my Windows data. I tried running Photorec and I was able to recover some 18 GB of data back. Photorec threw an error after recovering 18 GB stating "Segmentation Fault". Was it because my windows drive was hardly ever defragged? If so, what routines/precautions I can take to make sure if something like this happens again on Windows or Linux side, Photorec wont throw the "Segmentation Fault" error.(Of course one precaution being backing up data regularly :-) )

share|improve this question

2 Answers 2

up vote 2 down vote accepted

A Segmentation Fault is usually a programming error. There's nothing you can do about but always upgrade to the newest version and sending a bug report to the developer.

share|improve this answer

The segmentation fault is unrelated to the problem with the hard drive. It indicates something went wrong with the software you were using at the time, possibly photorec itself.

Options:

  • Use a newer version of photorec as it may have fixed that problem
  • Use testdisk, which is a tool from the same author as photorec and can do similar things, though it may be slightly harder to use.
  • Try photorec again; it may not happen the next time.
share|improve this answer

protected by fossfreedom Nov 6 at 10:26

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.