I need to recover the NTFS partition that was removed by Ubuntu 13.10 installation after choosing "replace Ubuntu 12.04 with 13.10"
But I am getting this message
Disk /dev/sda - 640 GB / 596 GiB - CHS 77825 255 63
The harddisk (640 GB / 596 GiB) seems too small! (< 3600 GB / 3353 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...
The following partitions can't be recovered:
Partition Start End Size in sectors
Linux 38408 16 9 115518 41 43 1238773760
Linux 38409 183 47 115519 209 18 1238773760
> Linux 38410 123 50 115520 149 21 1238773760
Linux 38411 226 24 115521 251 58 1238773760
HPFS - NTFS 77824 254 63 141865 254 62 1028818665
FAT16 <32M 236896 174 39 437737 24 62 3226501239
There are many other places with people asking this but they all are specific cases.
This error message is to be expected on a deeper search of a drive that had been re-partitioned several times in the past. Of course your drive will not be able to hold all these old partitions, because they would add up to much more space than available.
The next step to do is to select the NTFS partition to then
[Continue]
.The screenshot below shows the next window for an ancient Linux partition I selected (due to lack of NTFS here):
Check file integrity
Before we continue with the recovery we should check first if our files are still present by pressing P. This will list all detected files on this partition. Damaged files can not be recovered and will be colored red (here e.g. a
vmlinuz.4578
file):File recovery (recommended)
We can now select all files A or single files : to then copy C them to our mounted backup drive.
Partition recovery
Only if we are lucky the partition may be recoverable as a whole. Then we can change the partition characteristics in the screen above with left or right arrow keys to primary bootable, primary, logical, or extended.
On writing these changes to the drive (or much better an image of the drive!) the partition may then be recovered. If that is not possible you will get a warning
Structure: Bad.
on selecting.If all fails...
The old partition tables may be so much damaged that a partition recovery is no longer possible. Then we may try to recover single data files using PhotoRec which should also be installed with TestDisk .
Recommended further reading
The makers of TestDisk and PhotoRec provide a very concise step by step guide on data recovery which is really recommended reading before we start.