Page 1 of 1
[Résolu] - Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 7. Jan 2021, 17:29
by HiaisThy
Bonjour à tous,
Mon environnement : Win 10 Pro : 62 bits : version 19041.685
VirtualBox : Version 6.1.16 r140961 (Qt5.6.2)
Ma VM : Win XP Pro : 32 bits
Depuis des mois et x fois par semaine : tout fonctionne OK +++
Hier, lors de la première ouverture et après une utilisation ok la veille, je reçois les informations suivantes :
Runtime error opening 'C:\Users\Thierry\VirtualBox VMs\Windows XP\Windows XP.vbox' for reading: -103 (Path not found.).
F:\tinderbox\win-6.1\src\VBox\Main\src-server\MachineImpl.cpp[754] (long __cdecl Machine::i_registeredInit(void)).
Code d'erreur : E_FAIL (0x80004005)
Composant : MachineWrap
Interface : IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Depuis, j'ai essayé de réparer avec l'outil [Réparer] de VirtualBox-6.1.16-140961-Win.exe mais rien n'y fait.
Je ne peux pas réinstaller dessus, j'ai uniquement le choix entre [Réparer] et [Désinstaller].
Avec mes remerciements, Thierry.
Re: Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 7. Jan 2021, 17:33
by mpack
First check that the folder path "C:\Users\Thierry\VirtualBox VMs\Windows XP\" still exists, and then that the folder contains the file "Windows XP.vbox".
If the latter file does not exist, then check to see if the folder contains the file "Windows XP.vbox-prev". If yes then rename it to "Windows XP.vbox".
Re: Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 7. Jan 2021, 18:55
by HiaisThy
Bonjour mpack,
Merci pour votre prompte réponse.
Aïe, aïe, aïe, je n'ai plus aucun des fichiers indiqués dans votre réponse. Il ne me reste plus que - me semble-t-il : C:\Users\Thierry\.VirtualBox contenant des fichiers logs plus 3/4 autres fichiers pas bien épais.
A priori, je ne vois rien dans la directory : Corbeille. C'est très inquiétant.
Merci - Thierry.
Re: Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 7. Jan 2021, 19:31
by mpack
Nothing VirtualBox does can (in general) cause files to simply disappear. In the sole case of the .vbox file, VirtualBox rewrites it every time the VM runs, so it's possible for a crash to happen after the old file is renamed (to .vbox-prev) but before the new file is written. In that case a simple rename recovers the situation.
There is no similar rewrite mechanism for any of the other files. The only way for the files to disappear is if the user has deleted them. And then I'm afraid that only a backup of the VM folder can recover the VM.
Re: Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 7. Jan 2021, 20:24
by HiaisThy
Bonjour mpack,
Encore merci pour votre vitesse de réponse, J'ai bien compris qu'il fallait que je supprime Virtualbox pour le réinstaller et retour à mes sauvegardes de fichiers.
Connaissez-vous SVP un lien fiable qui traite de la sauvegarde des VM. Depuis hier je vois qu'il y a un bouton Exporter / Importer, est-ce suffisant pour sauvegarder ?
Pour information, je suis plutôt chanceux en informatique et je suis le seul utilisateur de ce PC je n'ai donc - sauf erreur incompréhensible - détruit aucun fichier.
Avec mes grands remerciements. Thierry.
Re: Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 8. Jan 2021, 11:05
by mpack
The best way to back up a VM is to simply copy the VM folder (in this case "C:\Users\Thierry\VirtualBox VMs\Windows XP"), with contents, to a backup drive.
Do not use Export/Import as that changes all UUIDs in the VM, and the disk format is changed to VMDK. That tool is only used when creating an "appliance" for another VM platform.
Re: Echec à l'ouverture de la VM : E_FAIL (0x80004005)
Posted: 9. Jan 2021, 11:15
by HiaisThy
Bonjour Mpack,
Un grand merci pour le temps que vous avez consacré à mes différentes questions.
J'ai bien noté la directory à sauvegarder, la sujétion est vraiment minime.
Pour information, la disparition de la directory "c:\users\..." s'est produite sur un disque SSD interne.
Je ferme ce sujet.
Chaleureux remerciements - Bonne année 2021 - Thierry.