Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I accidentally converted my 1TB external drive from NTFS to EXT3. I have a ton of data on the drive and I believe the data should still be there. Is there any way to either convert it back to NTFS without loosing the data or recover the data in its current state (EXT3)?

share|improve this question
    
possible duplicate of How to recover data from re-partitioned hard drive –  techie007 Apr 8 '12 at 18:32
    
possible duplicate of How to recover a partition accidently deleted with fdisk (Linux)? –  Moab Apr 8 '12 at 22:30
add comment

2 Answers

up vote 0 down vote accepted

Testdisk will attempt to find and repair your NTFS partition. It's command line based and can be quite daunting to use. Second PC open on the website helps. At some stage this software makes changes to your disk so you may want to try one of the non-destructive file recovery utilities first. I recovered an NTFS partition after an NTFS format using this.

share|improve this answer
    
Thank you for your suggestion. I ended up using PhotoRec (part of Testdisk). It works really well to recover files and retains EXIF data in JPEGs. Unfortunately, I don't know of any solution that would have retained the directory structure. –  swilsonmcss May 22 '12 at 0:13
add comment

I've had luck in the past using magicrescue. It scans your harddrive and recovers all files matching an extension you specify.

This would scan the sda6 hard drive partition for deleted jpeg and png files and output them to the outputfolder:

sudo magicrescue -r jpeg-exif -r jpeg-jfif -r png -d /media/outputfolder /dev/sda6

Be sure you have enough space on the target partition to write the data to. This will try to recover any deleted files that it finds, and you can easily end up with gigabytes of data written to the target. Also, make sure your target folder is on a different partition (or drive) than the drive you are scanning.

If you formatted your entire drive, you will need a second drive to accomplish this, either an external drive or a second internal drive.

magicrescue also recommends that you don't do anything with the drive between now and when you start to run magicrescue. Booting, saving or retrieving files, and other operations can make your files unrecoverable. Running magicrescue sooner than later will help you get the bet results.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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