I've recovered deleted partitions on a linux boot disk with LUKS full disk encryption via TestDisk, A boot partition along with 2MB header, for LUKS encrypted partition has been recovered. I need to extend the 2MB Luks header to the end of the 1TB Hard disk. It sounds like this should be easy to do based on other posts, but the numbers and options in TestDisk don't make sense to me. Here are the recovered partitions:
Disk /dev/sde - 1000 GB / 931 GiB - CHS 121601 255 63
Partition Start End Size in sectors
>* Linux 0 32 33 62 53 55 997376
P Linux 62 86 25 62 151 25 4096
When I press 'a' on the Primary partition with 4096 sectors I see this:
Disk /dev/sde - 1000 GB / 931 GiB - CHS 121601 255 63
No partition 62 151 26 121600 254 63 1952514497
I don't know what the above means, but if I 'Change Ending Sector' to the default value of 63, will that extend my LUKS partition to the end of disk? Confirmation that this is the correct process would be greatly appreciated, as I'm very nervous about committing this change.