récupération disque externe mac "bad bckp volume header"

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
dako
Posts: 3
Joined: 05 Nov 2019, 11:37

récupération disque externe mac "bad bckp volume header"

#1 Post by dako »

bonjour et merci pour ce magnifique outil,
je tente de sauver le disque du fils d'un collègue qui est sous mac,
j'ai donc appliqué le chapitre 7.8 de la doc https://www.cgsecurity.org/testdisk.pdf

mais il n'est pas dit que faire si le "Volume header" est "HFS+ OK"
mais le "Backup volume header" est "Bad"

que dois je faire ensuite?

le log:

Using locale 'fr_BE.UTF-8'.


Tue Nov 5 11:22:50 2019
Command line: TestDisk /log /data/testdiskstuff/nouvelcopieddrescue

TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Linux, kernel 4.9.0-11-amd64 (#1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20)) x86_64
Compiler: GCC 4.4
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.7
Hard disk list
Disk /data/testdiskstuff/nouvelcopieddrescue - 1000 GB / 931 GiB - CHS 121598 255 63, sector size=512

Partition table type (auto): EFI GPT
Disk /data/testdiskstuff/nouvelcopieddrescue - 1000 GB / 931 GiB
Partition table type: EFI GPT

Interface Advanced
1 P Mac HFS 470557 1953256908 1952786352
HFSX blocksize=4096, 999 GB / 931 GiB

HFS_HFSP_boot_sector
1 P Mac HFS 470557 1953256908 1952786352
HFSX blocksize=4096, 999 GB / 931 GiB
Volume header
HFS+ OK

Backup volume header
Bad

Sectors are not identical.
Superblock Backup superblock
0000 48580005 80002000 HX.... . 00000000 00000000 ........
0008 4846534a 00001d1b HFSJ.... 00000000 00000000 ........
0010 d252ca8d d61ba932 .R.....2 00000000 00000000 ........
0018 00000000 d252bc7d .....R.} 00000000 00000000 ........
0020 002cf9ee 0006cfa6 .,...... 00000000 00000000 ........
0028 00001000 0e8ca4f6 ........ 00000000 00000000 ........
0030 02f55749 06654e8a ..WI.eN. 00000000 00000000 ........
0038 00010000 00010000 ........ 00000000 00000000 ........
0040 0063b76e 0031e0a0 .c.n.1.. 00000000 00000000 ........
0048 00000000 022000fb ..... .. 00000000 00000000 ........
0050 00000002 000c36ce ......6. 00000000 00000000 ........
0058 00000000 00000000 ........ 00000000 00000000 ........
0060 00000000 00000000 ........ 00000000 00000000 ........
0068 e66b60f8 55b6f98e .k`.U... 00000000 00000000 ........
0070 00000000 01d1a000 ........ 00000000 00000000 ........
0078 01d1a000 00001d1a ........ 00000000 00000000 ........
0080 00000001 00001d1a ........ 00000000 00000000 ........
0088 00000000 00000000 ........ 00000000 00000000 ........
0090 00000000 00000000 ........ 00000000 00000000 ........
0098 00000000 00000000 ........ 00000000 00000000 ........
00A0 00000000 00000000 ........ 00000000 00000000 ........
00A8 00000000 00000000 ........ 00000000 00000000 ........
00B0 00000000 00000000 ........ 00000000 00000000 ........
00B8 00000000 00000000 ........ 00000000 00000000 ........
00C0 00000000 00b00000 ........ 00000000 00000000 ........
00C8 00b00000 00000b00 ........ 00000000 00000000 ........
00D0 00006d1c 00000b00 ..m..... 00000000 00000000 ........
00D8 00000000 00000000 ........ 00000000 00000000 ........
00E0 00000000 00000000 ........ 00000000 00000000 ........
00E8 00000000 00000000 ........ 00000000 00000000 ........
00F0 00000000 00000000 ........ 00000000 00000000 ........
00F8 00000000 00000000 ........ 00000000 00000000 ........
0100 00000000 00000000 ........ 00000000 00000000 ........
0108 00000000 00000000 ........ 00000000 00000000 ........
0110 00000000 70000000 ....p... 00000000 00000000 ........
0118 10000000 00070000 ........ 00000000 00000000 ........
0120 000b781c 00070000 ..x..... 00000000 00000000 ........
0128 00000000 00000000 ........ 00000000 00000000 ........
0130 00000000 00000000 ........ 00000000 00000000 ........
0138 00000000 00000000 ........ 00000000 00000000 ........
0140 00000000 00000000 ........ 00000000 00000000 ........
0148 00000000 00000000 ........ 00000000 00000000 ........
0150 00000000 00000000 ........ 00000000 00000000 ........
0158 00000000 00000000 ........ 00000000 00000000 ........
0160 00000000 90000000 ........ 00000000 00000000 ........
0168 10000000 00090000 ........ 00000000 00000000 ........
0170 0000781c 00090000 ..x..... 00000000 00000000 ........
0178 00000000 00000000 ........ 00000000 00000000 ........
0180 00000000 00000000 ........ 00000000 00000000 ........
0188 00000000 00000000 ........ 00000000 00000000 ........
0190 00000000 00000000 ........ 00000000 00000000 ........
0198 00000000 00000000 ........ 00000000 00000000 ........
01A0 00000000 00000000 ........ 00000000 00000000 ........
01A8 00000000 00000000 ........ 00000000 00000000 ........
01B0 00000000 00000000 ........ 00000000 00000000 ........
01B8 00000000 00000000 ........ 00000000 00000000 ........
01C0 00000000 00000000 ........ 00000000 00000000 ........
01C8 00000000 00000000 ........ 00000000 00000000 ........
01D0 00000000 00000000 ........ 00000000 00000000 ........
01D8 00000000 00000000 ........ 00000000 00000000 ........
01E0 00000000 00000000 ........ 00000000 00000000 ........
01E8 00000000 00000000 ........ 00000000 00000000 ........
01F0 00000000 00000000 ........ 00000000 00000000 ........
01F8 00000000 00000000 ........ 00000000 00000000 ........

TestDisk exited normally.
Using locale 'fr_BE.UTF-8'.


Tue Nov 5 11:45:10 2019
Command line: TestDisk /log /data/testdiskstuff/nouvelcopieddrescue

TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Linux, kernel 4.9.0-11-amd64 (#1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20)) x86_64
Compiler: GCC 4.4
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.7
Hard disk list
Disk /data/testdiskstuff/nouvelcopieddrescue - 1000 GB / 931 GiB - CHS 121598 255 63, sector size=512

Partition table type (auto): EFI GPT
Disk /data/testdiskstuff/nouvelcopieddrescue - 1000 GB / 931 GiB
Partition table type: EFI GPT

Analyse Disk /data/testdiskstuff/nouvelcopieddrescue - 1000 GB / 931 GiB - CHS 121598 255 63
Current partition structure:
1 P Mac HFS 470557 1953256908 1952786352

search_part()
Disk /data/testdiskstuff/nouvelcopieddrescue - 1000 GB / 931 GiB - CHS 121598 255 63
Mac HFS 470557 1953256908 1952786352
HFSX blocksize=4096, 999 GB / 931 GiB

interface_write()
1 P Mac HFS 470557 1953256908 1952786352
simulate write!

Interface Advanced
1 P Mac HFS 470557 1953256908 1952786352
HFSX blocksize=4096, 999 GB / 931 GiB

HFS_HFSP_boot_sector
1 P Mac HFS 470557 1953256908 1952786352
HFSX blocksize=4096, 999 GB / 931 GiB
Volume header
HFS+ OK

Backup volume header
Bad

Sectors are not identical.

TestDisk exited normally.

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

Re: récupération disque externe mac "bad bckp volume header"

#2 Post by cgrenier »

Que donne un fsck ?

dako
Posts: 3
Joined: 05 Nov 2019, 11:37

Re: récupération disque externe mac "bad bckp volume header"

#3 Post by dako »

voici,

root@avlinuxgrnier:/home/dako# fsck /dev/sdb
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

Found a gpt partition table in /dev/sdb

dako
Posts: 3
Joined: 05 Nov 2019, 11:37

Re: récupération disque externe mac "bad bckp volume header"

#4 Post by dako »

je peux essayer autre chose?

Locked