I resized a VeraCrypt encrypted partition D: so VC doesn't mount any more.
To restore partition size exactly I should know first and last sector number of the partition, then I can restore exact partition size using testdisk.exe. Firts sector number is no problem to find out because it should be last sector number of C: plus 1, and C: is still ok.
But how can I determine the last sector of an encrypted partition???
Some info I got said VC would hold the first <n> bytes containing a header as a backup header in the last used sectos, but this seems to be wrong,because using HxD hex editor I serached for the first 16 bytes behind first sector and didn't find same byte sequence in the rest of the disk.</n>
Has anyone an idea what I can do to find the number of the last sector?
Thanks for each idea which could help me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I resized a VeraCrypt encrypted partition D: so VC doesn't mount any more.
To restore partition size exactly I should know first and last sector number of the partition, then I can restore exact partition size using testdisk.exe. Firts sector number is no problem to find out because it should be last sector number of C: plus 1, and C: is still ok.
But how can I determine the last sector of an encrypted partition???
Some info I got said VC would hold the first <n> bytes containing a header as a backup header in the last used sectos, but this seems to be wrong,because using HxD hex editor I serached for the first 16 bytes behind first sector and didn't find same byte sequence in the rest of the disk.</n>
Has anyone an idea what I can do to find the number of the last sector?
Thanks for each idea which could help me.