This is very frustrating. I haven't been able to find anyone else with a similar problem.
First of all, my prebuilt windows PC stopped working, I can no longer turn it on, and I'm getting it sent in for repair. But first I wanted to remove the hard drive and connect it to another PC so I could recover some data on it.
So I connected this hard drive to another PC with Ubuntu, and it didn't auto-mount. So next I tried looking at the partitions with fdisk -l:
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 244190646 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 1 4294967295 4294967295 16T ee GPT
Okay, no problem there. Next I tried to mount the partition manually:
$ sudo mount -t ntfs /dev/sdb1 /windows
ntfs-3g: Failed to access volume '/dev/sdb1': No such file or directory
That didn't work. I then tried looking at it in gparted, and it shows the entire sdb disk as unallocated space. I don't understand. /dev/sdb1 clearly exists because it shows up in fdisk, and there were no problems accessing this partition on my windows PC. Now that since I've connected it to another PC, it seems to have lost its partition table? But not quite, because it does show that /dev/sdb1 partition with fdisk. I'm not sure what's going on.
I also tried looking at it with gdisk:
$ sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 1.0.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries.
Command (? for help): i
No partitions
So gdisk and gparted both think this disk has no partitions, but fdisk clearly shows a partition. Can anyone tell me what the issue is here?