I am on Archlinux and the disk to be recovered is attached to an external USB adapter.
I have no way to create a local disk image as I don't have enough room.
I can actually and successfully access one of the partitions, but I am interested into another one.
testdisk is hanging after I select "Analyse" and then "Quick search": no debug output is written to the log file.
The process is reported in "D+" status, which means "uninterruptible sleep (usually IO) in foreground".
iotop shows there is no relevant I/O happening.
Any hint?
This is all I can get in the log file:
Code: Select all
Using locale 'LC_CTYPE=it_IT.UTF-8;LC_NUMERIC=it_IT.UTF-8;LC_TIME=it_IT.UTF-8;LC_COLLATE=C;LC_MONETARY=it_IT.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=it_IT.UTF-8;LC_NAME=it_IT.UTF-8;LC_ADDRESS=it_IT.UTF-8;LC_TELEPHONE=it_IT.UTF-8;LC_MEAS>
Sat Apr 23 11:09:22 2022
Command line: TestDisk /log /debug /dev/sdc
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Linux, kernel 5.17.4-zen1-1-zen (#1 ZEN SMP PREEMPT Wed, 20 Apr 2022 18:29:30 +0000) x86_64
Compiler: GCC 11.2
ext2fs lib: 1.46.5, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none, curses lib: ncurses 6.3
User is not root!
Hard disk list
Disk /dev/sdc - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - TOSHIBA MQ01ABF050
Partition table type (auto): EFI GPT
Disk /dev/sdc - 500 GB / 465 GiB - TOSHIBA MQ01ABF050
Partition table type: EFI GPT
New options :
Dump : No
Align partition: Yes
Expert mode : Yes
Analyse Disk /dev/sdc - 500 GB / 465 GiB - CHS 60801 255 63
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=976773167 (expected 976773167)
hdr_lba_start=34
hdr_lba_end=976773134
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
check_part_gpt failed for partition
2 P MS Reserved 534528 567295 32768 [Microsoft reserved partition]
check_part_gpt failed for partition
5 P MS Data 390711296 976773119 586061824 [Basic data partition]
Current partition structure:
1 P EFI System 2048 534527 532480 [EFI system partition]
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
2 P MS Reserved 534528 567295 32768 [Microsoft reserved partition]
2 P MS Reserved 534528 567295 32768 [Microsoft reserved partition]
3 P MS Data 567296 389689343 389122048 [Basic data partition] [OS]
4 P Windows Recovery Env 389689344 390711295 1021952 [Basic data partition]
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
5 P MS Data 390711296 976773119 586061824 [Basic data partition]
5 P MS Data 390711296 976773119 586061824 [Basic data partition]