Error 80004005 in Linux Ubuntu

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MartineDeLaplaza
Posts: 2
Joined: 19. Dec 2021, 18:09

Error 80004005 in Linux Ubuntu

Post by MartineDeLaplaza »

My VirtualBox Manager fails repeatedly with error messages like this;

Runtime error opening '/mnt/BA16F30E16F2CA81/VirtualBox/4 - Win10-LV2021 (activated) - 0314/4 - Win10-LV2021 (activated) - 0314.vbox' for reading: -102 (File not found.).
/home/vbox/vbox-6.1.30/src/VBox/Main/src-server/MachineImpl.cpp[754] (nsresult Machine::i_registeredInit()).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

I can delete the VM, and insert it fresh, then its ok, but next time I enter, this error message is back. Whats wrong ?
I'm a fresh Linux Ubuntu user, so any operation in Linux must be fed me with a teaspoon.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Error 80004005 in Linux Ubuntu

Post by scottgus1 »

The 0x80004005 error code is extremely generic, BTW, you'll see it on practically every Virtualbox error.

The business end of this error is earlier:
MartineDeLaplaza wrote:Runtime error opening '/mnt/BA16F30E16F2CA81/VirtualBox/4 - Win10-LV2021 (activated) - 0314/4 - Win10-LV2021 (activated) - 0314.vbox' for reading: -102 (File not found.)
This means Virtualbox knows about this file, expects it to be there, but it ... wait for it ... can't be found. :lol:

This isn't a Virtualbox problem, but rather something unexpected happening in the host OS that prevents Virtualbox from finding the file. Perhaps the device mounted in /mnt isn't mounted, permissions, etc.

When the error for this particular file comes up again, open the File Manager to "/mnt/BA16F30E16F2CA81/VirtualBox/4 - Win10-LV2021 (activated) - 0314", and see if "4 - Win10-LV2021 (activated) - 0314.vbox" is there. It's a text file containing XML: try opening with a text editor to see if it can be read. Make another text file in that folder and see if it can be saved.
MartineDeLaplaza
Posts: 2
Joined: 19. Dec 2021, 18:09

Re: Error 80004005 in Linux Ubuntu

Post by MartineDeLaplaza »

The file is there, I can open it , and I can create another file in that folder. What then ?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Error 80004005 in Linux Ubuntu

Post by scottgus1 »

Hmm, interesting. I am no Linux guru, so I don't know what else to do. Virtualbox only throws this error when it cannot find the file it is looking for. Could it be possible that there is a slight variation in a folder name, etc?

Can you navigate to the .vbox file using the Virtualbox main window's File menu, Add command? (Don't actually try to add it, just see if it comes up as a clickable file in the Add window.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error 80004005 in Linux Ubuntu

Post by fth0 »

On your Ubuntu host, open a terminal (e.g. Ctrl+Alt+T), enter the following command and post the listing.txt file:

Code: Select all

(mount && ls -alFR /mnt/BA16F30E16F2CA81/VirtualBox/) > listing.txt
This will give us detailed information about the mounted folder and the access rights and permissions of the VirtualBox VM files.
Post Reply