MacOsx no information on HDD (Mac OS Extended)

Using TestDisk to repair the filesystem
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
pavlinbl4
Posts: 2
Joined: 16 Jan 2017, 21:39

MacOsx no information on HDD (Mac OS Extended)

#1 Post by pavlinbl4 »

After reboot? I didn't find my HDD in Finder. Disk Utility see it, but lost all data and the name off HDD. What is the best way to repair information ?
Attachments
Screen Shot 2017-01-17 at 00.01.41.png
Screen Shot 2017-01-17 at 00.01.41.png (53.18 KiB) Viewed 2853 times
Screen Shot 2017-01-17 at 00.05.11.png
Screen Shot 2017-01-17 at 00.05.11.png (54.02 KiB) Viewed 2853 times

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

Re: MacOsx no information on HDD (Mac OS Extended)

#2 Post by cgrenier »

What is the result of

Code: Select all

sudo fsck_hfs /dev/disk5s2

pavlinbl4
Posts: 2
Joined: 16 Jan 2017, 21:39

Re: MacOsx no information on HDD (Mac OS Extended)

#3 Post by pavlinbl4 »

Thank you.

I plugged HDD to my Macbook and now it disk2s2

MacBook-Air:~ evgeniy$ sudo fsck_hfs -f /dev/disk2s2
** /dev/rdisk2s2
Executing fsck_hfs (version hfs-305.10.1).
** Checking Journaled HFS Plus volume.
Invalid B-tree node size
(3, 0)
** The volume could not be verified completely.
MacBook-Air:~ evgeniy$

I used command from your manual. "fsck_hfs -r -d /dev/disk2s2"

MacBook-Air:~ evgeniy$ sudo fsck_hfs -r -d /dev/disk2s2
Password:
journal_replay(/dev/disk2s2) returned 0
** /dev/rdisk2s2
Using cacheBlockSize=32K cacheTotalBlock=16384 cacheSize=524288K.
Executing fsck_hfs (version hfs-305.10.1).
Block 3906357342 is not an MDB or Volume Header
** Checking Journaled HFS Plus volume.
Invalid B-tree node size
(3, 0)
** The volume could not be verified completely.
volume check failed with error 7
volume type is pure HFS+
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 2 0x02
alternate VHB is at block 3906357342 0xe8d6485e
sector size = 512 0x200
VolumeObject flags = 0x03
total sectors for volume = 3906357344 0xe8d64860
total sectors for embedded volume = 0 0x00
CheckHFS returned -1317, fsmodified = 0
MacBook-Air:~ evgeniy$

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

Re: MacOsx no information on HDD (Mac OS Extended)

#4 Post by cgrenier »

If it doesn't improve after another fsck, you will have to use PhotoRec to recover your data, but it will not recover the original filenames.

Locked