Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yeah I tried to install ubuntu on my computer and instead it wiped my USB drive (which has critical files) and now there's ubuntu 'installed' on my USB drive.

How do I get my files back?!?!

share|improve this question

Data recovery tools e.g. Testdisk Install testdisk can recover data from any medium including an USB stick.

The included tool Photorec will recover remnants of individual files but file names and directories will have to be restored manually.

Answers to this question may help you finding text files from a phrase they may contain:

How to use "grep" command to find text including subdirectories

share|improve this answer
Looks like Photorec is actually working, but I'm getting a whole bunch of text files and gobbledygook out of it heh and I'm not so sure what to do with these text files... it DID recover mp3 files and pngs but they're not the important files. I need a specific text file recovered. – Matthew Jun 18 '12 at 16:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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