Hi all i am using ubuntu 12.04 LTS. Everything was right yesterday night. When i open my laptop today morning all my desktop files are deleted automatically. I searched in trash and peek into hidden files but no use. So much of important data is there in it. Can anybody help me to get my data back. Please...

  • Sounds like if you were using the Guest account? – xangua May 1 '14 at 2:17
  • No i am the admin – Aparichith May 1 '14 at 2:17

BEFORE DOING ANYTHING : I strongly recommend you to use a live usb to try and recover your data. Do not boot Ubuntu from your hard drive, or you are at risk to permanently overwrite your lost data on your hard drive.

See the tool photorec.

To install it :

$ sudo apt-get install testdisk

This will install testdisk and its subcomponent photorec. testdisk is more powerful but can make you loose data, so use photorec first. photorec only reads data, so it's safe to use (By the way, you can use photorec as a user when you must be root to use testdisk).

$ photorec
$ sudo testdisk # Use that one as a second choice.

It's a console software, I hope you won't be afraid :-D.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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