macrogre.blogg.se

Linux testdisk recover files
Linux testdisk recover files






  • Boot into the live ubuntu and open software and updates, and make sure the “Universe” repository is checked.
  • Have another external storage device like HDD or USB stick which can store the data you want to recover.
  • DO NOT USE the HDD once you realize the partitions were removed or corrupted.
  • First go through the following links in detail:  and step by step wiki.
  • Some important things to note while doing the recovery are:

    linux testdisk recover files

    After digging through the step by step wiki as well as going through many other links I recovered many important files from my partitions. The utility is suggested in many threads related to solving the exact same problem I was having. This is when I found out about testdisk, a utility for recovering files and lost partitions from a device. I spent the rest of the day, trying to recover parts of my original data. However, using the “Replace Windows…” option was disastarous and I ended up with one large linux partition of size ~490GB. Also, I wanted to keep all my data in the other partitions. I wanted to just replace Windows and instead have Ubuntu on my C:\ drive. I would highly advise against using this option even though it is the second suggested option (issue with user experience). It is like doing a fresh single boot install of ubuntu on your machine. However, in reality the option is misleading and is actually used to format the whole drive and use all of it for linux. While doing so I choose the “Replace Windows …” option which like title suggests, should have just replaced the windows partition with a ubuntu partition and should have kept everything intact (or so I thought).

    linux testdisk recover files

    I installed ubuntu on my home desktop recently.








    Linux testdisk recover files