Imac keeps logging out at end of Testdisk run

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
funkster
Posts: 1
Joined: 20 Jun 2012, 00:53

Imac keeps logging out at end of Testdisk run

#1 Post by funkster »

I have tried running Testdisk 3 times now to analyse and repair an external 1TB disk which became unreadable when re-partionning of it failed previously.

On each occasion, the imac (OSX 10.7.4) on which I have been running Testdisk has logged itself out. When I log back in again, the Testdisk process in Terminal has closed, meaning I have to start over again, although I can see the TestDisk log.

This is extremely frustrating, as each TestDisk run lasts about 16 hours. I thought it was just some freak occurrence and a coincidence to begin with, but it has happened three times in a row now. The first two times, I had left Testdisk to run overnight, and I found the next morning that log-out had occurred. However, the last time it occurred just a few minutes or possibly even immediately after TestDisk finished. I had hoped to be at the computer to catch the end of the Testdisk process, but because TestDisk takes so long, it is nearly impossible to sit at the computer all the time. On this last occasion, I missed the end of the process by only a few minutes at most, but the imac had already logged itself out by the time I returned.

While running Testdisk, I have set imac never to go to sleep, in case that was related to problem. The imac has never logged itself out in such a way in any other circumstance. I can't see any message in computer which seems to explain the problem.

I am going to try it again on another mac, but does anyone have an idea of what could be happening? Here is latest TestDisk log I received:

Tue Jun 19 09:16:55 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, April 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 11.4.0 (Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.2
Compiler: GCC 4.0
Compilation date: 2012-04-15T18:59:51
ext2fs lib: 1.41.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
User is not root!
Hard disk list
Disk /dev/disk1 - 1000 GB / 931 GiB - CHS 1953525168 1 1, sector size=512
Disk /dev/rdisk1 - 1000 GB / 931 GiB - CHS 1953525168 1 1, sector size=512

Partition table type (auto): Mac
Disk /dev/disk1 - 1000 GB / 931 GiB
Partition table type: Mac

Analyse Disk /dev/disk1 - 1000 GB / 931 GiB - CHS 1953525168 1 1
check_part_mac failed for partition type AF
check_part_mac failed for partition type AF
Current partition structure:
1 P partition_map 1 63 63
2 P Free 64 262207 262144
3 P HFS 262208 1664086247 1663824040
3 P HFS 262208 1664086247 1663824040
4 P Free 1664086248 1664348391 262144
5 P HFS 1664348392 1953525151 289176760
5 P HFS 1664348392 1953525151 289176760
6 P Free 1953525152 1953525167 16

search_part()
Disk /dev/disk1 - 1000 GB / 931 GiB - CHS 1953525168 1 1

HFS+ magic value at 4059104/0/1
part_size 61440
HFS 4059104 4120543 61440
HFS+, 31 MB / 30 MiB

HFS magic value at 6962496/0/1
part_size 5286
HFS 6962496 6967781 5286 [HyperCard Player]
HFS, 2706 KB / 2643 KiB

HFS magic value at 71718152/0/1
part_size 969308616
HFS 71718152 1041026767 969308616 [�]
HFS, 496 GB / 462 GiB
SIGHUP detected! TestDisk has been killed.

Locked