https://www.microlinux.fr/blog/smartctl/
#materiels #disquesdurs
Récupération de données perdues avec TestDisk, Photorec & DDRescue

Introduction Ă lĂ rĂ©cupĂ©ration de donnĂ©es avec ddrescue et testdisk. Une premiĂšre partie consistera Ă faire quelques rappels thĂ©oriques indispensables Ă lâutilisation de ces outils, notamment comment identifier les diffĂ©rents supports de stockages sans se tromper et sur lâimportance de travailler
Introduction à la récupération de données
24 avril 2026, 20:30:00 UTC+02:00 - GMT+02:00 - Le Plan B, 51 rue de la République, Jarville-la-Malgrange, Grand Est, Francehttps://keskonfai.fr/events/6817300b-ecd4-4260-925d-95b6bc167510
Intro à la récupération de données avec #ddrescue et #testdisk le 24 avril 2026
https://mirabellug.org/introduction-a-la-recuperation-de-donnees/
Introduction à la récupération de données
Le thĂšme de la prochaine rĂ©union, le 24 avril 2026 [1], sera une introduction Ă la rĂ©cupĂ©ration de donnĂ©es avec les outils libres ddrescue et testdisk.Une premiĂšre partie consistera Ă faire quelques rappels thĂ©oriques indispensables Ă l'utilisation de ces outils, notamment comment identifier les diffĂ©rents supports de stockages sans se tromper et sur lâimportance de travailler sur une image du support de stockage au lieu du support physique rĂ©el.Une seconde partie consistera Ă [âŠ]https://mirabellug.org/introduction-a-la-recuperation-de-donnees/
Faudrai que je prépare une prez courte suivie d'un atelier et/ou démo #ddrescue #testdisk et #photorec pour le LUG un jour⊠La forme exacte reste à déterminer.
Mais en ce qui me concerne, au mĂȘme titre que de faire des sauvegardes, savoir rĂ©cupĂ©rer des donnĂ©es depuis un FS corrompu ou un support sur le point de lĂącher devrait ĂȘtre considĂ©rĂ©e comme une « compĂ©tence numĂ©rique » de base bien plus utile que faire de la merde avec des LLM, du vomi dans word ou enseigner « le codage » (bullshit)âŠ
Very disappointed with my cheap NVMe enclosures
My son was able to show me how a kid can burn a decent office laptop by playing at Roblox... đ€Šââïž
The problem then was to recover the data (no backup) so I used a NVMe-to-USB-C adapter I bought in the past, but when I connected it to my laptop it was showing me the disk as eMMC, showed me a weird partitions scheme. Since it was my first time dealing with a USB-C enclosure, I decided to buy another one, this time NVMe-to-USB-3, but still recognized as an eMMC with the same weird partition table.
Therefore I assumed the drive was corrupted and I spent hours and hours with #testdisk trying to recover the disk structures but unsuccessfully.
Eventually I realized my crapbook had an NVMe slot and I decided to give it a shot. When I plugged the drive and booted the laptop I was able to get all the correct NVMe partitions, #Windows and #Debian #Linux.
WTF... Those enclosures revealed to be totally unreliable, I don't know why the they must lie to the system and let them being recognized as a differente kind of drive (eMMC). That sucked, it prevented to recover the data! I couldn't plug my drive to browse it as any other regular USB enclosure.
I guess if I format and use as external drive is just fine, but totally useless to recover data from an existent partition scheme. I don't know if this is the standard for using NVMe drives from an external enclosure; did you experience the same too?
đ€·ââïž
Gut, dass es #TestDisk gibt: Jemand ĂŒberschrieb versehentlich eine Partitionstabelle (GPT). Darauf befand sich nur eine #LUKS2-Partition. Mit #TestDisk lieĂ sich das zum GlĂŒck regeln.
Aber ganz trivial war es dann doch nicht: TestDisk erkennt nur die MinimalgröĂe von LUKS-Partitionen und stellt diese wieder her und kennt nicht das tatsĂ€chliche Ende. Und entschlĂŒsseln lieĂ sich das Ding auch nicht: "Invalid argument" nach korrekter Angabe des SchlĂŒssels.
Stellt sich raus: Die PartitionsgröĂe muss ein Vielfaches der SektorgröĂe (hier 4096) sein, sonst geht da gar nix. Also auf die nĂ€chstgröĂere PartitionsgröĂe mit parted erweitert und dann gings.