Photorec / disque externe de destination non proposé Topic is solved

Utiliser TestDisk pour récupérer un fichier effacé
Message
Author
dan05130
Posts: 17
Joined: 25 Jul 2019, 15:49

Re: Photorec / disque externe de destination non proposé

#11 Post by dan05130 » 28 Jul 2019, 10:01

Bonjour,

Tout d'abord, excusez-moi, parce que je suis vraiment niais.
En effet, il m'a fallu deux jours pour me rappeler que ce que je vous ai dit plus haut est faux. L'effacement du disque est bien consécutif à l'écriture de l'image ISO de ubuntu 18.04 LTS. Je suis un peu perdu, parce que cela fait assez longtemps que cet incident est arrivé.

Du coup, la procédure de récupération, n'est peut-être plus la bonne ! Et c'est peut-être peine perdue...

En attendant, je vous joins l'image écran des résultats de testdisk > Analyse > Quick Search :
Capture du 2019-07-28 10-05-45.png
Capture du 2019-07-28 10-05-45.png (80.71 KiB) Viewed 85 times
Je n'ai pas fait Quit (pas d'option), je vous joins le fichier tesdisk.log. en copier/coller parce que je ne parviens pas à le joindre comme fichier ! :
=================================
Sun Jul 28 01:50:13 2019
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Linux, kernel 4.18.0-25-generic (#26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019) 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
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 488397168 sectors
/dev/sda: user_max 488397168 sectors
/dev/sda: native_max 488397168 sectors
/dev/sda: dco 488397168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 0 sectors, sector size=512
Warning: can't get size for Disk /dev/loop30 - 0 B - 0 sectors, sector size=512
Hard disk list
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512 - WDC WD2500AAKX-753CA1, S/N:WD-WMAYV3389795, FW:19.01H19
Disk /dev/sdc - 1500 GB / 1397 GiB - CHS 182397 255 63, sector size=512 - WD Elements 25A2, FW:1021
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD10 EAVS-00D7B1, FW:0014
Disk /dev/mapper/sda5_crypt - 249 GB / 232 GiB - 486891520 sectors, sector size=512
Disk /dev/mapper/ubuntu--vg-root - 248 GB / 231 GiB - 484876288 sectors, sector size=512
Disk /dev/mapper/ubuntu--vg-swap_1 - 1027 MB / 980 MiB - 2007040 sectors, sector size=512
Disk /dev/dm-0 - 249 GB / 232 GiB - 486891520 sectors, sector size=512
Disk /dev/dm-1 - 248 GB / 231 GiB - 484876288 sectors, sector size=512
Disk /dev/dm-2 - 1027 MB / 980 MiB - 2007040 sectors, sector size=512
Disk /dev/loop0 - 3825 KB / 3736 KiB - 7472 sectors (RO), sector size=512
Disk /dev/loop1 - 37 MB / 35 MiB - 72320 sectors (RO), sector size=512
Disk /dev/loop10 - 2355 KB / 2300 KiB - 4600 sectors (RO), sector size=512
Disk /dev/loop11 - 36 MB / 34 MiB - 70736 sectors (RO), sector size=512
Disk /dev/loop12 - 1032 KB / 1008 KiB - 2016 sectors (RO), sector size=512
Disk /dev/loop13 - 3846 KB / 3756 KiB - 7512 sectors (RO), sector size=512
Disk /dev/loop14 - 95 MB / 90 MiB - 186344 sectors (RO), sector size=512
Disk /dev/loop15 - 4214 KB / 4116 KiB - 8232 sectors (RO), sector size=512
Disk /dev/loop16 - 56 MB / 53 MiB - 109992 sectors (RO), sector size=512
Disk /dev/loop17 - 15 MB / 14 MiB - 30192 sectors (RO), sector size=512
Disk /dev/loop18 - 15 MB / 14 MiB - 29704 sectors (RO), sector size=512
Disk /dev/loop19 - 57 MB / 54 MiB - 111464 sectors (RO), sector size=512
Disk /dev/loop2 - 158 MB / 151 MiB - 309264 sectors (RO), sector size=512
Disk /dev/loop20 - 157 MB / 149 MiB - 307000 sectors (RO), sector size=512
Disk /dev/loop21 - 147 MB / 140 MiB - 288080 sectors (RO), sector size=512
Disk /dev/loop22 - 15 MB / 14 MiB - 30200 sectors (RO), sector size=512
Disk /dev/loop23 - 147 MB / 140 MiB - 288080 sectors (RO), sector size=512
Disk /dev/loop24 - 1032 KB / 1008 KiB - 2016 sectors (RO), sector size=512
Disk /dev/loop25 - 147 MB / 140 MiB - 288088 sectors (RO), sector size=512
Disk /dev/loop26 - 8839 KB / 8632 KiB - 17264 sectors (RO), sector size=512
Disk /dev/loop27 - 44 MB / 42 MiB - 87656 sectors (RO), sector size=512
Disk /dev/loop28 - 92 MB / 88 MiB - 181208 sectors (RO), sector size=512
Disk /dev/loop29 - 158 MB / 151 MiB - 309264 sectors (RO), sector size=512
Disk /dev/loop3 - 93 MB / 89 MiB - 182776 sectors (RO), sector size=512
Disk /dev/loop4 - 15 MB / 14 MiB - 30200 sectors (RO), sector size=512
Disk /dev/loop5 - 56 MB / 53 MiB - 109992 sectors (RO), sector size=512
Disk /dev/loop6 - 3821 KB / 3732 KiB - 7464 sectors (RO), sector size=512
Disk /dev/loop7 - 7856 KB / 7672 KiB - 15344 sectors (RO), sector size=512
Disk /dev/loop8 - 4218 KB / 4120 KiB - 8240 sectors (RO), sector size=512
Disk /dev/loop9 - 7774 KB / 7592 KiB - 15184 sectors (RO), sector size=512

Partition table type (auto): None
Disk /dev/sdd - 1000 GB / 931 GiB - WDC WD10 EAVS-00D7B1
Partition table type: Intel
New options :
Dump : No
Align partition: Yes
Expert mode : No

Analyse Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=3830956 16450559
check_part_i386 2 type EF: no test
Current partition structure:
2 P EFI (FAT-12/16/32) 238 118 53 238 197 3 4928

Bad relative sector.
No partition is bootable

search_part()
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121601 255 63
FAT12 at 238/118/53
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4924
sectors : 4928
cluster_size : 4
no_of_cluster : 1221 (2 - 1222)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 238/118/53
FAT12 238 118 53 238 197 3 4928 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2523 KB / 2464 KiB
BAD_RS LBA=539263068 889
check_part_i386 failed for partition type 01
FAT12 33567 146 16 68037 113 8 553758464
BAD_RS LBA=1187510364 889
check_part_i386 failed for partition type 01
FAT12 73919 25 55 108388 247 47 553758464

Results
L FAT12 238 118 53 238 197 3 4928 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2523 KB / 2464 KiB
L FAT12 33567 146 16 68037 113 8 553758464
L FAT12 73919 25 55 108388 247 47 553758464

Hint for advanced users: dmsetup may be used if you prefer to avoid rewriting the partition table for the moment:
echo "0 4928 linear /dev/sdd 3830956" | dmsetup create test0
echo "0 553758464 linear /dev/sdd 539263068" | dmsetup create test1
echo "0 553758464 linear /dev/sdd 1187510364" | dmsetup create test2


dir_partition inode=0
L FAT12 238 118 53 238 197 3 4928 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2523 KB / 2464 KiB
Directory /
2 drwxr-xr-x 0 0 0 9-Feb-2019 17:01 EFI
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
1 E extended LBA 238 0 1 108388 254 63 1737445815
5 L FAT12 238 118 53 238 197 3 4928 [EFI System Partition] [NO NAME]
6 L FAT12 33567 146 16 68037 113 8 553758464
7 L FAT12 73919 25 55 108388 247 47 553758464

search_part()
Disk /dev/sdd - 1000 GB / 931 GiB - CHS 121601 255 63
FAT12 at 238/118/53
check_FAT: Unusual media descriptor (0xf8!=0xf0)
FAT1 : 1-4
FAT2 : 5-8
start_rootdir : 9
Data : 41-4924
sectors : 4928
cluster_size : 4
no_of_cluster : 1221 (2 - 1222)
fat_length 4 calculated 4
heads/cylinder 64 (FAT) != 255 (HD)
sect/track 32 (FAT) != 63 (HD)

FAT12 at 238/118/53
FAT12 238 118 53 238 197 3 4928 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2523 KB / 2464 KiB
BAD_RS LBA=539263068 889
check_part_i386 failed for partition type 01
FAT12 33567 146 16 68037 113 8 553758464
BAD_RS LBA=790116444 889
check_part_i386 failed for partition type 01
FAT12 49182 120 55 83652 87 47 553758464
BAD_RS LBA=1187510364 889
check_part_i386 failed for partition type 01
FAT12 73919 25 55 108388 247 47 553758464
BAD_RS LBA=1195898972 889
check_part_i386 failed for partition type 01
FAT12 74441 68 24 108911 35 16 553758464

Results
L FAT12 238 118 53 238 197 3 4928 [EFI System Partition] [NO NAME]
FAT12, blocksize=2048, 2523 KB / 2464 KiB
FAT12 33567 146 16 68037 113 8 553758464
FAT12 49182 120 55 83652 87 47 553758464
FAT12 73919 25 55 108388 247 47 553758464
FAT12 74441 68 24 108911 35 16 553758464

Hint for advanced users: dmsetup may be used if you prefer to avoid rewriting the partition table for the moment:
echo "0 4928 linear /dev/sdd 3830956" | dmsetup create test0
echo "0 553758464 linear /dev/sdd 539263068" | dmsetup create test1
echo "0 553758464 linear /dev/sdd 790116444" | dmsetup create test2
echo "0 553758464 linear /dev/sdd 1187510364" | dmsetup create test3
echo "0 553758464 linear /dev/sdd 1195898972" | dmsetup create test4
=====================================

Et voilà !
Je vous remercie encore pour votre dévouement.
Cordialement

Sponsored links

Locked

Who is online

Users browsing this forum: No registered users and 1 guest