Page 2 of 3
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 01:37
by Lito
You might like to check HomeBrew:
http://brew.sh/
Best of luck
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 04:56
by DStall
No thanks. I don't drink Pferdepisse Bier.
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 05:28
by Lito
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 14:49
by DStall
No thank you. You aren't helpful.
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 17:43
by Fiona
Did you run testdisk as superuser or administrator?
Some information about Mac here;
http://www.cgsecurity.org/wiki/OS_Notes ... 28Intel.29
Please don't use pdisk or anything else, because its only intended for PowerPC and not Intel-Mac.
Fiona
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 18:12
by DStall
Fiona, I ran TestDisk as Administrator and followed Step By Step instructions here -
http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
I found my external drive in the log file and selected "Proceed".
TestDisk highlighted [None] Non-partitioned media, so I selected [Mac] Apple Partition Map, then ran Analyse.
I selected the partition, then pressed p as instructed to list files.
That's when TestDisk returned - "Support for this filesystem hasn't been enable during compilation"
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 20:58
by Fiona
Do you have an Intel-Mac?
Can you try it using EFI-GPT?
Partition map is only required if you have an old PowerMac.
Fiona
Re: HFS Filesystem repair
Posted: 09 Dec 2013, 21:13
by DStall
Yes, I have an Intel MacBook Pro 8,2, early 2011.
I don't know what EFI-GPT is.
What I'm trying to determine is if TestDisk can recover a drive directory after it is damaged.
I'm looking for a way to recover a corrupted directory, as this seems to happen occasionally because I move an external drive between 2 locations. If I happen to forget to unmount the drive, or to turn it off before unplugging, then I end up with a corrupted directory. I use the drive for temporary files, so I usually have a backup, but occasionally I store some files on it that aren't backed up. The files I recently lost weren't important, so I've reformatted the drive in order to continue using it.
TechTool Pro 6 backs up the drive directory, but if it is damaged severely, then TTP 6 doesn't recognize the drive so the backup is useless.
Similarly, Disk Warrior can sometimes rebuild a directory even when TTP 6 doesn't recognize the drive, but not if the directory is too severely damaged.
Disc Rescue can recover files, but not file names, and I don't think it recovers .iso files which are mostly what I store on the external drive.
Re: HFS Filesystem repair
Posted: 10 Dec 2013, 00:39
by DStall
I ran TestDisk again after reformatting (repartitioning) drive.
This time, TestDisk recognizes the drive as EFI and gives me instruction that drive must not be mounted.
I unmounted drive with Disk Utility. It showed an EFI System and a Mac HFS partition. I ran Analyse on EFI, then entered p to list files for EFI system, and get "No file found, filesystem may be damaged."
I did same for Mac HFS and again get "Support for this filesystem hasn't been enable during compilation."
Then I did same for >Disk /dev/disk1 - instead of Disk /dev/rdisk1 - (the other partition listing for the external hard drive) and I get same results for EFI - No file found, filesystem may be damaged.
When I run for Mac HFS - TestDisk runs a Deeper Search, but that's taking a long time
Disk /dev/disk1 - 320 GB / 298 GiB - 625142448 sectors
Analyse cylinder 43089920/625142447: 06%
Re: HFS Filesystem repair
Posted: 28 Dec 2013, 04:11
by regnaDkciN
Here's what I have so far…
I would love to get this partition to mount on Mac osx 10.8.5
Since it says "Structure: OK" and "P Mac HFS" is green, does this suggest it's repairable?
- TestDisk 7.0-WIP, Data Recovery Utility, October 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/rdisk1 - 3000 GB / 2794 GiB - 1565565872 sectors
Partition Start End Size in sectors
P EFI System 40 409639 409600 [EFI]
>P Mac HFS 409640 1171861383 1171451744
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
P=Primary D=Deleted
Keys A: add partition, L: load backup, T: change type,
Enter: to continue
HFS+ blocksize=4096, 599 GB / 558 GiB