NTFS formatted to EXT4, can't recover

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Posts: 1
Joined: 10 Apr 2014, 17:13

NTFS formatted to EXT4, can't recover

#1 Post by canterw00t »

Dear forum users,

A few hours ago I convinced a friend of mine to try Ubuntu Linux. It seems I've put him off a bit doing the following:

Before we did anything to the harddrive it had 3 partitions. An NTFS partition called recovery, one used by Windows as C:\ and one called D:\.

The Ubuntu installer formatted the D:\ partition to EXT4, which wasn't the intention since that partition contains some valuable data. As soon as I realised my mistake I quit the installer and shut down the machine. Rebooted to the live environment on the USB stick and installed and started TestDisk. I can only seem to find the lost NTFS partition on /dev/sda when I choose None as partition table type. It finds the start of the deleted NTFS partition at CHS 15911 (this could be correct, as the new EXT4 partition also starts at this CHS) and ends at CHS 30516. This is a problem, since the disk is listed as having 30401 CHS. (As you've probably guessed by now, I don't actually know what CHS means. I've just figured out that Testdisk seems to think the NTFS partition ends at a later CHS than the drive actually contains). I cannot recover this partition.

I'll be happy to post any logs. Any help would be much appreciated.

EDIT: We have found the important lost data and recovered it using other software. We no longer need to recover the partition. Thanks anyway!