Retrieving the Address of the Backup Superblock for HFS

How to use TestDisk to recover lost partition
Post Reply
Message
Author
haniewais
Posts: 1
Joined: 11 Feb 2016, 06:04

Retrieving the Address of the Backup Superblock for HFS

#1 Post by haniewais » 11 Feb 2016, 06:13

Hello all,

I've been dealing with the 1/2 working hard drive, maybe i should say (1/8)


anyway, the super-block for the main partition is bad, its all 0000000's according to the testdisk dump report,

test disk does find the backup superblock, and it allows me to attempt and copy the backup superblock to the corrupted superblock, but then it fails,

i just want to mount the hard drive in linux, but i need to point it to the backup superblock address instead, get a few files off, and be done with it,

how can I get the address of the backup superblock using test disk? i don't want to repair the corrupted superblock!

I have the raw dump from test disk, can i just make a new superblock on a new location?


Hani Ewais

Sponsored links

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

Re: Retrieving the Address of the Backup Superblock for HFS

#2 Post by cgrenier » 11 Feb 2016, 11:30

The HFS+ backup superblock is using the last 1024 bytes of the partition (the last 2 sectors, for a disk using 512 bytes sector).
If you need the partition location/size/... in sectors, run as root "testdisk -lu"

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests