Answer the question
In order to leave comments, you need to log in
How to recover a deleted file in ubuntu?
A very important file that I have been working on for a long time has disappeared without a trace in my working folder. I want to try to fix it. The file was located in the /home/stas/ folder and was called script.sh
I read on the Internet how this is done.
Installed scalpel. However, it turned out that it restores a very limited list of file types. Mostly media. My type was not there.
Next, I installed photorec. There are many types of files, but mine was not there either.
Next, I installed gparted and its gpart extension. As far as I understand, he cannot restore data from the disk where the OS is installed, and he restores everything in a row indiscriminately.
Friends. I need to restore just one small file. I know where it was and what it was called. It seemed to me that this should have been a very simple task. But now I'm afraid that I will erase this file with my experiments before I restore it. Please help me find the simplest solution.
Thank you!
Answer the question
In order to leave comments, you need to log in
Installed scalpelBy doing this, you most likely have already killed the possibility of recovery. The first thing to do after deletion was to remount the partition to read-only. Do not install anything under any circumstances, disable all programs that use the disk, etc. Now the file, with a 95% probability, has been overwritten several times.
1) DO NOT INSTALL ANYTHING on the disk where the file disappeared (otherwise the file may simply be overwritten), do everything from Live USB
2) If the file system is fat *, ext *, NTFS - data can be restored via testdisk
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question