An ext4 partition of Hard Disk is formatted to ext2 and then again to ext4 using GParted. Is there a way to recover the original data?

I want to reconver .webm files. I could not do this with testdisk.

  • try to find backup partition tables with wipefs. do man wipefs for info. and stop formatting disks you don't want to format! – mikeserv Jun 27 '14 at 9:10
  • testdisk, or more specifically photorec, is your best bet here. it supports webm files - but it only works well for unfragmented data. – frostschutz Jun 27 '14 at 12:32
  • @frostschutz: Is there a way to search for .webm files with testdisk instaed of all files? – user62511 Jun 27 '14 at 12:41

I accidentally formatted an ext4 partition to NTFS in my Ubuntu 16.04 recently and was able to recover the full partition successfully by running a file system check.

sudo fsck.ext4 -v /dev/sda10

I recorded the steps in this blog post. However note that the scenario is a bit different from the question.

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.