Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants of Kromster , fori1ton , aleksandr barakin , Cerbo , GrayHoax 12 Oct '15 at 9:12 .
The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .
1 answer
Alternatively, use the utility "foremost":
sudo apt-get install foremost
Reviews about this program are excellent and adding a format for me seemed easier.
Editing the file:
/etc/foremost.conf
we copy from it:
# txt y 100000 -----BEGIN\040PGP
We enter below and change to:
# ini y 100000 -----BEGIN\040PGP
Then remove the front
Run:
foremost /dev/sda2
The result of the recovered files get here:
/home/ВАШ_ЛОГИН/output/
(output directory is formed in the directory from which the program is launched)
You can specify the necessary for you to find extensions and paths to save, for example
foremost -t doc -o /home/ВАШ_ЛОГИН/recovered/ /dev/sda2