Ceci est une ancienne révision du document !
1
If you follow FCM on Facebook, Twitter, Google+ or you’re on our mailing list you’ll have read the harrowing account of my great loss. A grand total of 1TB of hard drive data, years’ worth, including the Scribus files for FCM#79 (hence why it looked half done, it was!). As an experiment I decided to try and recover some data just to see if it was possible and what I’d get. I’d like to thank all of you who emailed me support and links back then to recovery software. The Background So, in short: FreeNAS formatted and repartitioned my hard drive then installed itself on a 4GB partition leaving almost 1TB of unallocated space just hanging there. The Solution I grabbed a magazine DVD and installed Mint 15. I took back my hard drive by removing the partitions created by FreeNAS and created a 150GB partition (root) an 800GB partition (/home) and a 50GB partition (swap - on the off chance that I might need it). All of them were formatted and Mint 15 installed.
Si vous suivez le FCM sur Facebook, Twitter ou Google+, ou si vous êtes sur notre liste de diffusion, vous aurez lu l'histoire d'horreur de ma grosse perte. Un total de 1 To et des années de données sur mon disque dur, y compris les fichiers Scribus pour le FCM n° 79 (et voilà pourquoi il semblait à moitié terminé, c'était le cas !) J'ai décidé de faire une expérience : essayer de retrouver des données pour voir si c'était possible et ce que j'obtiendrais.
J'aimerais remercier vous tous qui m'ont envoyé des mails de soutien et des liens - à ce moment-là - vers des logiciels de rétablissement de données.
Le contexte
Bon, bref : Free NAS a formaté et re-partitionné mon disque dur pour ensuite s'installer sur une partition de 4 Go, en laissant presque 1 To d'espace non alloué dans les limbes.
La solution
J'ai pris le DVD d'une revue et installé Mint 15. J'ai récupéré mon disque dur en supprimant les partitions créées par FreeNAS, puis j'ai créé une partition de 150 Go (root), une partition de 800 Go (/home) et une partition de 50 Go (swap - au cas improbable que j'en aurais besoin). Toutes furent formatées et Mint 15 installé.
2
The Solution Again Since Mint 15 was giving me some teething problems with dual monitors and display settings I reformatted the root partition and installed Mint 16 RC. This was much better and is the OS I’m still using now. Morbid Curiosity So, having installed Back In Time for an automated backup (horse, door, bolted) I began to wonder what data I could recover, if any. I’d accepted that it was gone for good so whatever I could recover was just for curiosity sakes. Photorec I decided to try Photorec since it was the most widely recommended. You can either install it from the Photorec site (http://www.cgsecurity.org/) or from your distro package/software manager. Photorec is a command line app that is run by using the command: sudo photorec
La solution à nouveau
Puisque Mint 15 me causait quelques difficultés initiales avec deux écrans et les paramètres de l'affichage, j'ai reformaté la partition root et y ai installé Mint 16 RC. C'était bien mieux et c'est le système d'exploitation que j'utilise actuellement.
Curiosité malsaine
Ainsi, ayant installé Back In Time pour une sauvegarde automatisée (cheval, porte de l'écurie, cadenassée), je commençais à me demander quelles données je pourrais éventuellement récupérer. J'avais déjà mis une croix dessus et donc tout ce que je pouvais récupérer ne servirait qu'à satisfaire ma curiosité.
Photorec
J'ai décidé d'essayer Photorec, puisque c'était le logiciel le plus recommandé. Vous pouvez l'installer soit à partir du site Photorec (http://www.cgsecurity.org/) ou avec le gestionnaire de paquets/logiciels de votre distrib.
Photorec est une appli en ligne de commande qui est lancée avec la commande :
sudo photorec
3
You are then presented with some options: I went with the default settings and chose my 1TB drive (/dev/sda). Then you choose a partition from that drive to work with: For my experiment I chose what is now my 50GB swap drive. Next, you choose which file system the lost files were on: Next, you choose (using the arrow keys) where you’d like the recovered files to go: Now you let Photorec run its course. Photorec took around 25 minutes to scan the 50GB partition in my example and, surprisingly, came back with over 5,000 recovered files! Granted, not all were 100% recovered. Some video files were only one quarter their original length.
4
Conclusion While 5,000 files sounds great, and it is for a double repartition and reformat, a lot of that was junk from my browser history and there’s no way to know what a file is until you open it. All files are renamed f0000000.xxx where 0000000 is a number and .xxx is the file extension. So don’t expect to get back your directory structure and files by their original name. Still, I was impressed that I could get anything back let alone 5,000 files. I never did try that 800GB partition…
More Photorec info: http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step