Package: testdisk Version: 7.0-3+b4 Severity: normal
Hello, I wanted to use testdisk on a disk, but it gives me this: ------ cut Analyse Disk /dev/sda - 1801 GB / 1678 GiB - CHS 219051 255 63 hdr_size=92 hdr_lba_self=1 hdr_lba_alt=7814037167 (expected 3519069871) hdr_lba_start=34 hdr_lba_end=7814037134 hdr_lba_table=2 hdr_entries=128 hdr_entsz=128 Partition table type (auto): None ------ cut In contrast, gdisk gives me this: ------ cut Partition table scan: MBR: protective BSD: not present APM: not present GPT: damaged ... Recovery/transformation command (? for help): i Using 1 Partition GUID code: YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY (Linux filesystem) Partition unique GUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX First sector: 2048 (at 1024.0 KiB) Last sector: 7814035455 (at 3.6 TiB) Partition size: 7814033408 sectors (3.6 TiB) Attribute flags: 0000000000000000 Partition name: 'correct-partition-name' ------ cut So, there is a GPT table there, somewhere. It would be nice if testdisk would do a better job with disks having a GPT partition table. Cheers, Toni -- System Information: Debian Release: 10.1 APT prefers stable APT policy: (990, 'stable'), (500, 'proposed-updates'), (90, 'testing'), (70, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages testdisk depends on: ii libc6 2.28-10 ii libcom-err2 1.44.5-1+deb10u1 ii libext2fs2 1.44.5-1+deb10u1 ii libjpeg62-turbo 1:1.5.2-2+b1 ii libncursesw6 6.1+20181013-2+deb10u1 ii libntfs-3g883 1:2017.3.23AR.3-3 ii libtinfo6 6.1+20181013-2+deb10u1 ii libuuid1 2.33.1-0.1 ii ntfs-3g 1:2017.3.23AR.3-3 ii zlib1g 1:1.2.11.dfsg-1 testdisk recommends no packages. testdisk suggests no packages. -- no debconf information