Problème avec une partition commencée à être supprimée par inadvertance

Nessuna risposta
Julius22
Offline
Iscritto: 07/01/2010

Bonjour,
En voulant créer un Live USB avec l'utilitaire de création de disques de démarage (usb-creator-gtk), j'ai sélectionné un disque dur externe au lieu de la clé USB que je voulais utiliser et ai malheureusement cliqué sur le bouton d'effaceent de disque. J'ai éteint mon ordinateur au plus vite, espérant que ça évite de faire trop de dégâts…
Après redémarrage, une partition est reconnue mais les fichiers présentent des noms bizarres. J'ai essayé d'utiliser testdisk pour recréer une table de partitions correcte, mais sans succès. L'utilitaire a pourtant bien retrouvé la partition (nommée DDE_1_2_Tio et en ext4 sur /dev/sdb) que je souhaite récupérer, a priori (cf. fichier de journalisation de testdisk ci-dessous).
Qu'est-ce que je peux faire pour récupérer ma partition (je ne veux pas faire de bêtise pour empirer le problème) ?

Thu May 4 20:56:34 2017
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <name at domain>
http://www.cgsecurity.org
OS: Linux, kernel 3.13.0-39-lowlatency (#66+7.0trisquel2 SMP PREEMPT Wed Oct 29 17:10:10 UTC 2014) x86
Compiler: GCC 4.8
Compilation date: 2013-10-29T01:29:29
ext2fs lib: 1.42.9, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 156301488 sectors
/dev/sda: user_max 156301488 sectors
/dev/sda: native_max 156301488 sectors
/dev/sda: dco 156301488 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
Hard disk list
Disk /dev/sda - 80 GB / 74 GiB - CHS 9729 255 63, sector size=512 - TOSHIBA MK8034GSX, S/N:27SVF0TOS, FW:AH301J
Disk /dev/sdb - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512 - SAMSUNG HD204UI
Disk /dev/mapper/sda2_crypt - 10238 MB / 9764 MiB - 19996672 sectors, sector size=512
Disk /dev/mapper/sda5_crypt - 5117 MB / 4880 MiB - 9994240 sectors, sector size=512
Disk /dev/mapper/sda7_crypt - 54 GB / 50 GiB - 105793536 sectors, sector size=512
Disk /dev/dm-0 - 10238 MB / 9764 MiB - 19996672 sectors, sector size=512
Disk /dev/dm-1 - 5117 MB / 4880 MiB - 9994240 sectors, sector size=512
Disk /dev/dm-2 - 54 GB / 50 GiB - 105793536 sectors, sector size=512

Partition table type (auto): Intel
Disk /dev/sdb - 2000 GB / 1863 GiB - SAMSUNG HD204UI
Partition table type: Intel

Analyse Disk /dev/sdb - 2000 GB / 1863 GiB - CHS 243201 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 83
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=2
Current partition structure:
No ext2, JFS, Reiser, cramfs or XFS marker
1 P Linux 0 1 1 243200 254 63 3907024002
1 P Linux 0 1 1 243200 254 63 3907024002
No partition is bootable

search_part()
Disk /dev/sdb - 2000 GB / 1863 GiB - CHS 243201 255 63
FAT32 at 0/1/1
FAT1 : 32-476847
FAT2 : 476848-953663
start_rootdir : 953664 root cluster : 2
Data : 953664-3907029055
sectors : 3907029105
cluster_size : 64
no_of_cluster : 61032428 (2 - 61032429)
fat_length 476816 calculated 476816
FAT differs, FAT sectors=0-16/476816
set_FAT_info: name from BS used

FAT32 at 0/1/1
FAT32 LBA 0 1 1 243201 80 63 3907029105
FAT32, blocksize=32768, 2000 GB / 1863 GiB
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Warning: the current number of heads per cylinder is 255 but the correct value may be 16.

Results
* FAT32 LBA 0 1 1 243201 254 63 3907040067
FAT32, blocksize=32768, 2000 GB / 1863 GiB

interface_write()
1 * FAT32 LBA 0 1 1 243201 254 63 3907040067

search_part()
Disk /dev/sdb - 2000 GB / 1863 GiB - CHS 243201 255 63
FAT32 at 0/1/1
FAT1 : 32-476847
FAT2 : 476848-953663
start_rootdir : 953664 root cluster : 2
Data : 953664-3907029055
sectors : 3907029105
cluster_size : 64
no_of_cluster : 61032428 (2 - 61032429)
fat_length 476816 calculated 476816
FAT differs, FAT sectors=0-16/476816
set_FAT_info: name from BS used

FAT32 at 0/1/1
FAT32 LBA 0 1 1 243201 80 63 3907029105
FAT32, blocksize=32768, 2000 GB / 1863 GiB
FAT32 at 0/1/7
FAT1 : 32-476847
FAT2 : 476848-953663
start_rootdir : 953664 root cluster : 2
Data : 953664-3907029055
sectors : 3907029105
cluster_size : 64
no_of_cluster : 61032428 (2 - 61032429)
fat_length 476816 calculated 476816
FAT differs, FAT sectors=0-16/476816
set_FAT_info: name from BS used

FAT32 at 0/1/7
FAT32 LBA 0 1 1 243201 80 63 3907029105
FAT32, blocksize=32768, 2000 GB / 1863 GiB

block_group_nr 3

recover_EXT2: "e2fsck -b 98304 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=3/14904, s_mnt_count=0/20, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 488378000
recover_EXT2: part_size 3907024000
Linux 0 1 1 243200 254 61 3907024000 [DDE_1_2_Tio]
ext4 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB
Search for partition aborted
get_geometry_from_list_part_aux head=255 nbr=3
get_geometry_from_list_part_aux head=8 nbr=3
get_geometry_from_list_part_aux head=16 nbr=3
get_geometry_from_list_part_aux head=32 nbr=2
get_geometry_from_list_part_aux head=64 nbr=2
get_geometry_from_list_part_aux head=128 nbr=2
get_geometry_from_list_part_aux head=240 nbr=2
get_geometry_from_list_part_aux head=255 nbr=3

Results
Linux 0 1 1 243200 254 63 3907024002 [DDE_1_2_Tio]
ext4 blocksize=4096 Large file Sparse superblock Backup superblock, 2000 GB / 1863 GiB
FAT32 LBA 0 1 1 243201 254 63 3907040067
FAT32, blocksize=32768, 2000 GB / 1863 GiB

interface_write()

No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.