anyway to re-login to Testdisk?

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
kosness
Posts: 2
Joined: 16 Jun 2016, 08:16

anyway to re-login to Testdisk?

#1 Post 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.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: anyway to re-login to Testdisk?

#2 Post by cgrenier »

Unless TestDisk has been left, it should continue to search partitions when your computer returns from sleep.

kosness
Posts: 2
Joined: 16 Jun 2016, 08:16

Re: anyway to re-login to Testdisk?

#3 Post 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 1618 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 1618 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 1618 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.
Attachments
Screen Shot 2016-06-18 at 5.05.44 PM.png
Screen Shot 2016-06-18 at 5.05.44 PM.png (66.88 KiB) Viewed 1618 times
Screen Shot 2016-06-18 at 5.07.21 PM.png
Screen Shot 2016-06-18 at 5.07.21 PM.png (75.32 KiB) Viewed 1618 times

Locked