Page 1 of 1

anyway to re-login to Testdisk?

Posted: 18 Jun 2016, 15:37
by kosness
Hi, I am sure I am not alone in that I have started a search for a patition using Testdisk, only to have the computer go to sleep and logout. I have disabled sleep altogether including the drives and somehow it went to sleep anyway. After logging back into the iMac, (Yosemite 10.10.5), I try to restore the Testdisk session only to have to start all over again. Anyway to pick up where I left off? Thanks.

Re: anyway to re-login to Testdisk?

Posted: 19 Jun 2016, 11:17
by cgrenier
Unless TestDisk has been left, it should continue to search partitions when your computer returns from sleep.

Re: anyway to re-login to Testdisk?

Posted: 22 Jun 2016, 18:28
by kosness
Ok not sure why Testdisk seems to be quitting on its own then. I have run "analyze" trying to repair a Mac HFS partition on a WD 4 TB external drive. I run it for a few days and I have disconnected the keyboard so no family member accidentally logs out of my user. Several times I have discovered what looks like a reboot. Its logged out and the state of the terminal window looks like this:
Screen Shot 2016-06-22 at 4.45.05 PM.png
Screen Shot 2016-06-22 at 4.45.05 PM.png (70.84 KiB) Viewed 1638 times
The initial find looks like this:
Screen Shot 2016-06-22 at 4.45.05 PM.png
Screen Shot 2016-06-22 at 4.45.05 PM.png (70.84 KiB) Viewed 1638 times
Screen Shot 2016-06-22 at 4.45.05 PM.png
Screen Shot 2016-06-22 at 4.45.05 PM.png (70.84 KiB) Viewed 1638 times
Here is the log:
Mon Jun 20 11:33:17 2016
Command line: TestDisk

TestDisk 7.1-WIP, Data Recovery Utility, April 2016
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 14.5.0 (Darwin Kernel Version 14.5.0: Thu Apr 21 20:40:54 PDT 2016; root:xnu-2782.5
Compiler: GCC 4.0
Compilation date: 2016-04-20T15:53:57
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.4
Hard disk list
Disk /dev/disk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO), sector size=512
Disk /dev/disk1 - 4000 GB / 3725 GiB - 976746240 sectors, sector size=4096
Disk /dev/rdisk0 - 1000 GB / 931 GiB - 1953525168 sectors (RO), sector size=512
Disk /dev/rdisk1 - 4000 GB / 3725 GiB - 976746240 sectors, sector size=4096

Partition table type (auto): EFI GPT
Disk /dev/rdisk1 - 4000 GB / 3725 GiB
Partition table type: EFI GPT

Analyse Disk /dev/rdisk1 - 4000 GB / 3725 GiB - 976746240 sectors
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=976746239 (expected 976746239)
hdr_lba_start=6
hdr_lba_end=976746234
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
check_part_gpt failed for partition
2 P Mac HFS 77056 976713466 976636411 [Apple_HFSX_Untitled_2]
Current partition structure:
1 P EFI System 6 76805 76800 [EFI System Partition]
No HFS or HFS+ structure
2 P Mac HFS 77056 976713466 976636411 [Apple_HFSX_Untitled_2]
2 P Mac HFS 77056 976713466 976636411 [Apple_HFSX_Untitled_2]

Any ideas why it will not finish the scan?
Maybe it doesn't need to?
Can I just create the partition from this info?
Thanks.