LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File recovery (https://www.linuxquestions.org/questions/linux-newbie-8/file-recovery-4175450133/)

fotularbi 02-14-2013 08:59 AM

File recovery
 
I recently upgraded my ubuntu 11.04 to 12.10. Since then I cannot locate any of my files previously stored on my laptop. can anyone please help out to recover those files?
Thanks.

shivaa 02-14-2013 10:19 AM

Are all file system in original condition and mounted? What does it show,
Code:

~$ df -h

suicidaleggroll 02-14-2013 10:34 AM

How did you perform the upgrade?

goumba 02-14-2013 12:32 PM

Did you run the Ubuntu installer? You did not explicity tell the Ubuntu installer to format the partition, did you? If you did, then I'm afraid it's going to be a long road for you.

First, do NOT use that drive any more.

You can booting a live USB or CD of Ubuntu and the use photorec by installing the testdisk package and running

Code:

photorec <patition>
Have fun. It's going to be hard. In the future, create a separate /home partition instead of installing all to a single partition; it can help you avoid this problem again.

suicidaleggroll 02-14-2013 12:45 PM

Quote:

Originally Posted by goumba (Post 4891690)
Have fun. It's going to be hard. In the future, create a separate /home partition instead of installing all to a single partition; it can help you avoid this problem again.

Or make a backup of your system onto an external drive (something that should be done on a regular basis anyway) before doing the upgrade.


All times are GMT -5. The time now is 06:41 AM.