When I checked with
testdisk
It was showing all the partition table
Incrível, você está em uma boa situação.
How to re-create the partition table without loosing the data ?
Continue com o Procedimento passo a passo do Testdisk e escreva a tabela no disco (é o último passo).
Do link acima mencionado:
Save the partition table or search for more partitions?
- When all partitions are available and data correctly listed, you should go to the menu Write to save the partition structure. The menu
Extd Part
gives you the opportunity to decide if the extended partition will use all available disk space or only the required (minimal) space.[...]
- If all partitions are listed and only in this case, confirm at Write with Enter, y and OK.