This morning, as usual, I mounted a 622 GB Windows (NTFS) partition on Linux for use.

When I went on to unmount it through the graphical disks tool on GNOME, I accidentally formatted it, and now it’s an unallocated space on my hard drive.

I had loads of important data in there.

Is there any way to recover it?

  • You should provide more details, such as mounting point of this partition, its type (NTFS, I guess?), etc. so we would be able to provide more specific answers. – Paradox May 5 at 5:03

You can use photorec/testdisk for this kind of tasks depending on how you degraded your partition.

photorec is for data recovery while testdisk can be used to recover partitions.

See here and here.

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.