0

I have a win7-installed PC with a lot of HDDs which have lots of partitions. I want to access the data on my linux-installed PC so I used a SATA2USB cable. The issue is I can see only the first partition of them.

Here is some information when I try to access a 3000G GPT-type HDD which has two ntfs partitions but only shows the first one, that may be useful:

fdisk -l

Disk /dev/sda: 746.5 GiB, 801569726464 bytes, 1565565872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5549D4F6-E445-4843-BFD4-1B1A899EC6E1

Device         Start        End    Sectors  Size Type
/dev/sda1         34     262177     262144  128M Microsoft reserved
/dev/sda2     264192  251922431  251658240  120G Microsoft basic data
/dev/sda3  251922432 5860530175 5608607744  2.6T Microsoft basic data

ll /dev/sd*

cat@cat-Inspiron-7380:~$ ll /dev/sd*
brw-rw---- 1 root disk 8, 0 Jun 26 01:02 /dev/sda
brw-rw---- 1 root disk 8, 1 Jun 26 01:02 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jun 26 01:02 /dev/sda2

cat@cat-Inspiron-7380:~$ sudo parted --list

parted /dev/sd

sudo blkid

cat@cat-Inspiron-7380:~$ sudo blkid
/dev/nvme0n1p1: UUID="E1E6-3DCC" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="5040e80c-9cfd-4eef-aa58-14568a4ad937"
/dev/nvme0n1p2: UUID="23aeda93-2188-445c-93f7-4473927bf137" UUID_SUB="0334b2ae-2d19-4a70-862e-137a4fefd734" TYPE="btrfs" PARTUUID="3e1002b2-e013-4b76-ac5f-511db6a3bcc4"
/dev/nvme0n1p4: UUID="92d6da97-4a3f-442d-851e-24dd876bdc7d" TYPE="swap" PARTUUID="b90c749a-67cf-4ba1-9450-72b9d9816cd6"
/dev/nvme0n1p5: UUID="b63f993f-14ec-4971-b1a9-7a743bc570ed" TYPE="ext4" PARTUUID="a1a1b530-b488-4f0c-8f84-8afa1d7c2c60"
/dev/sda2: LABEL="Temp" UUID="C2DC3DCDDC3DBC8B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b05cd971-5d5e-4356-a15e-91c40f3916b6"
/dev/nvme0n1: PTUUID="cd17368b-3f7c-4841-8b59-dfa3f45e27be" PTTYPE="gpt"
/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="9a2352e6-3e82-43a9-8d9f-6b5a0bfbcc0f"

I don't know why fdisk and parted can see the partitions but ls and blkid cannot. It is a 3000G HDD, but fdisk thinks it's 746G and parted thinks it's 802G.

And when using parted or parted /dev/sd, the message Error: Can't have a partition outside the disk! comes out.

The data on the partition only linux can see is accessible.

Pretty sure the other partitions and data are not currupted because I can access them on Win7 with the same cable.

I also tried my another HDD which has 5 partitions but can only access the first partition on Linux.

0