Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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? –  belkinsa May 6 '12 at 16:42

1 Answer 1

up vote 1 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? –  belkinsa 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. –  belkinsa 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.