SSD devenu partitionne avec 1 partition RAW

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
papadave
Posts: 6
Joined: 23 May 2020, 20:20

SSD devenu partitionne avec 1 partition RAW

#1 Post by papadave »

Bonjour,

J’espère que ce déconfinement se passe comme vous le voulez.

Une erreur par manque de concentration, d'attention lors du téléchargement d'un "bootable W10" sur mon SSD a finalement créer une partition RAW. Tous mes fichiers ont disparus.
Avec un outil d'essai des fichiers sont apparus mais le processus n'a jamais pu aller au bout.
A force de recherche, l'outil TestDisk a été essaye mais en fait je ne comprends pas ce que je dois faire. J'ai lu les tutos plusieurs fois en Anglais et en français. Ce SSD contient les photos de naissances de mes garcons que je dois absolument récupérer. Tout le reste peut disparaitre mais pas les photos.

Je suis desampare.

L'outil TestDisk inscrit "EPI system partition" L'outil reconnait le SSD et sa capacité totale de 500 GB.

Dois-je récupérer la partition pour récupérer les fichiers? Ou dois je utiliser seulement Photorec?

Merci par avance de votre attention
Bien a vous
David

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

Re: SSD devenu partitionne avec 1 partition RAW

#2 Post by cgrenier »

Avec TestDisk, est-ce que Analyse, Quick Search et au besoin Deeper Search fait apparaitre votre ancienne partition ?
Copiez/collez le contenu du fichier testdisk.log, cela sera plus simple pour vous aider.

Si vous ne récupérez pas votre partition, il sera toujours possible d'utiliser PhotoRec pour récupérer vos données perdus (il faudra les retrier vu que les noms d'origine ne seront pas récupérés)

papadave
Posts: 6
Joined: 23 May 2020, 20:20

Re: SSD devenu partitionne avec 1 partition RAW

#3 Post by papadave »

Bonjour
Voici le log

Sun May 24 09:45:40 2020
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, May 2020
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 9.3, Cygwin32 3001.4
ext2fs lib: 1.45.3, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=2000398933504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=2000398933504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=102456360960
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=11231297536
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=398417985536
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=34359738368
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=465744953344
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=2000395698176
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=500106788864
Hard disk list
Disk /dev/sda - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512 - SanDisk SD9TB8W512G1001, S/N:182134423261, FW:X610
Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - Samsung Portable SSD T5, S/N:38A2D7654321
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512 - Seagate Expansion, S/N:NA49GW1Q, FW:0636
Disk /dev/sdd - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WDC WD50 00LPCX-00VHAT0, S/N:00000000B2EF, FW:0117

Partition table type (auto): EFI GPT
Disk /dev/sdb - 500 GB / 465 GiB - Samsung Portable SSD T5
Partition table type: EFI GPT

Analyse Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=976773167 (expected 976773167)
hdr_lba_start=34
hdr_lba_end=976773134
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
check_part_gpt failed for partition
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]
Current partition structure:
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]
1 P MS Reserved 34 262177 262144 [Microsoft reserved partition]

papadave
Posts: 6
Joined: 23 May 2020, 20:20

Re: SSD devenu partitionne avec 1 partition RAW

#4 Post by papadave »

Je vais acheter un logiciel finalement.
Last edited by papadave on 21 Jun 2020, 10:54, edited 1 time in total.

papadave
Posts: 6
Joined: 23 May 2020, 20:20

Re: SSD devenu partitionne avec 1 partition RAW

#5 Post by papadave »

Bonjour

Excusez moi, c'est un clavier QWERTY.

C en forgeant qu'on devient forgeron.
Apres des essais plus qu'infructueux avec des applis payantes, celles ci s'averent inutile dans mon cas.

1. Apres avoir compris comment fonctionne photorec, j'ai pu retrouver des photos. Probablement toutes vu la quantitie retrouvee. A voir.
2. Je reprends testdisk pour essayer de "revenir en arriere". Et pour l'instant c'est comme suit:

Sur 1 disque qui est un clone de celui "d'origine".

Testdik trouve 2 partitions en FAT 32. La seule difference est l'une en EDs l'autre No name. Ce n'est pas celles ci qui m'interesse sauf a etre le probleme je crois.

Il y a ensuite:
warning: number of heads/cylinder mismatches 16 (NTFS) !=255 (HD)
warning: number of sectors per track mismatches 2 (NTFS) !=63 (HD)

Et ensuite
HPFS - NTFS 1 42 24 1 140 23 6174 (boot)

Suis je sur la bonne voie?

Merci
David

papadave
Posts: 6
Joined: 23 May 2020, 20:20

Re: SSD devenu partitionne avec 1 partition RAW

#6 Post by papadave »

Sun Jun 21 09:09:30 2020
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=102456360960
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=11231297536
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=398417985536
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=465744953344
Hard disk list
Disk /dev/sda - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512
Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512
Drive C: - 102 GB / 95 GiB - CHS 12456 255 63, sector size=512
Drive D: - 11 GB / 10 GiB - CHS 1365 255 63, sector size=512
Drive E: - 398 GB / 371 GiB - CHS 48438 255 63, sector size=512
Drive F: - 465 GB / 433 GiB - CHS 56623 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sdb - 500 GB / 465 GiB
Partition table type: Intel

Analyse Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 1/42/24
heads/cylinder 16 (NTFS) != 255 (HD)
sect/track 2 (NTFS) != 63 (HD)
Error: size boot_sector 6174 > partition 6173
check_part_i386 failed for partition type 07
check_part_i386 failed for partition type 07
Current partition structure:
Warning: number of heads/cylinder mismatches 16 (NTFS) != 255 (HD)
Warning: number of sectors per track mismatches 2 (NTFS) != 63 (HD)
Error: size boot_sector 6174 > partition 6173
Invalid NTFS or EXFAT boot
1 P HPFS - NTFS 1 42 24 1 140 22 6173
1 P HPFS - NTFS 1 42 24 1 140 22 6173
Invalid NTFS or EXFAT boot
2 * HPFS - NTFS 4177 182 38 60801 80 15 909658112
2 * HPFS - NTFS 4177 182 38 60801 80 15 909658112

search_part()
Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63
FAT32 at 0/32/33
FAT1 : 32-8222
FAT2 : 8223-16413
start_rootdir : 16414 root cluster : 2
Data : 16414-67112925
sectors : 67112959
cluster_size : 64
no_of_cluster : 1048383 (2 - 1048384)
fat_length 8191 calculated 8191

FAT32 at 0/32/33
FAT32 LBA 0 32 33 4177 182 36 67112959 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
file_pread(5,3,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(5,1,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(5,8,buffer,976773199(60801/81/32)) lseek err Invalid argument
file_pread(5,11,buffer,976773246(60801/82/16)) lseek err Invalid argument
file_pread(5,2,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(5,1,buffer,976775167(60801/112/47)) lseek err Invalid argument
file_pread(5,13,buffer,976775170(60801/112/50)) lseek err Invalid argument
file_pread(5,3,buffer,976775183(60801/112/63)) lseek err Invalid argument
file_pread(5,3,buffer,976775230(60801/113/47)) lseek err Invalid argument
file_pread(5,8,buffer,976775246(60801/113/63)) lseek err Invalid argument
file_pread(5,11,buffer,976775293(60801/114/47)) lseek err Invalid argument
file_pread(5,2,buffer,976777215(60801/145/16)) lseek err Invalid argument

Results
* FAT32 LBA 0 32 33 4177 182 37 67112960 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB

interface_write()
1 * FAT32 LBA 0 32 33 4177 182 37 67112960 [ESD-USB]

search_part()
Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63
FAT32 at 0/32/33
FAT1 : 32-8222
FAT2 : 8223-16413
start_rootdir : 16414 root cluster : 2
Data : 16414-67112925
sectors : 67112959
cluster_size : 64
no_of_cluster : 1048383 (2 - 1048384)
fat_length 8191 calculated 8191

FAT32 at 0/32/33
FAT32 LBA 0 32 33 4177 182 36 67112959 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
FAT32 at 0/32/39
FAT1 : 32-8222
FAT2 : 8223-16413
start_rootdir : 16414 root cluster : 2
Data : 16414-67112925
sectors : 67112959
cluster_size : 64
no_of_cluster : 1048383 (2 - 1048384)
fat_length 8191 calculated 8191
set_FAT_info: name from BS used

FAT32 at 0/32/39
FAT32 LBA 0 32 33 4177 182 36 67112959 [NO NAME]
FAT32, blocksize=32768, 34 GB / 32 GiB
NTFS at 1/42/24
heads/cylinder 16 (NTFS) != 255 (HD)
sect/track 2 (NTFS) != 63 (HD)
filesystem size 6174
sectors_per_cluster 1
mft_lcn 2058
mftmirr_lcn 5162
clusters_per_mft_record 2
clusters_per_index_record 8
HPFS - NTFS 1 42 24 1 140 23 6174 [Boot]
NTFS, blocksize=512, 3161 KB / 3087 KiB
file_pread(5,3,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(5,1,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(5,8,buffer,976773199(60801/81/32)) lseek err Invalid argument
file_pread(5,11,buffer,976773246(60801/82/16)) lseek err Invalid argument
file_pread(5,2,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(5,1,buffer,976775167(60801/112/47)) lseek err Invalid argument
file_pread(5,13,buffer,976775170(60801/112/50)) lseek err Invalid argument
file_pread(5,3,buffer,976775183(60801/112/63)) lseek err Invalid argument
file_pread(5,3,buffer,976775230(60801/113/47)) lseek err Invalid argument
file_pread(5,8,buffer,976775246(60801/113/63)) lseek err Invalid argument
file_pread(5,11,buffer,976775293(60801/114/47)) lseek err Invalid argument
file_pread(5,2,buffer,976777215(60801/145/16)) lseek err Invalid argument

Results
FAT32 LBA 0 32 33 4177 182 37 67112960 [ESD-USB]
FAT32, blocksize=32768, 34 GB / 32 GiB
HPFS - NTFS 1 42 24 1 140 23 6174 [Boot]
NTFS, blocksize=512, 3161 KB / 3087 KiB


dir_partition inode=5
HPFS - NTFS 1 42 24 1 140 23 6174 [Boot]
NTFS, blocksize=512, 3161 KB / 3087 KiB
Directory /
5 dr-xr-xr-x 0 0 0 15-Feb-2005 22:33 .
5 dr-xr-xr-x 0 0 0 15-Feb-2005 22:33 ..
27 dr-xr-xr-x 0 0 0 15-Feb-2005 22:33 System Volume Information

interface_write()

No partition found or selected for recovery
simulate write!

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

Analyse Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 1/42/24
heads/cylinder 16 (NTFS) != 255 (HD)
sect/track 2 (NTFS) != 63 (HD)
Error: size boot_sector 6174 > partition 6173
check_part_i386 failed for partition type 07
check_part_i386 failed for partition type 07
Current partition structure:
Warning: number of heads/cylinder mismatches 16 (NTFS) != 255 (HD)
Warning: number of sectors per track mismatches 2 (NTFS) != 63 (HD)
Error: size boot_sector 6174 > partition 6173
Invalid NTFS or EXFAT boot
1 P HPFS - NTFS 1 42 24 1 140 22 6173
1 P HPFS - NTFS 1 42 24 1 140 22 6173
Invalid NTFS or EXFAT boot
2 * HPFS - NTFS 4177 182 38 60801 80 15 909658112
2 * HPFS - NTFS 4177 182 38 60801 80 15 909658112

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: SSD devenu partitionne avec 1 partition RAW

#7 Post by recuperation »

papadave wrote: 21 Jun 2020, 10:53 Testdik trouve 2 partitions en FAT 32. La seule difference est l'une en EDs l'autre No name. Ce n'est pas celles ci qui m'interesse sauf a etre le probleme je crois.
Est-ce que vous avez regardé dans les deux partitions avec la touche "p" (list files) ou pourquoi vous êtes sûr que les deux partitions ne sont pas intéressantes?
Si cela ne marchait pas, vous pouvez aussi utiliser la fonction "deep search" et examiner les résultats de la même manière.

J'ai du mal à lire votre francais étant étranger. Veuillez faire un effort s'il vous plaît.

papadave
Posts: 6
Joined: 23 May 2020, 20:20

Re: SSD devenu partitionne avec 1 partition RAW

#8 Post by papadave »

Hi

Thanks for your feedback.
Actually, after my mistake the only partition remaining was a FAT32 with the W10 fils in it. After giving a try with another tool the NTFS (deleted) appeared, there fore I thing that the FAT32 is not the priority.
the partition that became RAW is accessible to save the data from there but I do not understand how to repair. I have cloned the SSD and tried many hours with a bunch of tools but the one proposed here is for experienced users. At least I have read several times the different tutorials but the result is not what I expect.

I don't know how to read the log file. What is it saying? Is the RAW appearing? How to solve the problem?

Cheers
David

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: SSD devenu partitionne avec 1 partition RAW

#9 Post by recuperation »

Did you understand the advice I gave to you in French language?

It is interesting that your are looking for NTFS partition. You did not mention it 7 posts ago. The log file only shows the current status. Only you know what has been before the incident.
Please mention all necessary information - that makes life easier for me.

Locked