Hardelot wrote:[justify]Oui, j'ai regardé, mais l'Anglais et moi, cela fait 2...[/justify]
La marche à suivre pour essayer de récupérer tes données personnelles est la suivante:
- Tu installes le paquet libguestfs-tools-c
$ sudo dnf install libguestfs-tools-c
- Tu te positionnes dans le répertoire de ta machine virtuelle
$ cd ~/'VirtualBox VMs'/tamachine
- Tu sauvegardes ton fichier vmdk.
$ cp tamachine.vmdk tamachine.vmdk.backup
Note: si le nom de ce fichier vmdk contient des espaces il faut le mettre entre quotes.
$ cp 'ta machine.vmdk' 'ta machine.vmdk.backup'
- Tu crées deux répertoires, un qui servira de point de montage pour la commande guestmount et l'autre pour stocker les fichiers qui vont être récupérés
$ mkdir ./pointdemontage
$ mkdir ./recup
- En root tu montes ton fichier vmdk en readonly avec la commande guestmount
$ sudo guestmount -a 'tamachine.vmdk' -i --ro ./pointdemontage
- Quand la commande guestmount te rend la main tu vérifies que le code retour de celle-ci est bien 0
$ echo $?
- Toujours en root tu vérifies que tu as bien ton arborescence windows de montée
$ sudo ls -al ./pointdemontage
drwxrwxrwx. 1 root root 4096 21 déc. 21:32 .
drwxr-xr-x. 5 user user 4096 21 déc. 21:53 ..
drwxrwxrwx. 1 root root 0 21 déc. 21:41 '$Recycle.Bin'
-rwxrwxrwx. 1 root root 413738 7 déc. 2019 bootmgr
-rwxrwxrwx. 1 root root 1 7 déc. 2019 BOOTNXT
lrwxrwxrwx. 2 root root 14 21 déc. 21:32 'Documents and Settings' -> /sysroot/Users
-rwxrwxrwx. 2 root root 8192 21 déc. 21:31 DumpStack.log.tmp
-rwxrwxrwx. 1 root root 2013265920 21 déc. 21:31 pagefile.sys
drwxrwxrwx. 1 root root 0 7 déc. 2019 PerfLogs
drwxrwxrwx. 1 root root 4096 21 déc. 21:32 ProgramData
drwxrwxrwx. 1 root root 4096 21 déc. 21:32 'Program Files'
drwxrwxrwx. 1 root root 4096 27 sept. 09:36 'Program Files (x86)'
drwxrwxrwx. 1 root root 0 21 déc. 21:32 Recovery
-rwxrwxrwx. 1 root root 268435456 21 déc. 21:31 swapfile.sys
drwxrwxrwx. 1 root root 4096 21 déc. 21:34 'System Volume Information'
drwxrwxrwx. 1 root root 4096 21 déc. 21:39 Users
drwxrwxrwx. 1 root root 16384 21 déc. 21:34 Windows
Si le code retour est zéro et si tu visualises l'arborescence windows tu peux continuer.
- Toujours en root tu recopies l'arborescence Windows Users dans recup
$ sudo rsync -av ./pointdemontage/Users ./recup
- Toujours en root tu termines en changant le propriétaire des fichiers récupérés (tu dois remplacer user par ton nom d’utilisateur)
$ sudo chown -R user:user ./recup
Normalement à ce stade tu as dans le répertoire ./recup tous les fichiers qui se trouvaient dans les répertoires utilisateurs de ta machine virtuelle Windows.