I'm new to ubuntu but it didn't took me long to realize that it's way better than privative options. I've got it installed on a desktop PC and I also wanted to install it in a laptop which is not mine and the owner desired to keep pre-installed win 8 along with ubuntu. Keeping that in mind I tried to create a recovery image of windows into an USB drive but, don't ask me why, it wasn't possible even though it had enough free space.
Then I made a serious mistake. I took my internal HDD which contained a lot of important data and tried to create the image there using a usb-sata interface. It was partitioned like this: 800 gb ext4 with data, then 200 gb NTFS containing nothing. I wrongly assumed that windows would use the NTFS partition and leave the ext4 alone but it didn't, it formatted 32gb into FAT32 for the damned recovery image leaving the rest of the disk space unassigned.
I've made a real mess, guess I got used to all the warnings that linux gives us before taking bad decisions and crappy windows took me by surprise.
I've analysed the HDD using Testdisk. The first attempt led me nowhere since it couldn't find the ext4 partition (even through deep search). Then I took another shot this time selecting "unpartitioned media" instead of "Intel" as partition table type. Here are the results:
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Partition ---------------- Start ---------------- End ------------------- Size in sectors
P ext4 ------------------- 0 32 31 -------- 95493 4 61 -------- 1534093312 [Ext4]
P FAT32 ---------------- 0 32 33 ------- 4177 117 36 ------- 67108864 [NO NAME]
P NTFS --------------- 5453 43 31 ---- 5453 141 30 --------------- 6174 [Boot]
P FAT12 ------------ 5453 143 19 --- 5454 217 30 --------------- 20739 [NO NAME]
P NTFS ---------------- 95493 5 1 ---- 121601 57 56 ------- 419428352 [Ntfs]
Structure: Ok.
Keys T: change type, P: list files, Enter: to continue EXT4 Large file Sparse superblock Backup superblock, 785 GB / 731 GiB
The good: the partition was found, and it is correctly labeled. The bad: when I access and try to list the files it says "Can't open filesystem. Filesystem seems damaged". I'm stucked at this point.
Thanks in advance!