Windows 11 update destroyed an unrelated drive [closed]

I’ve just upgraded a home-built PC to windows 11. The PC has a couple of extra (old) hard drives in it, and after upgrading one of them “disappeared”. Investigating, it seems that the upgrade did something to the partition table of the drive. The drive in question (and 2Tb magnetic disk) didn’t have windows installed on it, but I think that at some point in the past I may have been booting linux on it, so it might have had an MBR. From what I recall, when I added it to the PC a couple of years ago, I wiped it and created a single partition that used the entire disk.

I immediately reached for testdisk, but got some error messages that I’m not sure how to deal with.

Testdisk immediately recognised that a EFI GPT partition was there, but gave the error Warning: Bad ending head (CHS and LBA don't match) No partition is bootable. A quick scan listed some partitions, with the heading The following partitions can't be recovered. The partitions listed looked like they included some old ones that were wiped a long time ago. The full logs (excluding some unrelated drives) are below.

Note that in the logs below, I aborted the scan, but in a previous run (where I stupidly didn’t think to collect logs), it gave the same results, just with a couple of extra possible partitions listed. The NTFS one below seems like the correct one.

The question (assuming it’s not obvious): How can I recover this drive? Is there some hint in the logs of how I can manually create the partition, or is there something else I need to do first?

TestDisk 7.3-WIP, Data Recovery Utility, September 2025
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 12.4, Cygwin 3003.3
ext2fs lib: 1.45.3, ntfs lib: available, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\.PhysicalDrive0)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\.PhysicalDrive1)=1995262586880
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\.C:)=2047834041344
Hard disk list
Disk \.PhysicalDrive0 - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512 - ST2000DM001-1CH164, S/N:Z340H9LC, FW:CC27
Disk \.PhysicalDrive1 - 1995 GB / 1858 GiB - CHS 242576 255 63, sector size=512 - ST2000DL003-9VT166, S/N:5YD1VW7Y, FW:CC32

Partition table type (auto): Intel
Disk \.PhysicalDrive1 - 1995 GB / 1858 GiB - ST2000DL003-9VT166
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=256 sector=63
check_part_i386 1 type EE: no test
 1 P EFI GPT                  0   0  2 243201  80 63 3907029167

Analyse Disk \.PhysicalDrive1 - 1995 GB / 1858 GiB - CHS 242576 255 63
Geometry from i386 MBR: head=256 sector=63
check_part_i386 1 type EE: no test
Current partition structure:
 1 P EFI GPT                  0   0  2 243201  80 63 3907029167

Warning: Bad ending head (CHS and LBA don't match)
No partition is bootable

search_part()
Disk \.PhysicalDrive1 - 1995 GB / 1858 GiB - CHS 242576 255 63

recover_EXT2: s_block_group_nr=0/14904, s_mnt_count=35/39, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378638
recover_EXT2: part_size 3907029104
Filesystem created: Tue Mar 22 17:13:16 2011
Last mount time:    Sun Nov  3 10:28:51 2013
     Linux                    0   1  1 243201  80 62 3907029104 [SERIES]
     ext4 blocksize=4096 Large_file Sparse_SB, 2000 GB / 1863 GiB
This partition ends after the disk limits. (start=63, size=3907029104, end=3907029166, disk end=3896997240)
NTFS at 0/32/33
filesystem size           3907024896
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0  32 33 243201  45 44 3907024896 [New Volume]
     NTFS, blocksize=4096, 2000 GB / 1863 GiB
This partition ends after the disk limits. (start=2048, size=3907024896, end=3907026943, disk end=3896997240)
Search for partition aborted
Disk \.PhysicalDrive1 - 1995 GB / 1858 GiB - CHS 242576 255 63
Check the hard disk size: HD jumper settings, BIOS detection...
The hard disk (1995 GB / 1858 GiB) seems too small! (< 2000 GB / 1863 GiB)
The following partitions can't be recovered:
     Linux                    0   1  1 243201  80 62 3907029104 [SERIES]
     ext4 blocksize=4096 Large_file Sparse_SB, 2000 GB / 1863 GiB
     HPFS - NTFS              0  32 33 243201  45 44 3907024896 [New Volume]
     NTFS, blocksize=4096, 2000 GB / 1863 GiB