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

When I run this command on foremost,

sudo foremost -i /dev/hda -o /recovery/foremost

I get,

Processing: stdin

This right or did I miss a step when I followed this guide.

share|improve this question
Or I can't use foremost without a LiveCD? – Svetlana Belkin May 6 '12 at 16:42
up vote 2 down vote accepted

I think you could add the option "-d" (which means "indirect block detection", that works fine with unix) and specify the kind of files you want to recover (like zip or jpg or ole). The result:

sudo foremost -d -o /recovery/foremost -t jpg,ole,zip -i /dev/hda
share|improve this answer
That means that you can't recover the folders that the files where in? – Svetlana Belkin May 6 '12 at 15:49
Yes, the organization of the folders like we see is different from how they are write on disk. – desgua May 6 '12 at 15:51
Gochta, thanks. – Svetlana Belkin May 6 '12 at 15:51

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.