I ran chkdsk /f on a Windows drive that wasn't booting. (I think checkdisk killed the partition table, but I'm not sure.) I wasn't aware there was a problem initially, but then I realized that the disk was saying it was RAW instead of NTFS.
When I ran testdisk to try to recover the partition, the most bizarre thing happened.
The name of the partition showing up is the name of a different partition on a different disk of a completely different size. For clarity, we'll call my troubled disk C and this other disk D. I did not clone or attempt to clone anything from drive D to drive C or any other drive. It was just hooked up to the system. I may have tried to write a log file to it at some point, but otherwise it was not involved in recovery efforts. The geometry of the disk seems to be correct. When I try listing the files on drive C, it lists the files (deleted and current) that are on D. D is no longer hooked up. I would really like to restore the partitions that actually WERE on disk C, but nothing seems to work. Drive C had two partitions, and it is the second one with the Windows installation I'd like to restore, but there's no sign that either partition ever existed. I'm trying to see what a different file recovery program will tell me, and it's giving me lists of 'recoverable' files from drive D instead of whatever is actually there.
Here's the most recent log:
I decided to clear the partition table in case that would solve the identity crisis but it did not, and now I'm worried that was a dumb thing to do.Partition table type (auto): Intel
Disk /dev/sdc - 250 GB / 232 GiB - Hitachi HDP725025GLA380
Partition table type: Intel
Analyse Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
check_part_i386 failed for partition type 07
Current partition structure:
1 * HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
Invalid NTFS or exFAT boot
2 P HPFS - NTFS 60810 190 53 121600 247 55 976594944
2 P HPFS - NTFS 60810 190 53 121600 247 55 976594944
search_part()
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
NTFS at 0/32/33
filesystem size 976922616
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 122094975
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
This partition ends after the disk limits. (start=2048, size=976922616, end=976924663, disk end=488397168)
file_pread(6,2,buffer,488398847(30401/107/42)) lseek err Invalid argument
file_pread(6,1,buffer,488398847(30401/107/42)) lseek err Invalid argument
file_pread(6,2,buffer,488398848(30401/107/43)) lseek err Invalid argument
file_pread(6,14,buffer,488398850(30401/107/45)) lseek err Invalid argument
file_pread(6,3,buffer,488398864(30401/107/59)) lseek err Invalid argument
file_pread(6,3,buffer,488398911(30401/108/43)) lseek err Invalid argument
file_pread(6,8,buffer,488398927(30401/108/59)) lseek err Invalid argument
file_pread(6,11,buffer,488398974(30401/109/43)) lseek err Invalid argument
file_pread(6,2,buffer,488400896(30401/140/12)) lseek err Invalid argument
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumper settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 500 GB / 465 GiB)
The following partition can't be recovered:
HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
Results
Change partition type:
No partition 0 0 1 30400 254 63 488392065
interface_write()
No partition found or selected for recovery
search_part()
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
NTFS at 0/32/33
filesystem size 976922616
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 122094975
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
This partition ends after the disk limits. (start=2048, size=976922616, end=976924663, disk end=488397168)
file_pread(6,2,buffer,488398847(30401/107/42)) lseek err Invalid argument
file_pread(6,1,buffer,488398847(30401/107/42)) lseek err Invalid argument
file_pread(6,2,buffer,488398848(30401/107/43)) lseek err Invalid argument
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumper settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 500 GB / 465 GiB)
The following partition can't be recovered:
HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
Results
interface_write()
No partition found or selected for recovery
interface_write()
No partition found or selected for recovery
Failed to read $MFTMirr: Input/output error.
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
Interface Advanced
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
file_pread(6,1,buffer,976924672(60810/190/53)) lseek err Invalid argument
check_part_i386 failed for partition type 07
1 * HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
2 P HPFS - NTFS 60810 190 53 121600 247 55 976594944
file_pread(6,8,buffer,976761848(60800/156/21)) lseek err Invalid argument
file_pread(6,1,buffer,976761848(60800/156/21)) lseek err Invalid argument
NTFS filesystem needs to be repaired.
dir_partition inode=5
1 * HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
Directory /
5 dr-xr-xr-x 0 0 0 17-Apr-2020 09:37 .
5 dr-xr-xr-x 0 0 0 17-Apr-2020 09:37 ..
35 dr-xr-xr-x 0 0 0 21-Nov-2015 22:15 $RECYCLE.BIN
40 dr-xr-xr-x 0 0 0 21-Nov-2015 22:16 Audio Projects
14667 dr-xr-xr-x 0 0 0 5-Mar-2013 22:24 ConvertX To DVD + Keygen
14687 dr-xr-xr-x 0 0 0 2-Apr-2013 19:08 Debugging Tools for Windows (x86)
74176 dr-xr-xr-x 0 0 0 18-Oct-2013 00:15 Legacy Fonts
65764 dr-xr-xr-x 0 0 0 2-Apr-2013 19:10 Microsoft Visual Studio 10.0
65687 dr-xr-xr-x 0 0 0 2-Apr-2013 19:10 Microsoft Windows Performance Toolkit
71 dr-xr-xr-x 0 0 0 25-Nov-2019 14:55 My Backups
79 dr-xr-xr-x 0 0 0 16-Dec-2017 09:43 Program Backup
38 dr-xr-xr-x 0 0 0 17-Apr-2020 05:49 System Volume Information
43 dr-xr-xr-x 0 0 0 1-Aug-2018 18:02 Video Projects
3439 dr-xr-xr-x 0 0 0 28-Oct-2019 19:12 msdownld.tmp
68435 dr-xr-xr-x 0 0 0 2-Apr-2013 19:11 oZone3D
3393 -r--r--r-- 0 0 10270843 10-Feb-2012 21:24 Win 98.rar
41 -r--r--r-- 0 0 10493100032 16-Apr-2020 22:06 pagefile.sys
ntfs_boot_sector
1 * HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
NTFS at 0/32/33
file_pread(6,1,buffer,976924663(60810/190/44)) lseek err Invalid argument
filesystem size 976922616 1
sectors_per_cluster 8 0
mft_lcn 786432 0
mftmirr_lcn 122094975 0
clusters_per_mft_record -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK
Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad
Sectors are not identical.
A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
Partition table has been cleared.
You have to reboot for the change to take effect.
Analyse Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
Current partition structure:
No partition is bootable
search_part()
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
NTFS at 0/32/33
filesystem size 976922616
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 122094975
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
This partition ends after the disk limits. (start=2048, size=976922616, end=976924663, disk end=488397168)
file_pread(6,2,buffer,488398847(30401/107/42)) lseek err Invalid argument
file_pread(6,1,buffer,488398847(30401/107/42)) lseek err Invalid argument
file_pread(6,2,buffer,488398848(30401/107/43)) lseek err Invalid argument
file_pread(6,14,buffer,488398850(30401/107/45)) lseek err Invalid argument
file_pread(6,3,buffer,488398864(30401/107/59)) lseek err Invalid argument
file_pread(6,3,buffer,488398911(30401/108/43)) lseek err Invalid argument
file_pread(6,8,buffer,488398927(30401/108/59)) lseek err Invalid argument
file_pread(6,11,buffer,488398974(30401/109/43)) lseek err Invalid argument
file_pread(6,2,buffer,488400896(30401/140/12)) lseek err Invalid argument
Disk /dev/sdc - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumper settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 500 GB / 465 GiB)
The following partition can't be recovered:
HPFS - NTFS 0 32 33 60810 190 44 976922616 [Samsung Spinpoint]
NTFS, blocksize=4096, 500 GB / 465 GiB
Results
interface_write()
No partition found or selected for recovery
I should probably clarify that this is not a critical data recovery because I have another copy of the data; I just would really like to solve this mystery.