NS_ERROR_FAILURE (0x80004005) from Virtual Box startup

Asked by tadiv

So -- after I upgraded to 10.04, I had some issues and had to clean install - but before that, I got help moving my /home directory, so my original virtual box drive file remains intact. When I try to start virtual box I get an error dialog pop that says:

Failed to create the VirtualBox COM object.
The application will now terminate.

Error in /home/tadiv/.VirtualBox/VirtualBox.xml (line 3) -- Cannot handle settings version '1.2-linux'.
/build/buildd/virtualbox-ose-3.1.6-dfsg/src/VBox/Main/VirtualBoxImpl.cpp[420] (nsresult VirtualBox::init()).

The details list:

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: VirtualBox
Interface: IVirtualBox {2158464a-f706-414b-a8c4-fb589dfc6b62}

Any suggestions? Thanks in advance.
Tom

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
François Tissandier
Solved:
Last query:
Last reply:
Revision history for this message
tadiv (tadiv-comcast) said :
#1

Oh, yes - if at all possible, I would like to keep that data on my "drive"...

Thanks again,
Tom

Revision history for this message
Federico Tello Gentile (federicotg) said :
#2

Try this in a terminal window

sudo /etc/init.d/vboxdrv setup

Revision history for this message
tadiv (tadiv-comcast) said :
#3

Result as follows:

tadiv@tadiv-desktop:~$ sudo /etc/init.d/vboxdrv setup
[sudo] password for tadiv:
sudo: /etc/init.d/vboxdrv: command not found
tadiv@tadiv-desktop:~$

Tom

Revision history for this message
Federico Tello Gentile (federicotg) said :
#4

Reinstall virtualbox. I have VirtualBox 3.2.4 and I have that file there.

Host:/etc/init.d$ ls -lh v*
-rwxr-xr-x 1 root root 11K 2010-06-02 11:49 vboxdr

Revision history for this message
tadiv (tadiv-comcast) said :
#5

Right now I get:

tadiv@tadiv-desktop:/etc/init.d$ ls -lh v*
-rwxr-xr-x 1 root root 6.1K 2010-04-15 19:12 virtualbox-ose

Should I use the pachage manager and "mark for re-installation"?

Tom

Revision history for this message
tadiv (tadiv-comcast) said :
#6

I used the Synaptic Package Manager to re-install the following packages:

virtualbox-ose;
virtualbox-ose-qt; and
virtualbox-ose-dkms.

It still does not launch. Results of the ls are:

tadiv@tadiv-desktop:/etc/init.d$ ls -lh v*
-rwxr-xr-x 1 root root 6.1K 2010-04-15 19:12 virtualbox-ose

I get the same or a similar error dialog when I try to launch the process.

Tom

Revision history for this message
François Tissandier (baloo) said :
#7

It looks like a version problem... Here is what I would try: rename /home/tadiv/.VirtualBox/ into something else.
Then start Virtualbox, it should create the .VirtualBox folder with the right settings.
Then you can copy paste your virtual machines in the new folder, and recreate them in Virtualbox.

Revision history for this message
tadiv (tadiv-comcast) said :
#8

I think I need more specific instructions -- I did a mv to rename the old directory, and VirtualBox started as you suggested, but I can't seem to get my old machine back into this new working directory. If I have the /Machines/Win directory, the app still starts, but my machine is not there. Once I copy VirtualBox.xml in to the ~/.VirtualBox (from my old copy) the app failes to start again...

Revision history for this message
tadiv (tadiv-comcast) said :
#9

I have reinstalled the OS in the virtualbox environment - I don't know that I'm going to be able to recover the data from the old drive file as when I tried to setup a new machine using that drive, the virtual machine would not boot (Windows kept failing to boot and falling to the choose safe mode menu - no option there would boot)...

I have a working machine now (with the OS reinstall) but I don't think I'll be able to recover the data from the old drive -- if anyone has some idea on how to get that data, let me know, otherwise, I think that this issue is closed.

Tom

Revision history for this message
Best François Tissandier (baloo) said :
#10

Windows XP machines are often tricky to move between versions. What I would do:

-try to uncheck some options and see if it's booting. It's hard for me to tell you which option would help, I don't know exactly which ones I had to change when I upgraded my Virtualbox versions. Hardware graphical acceleration was a problem once for me. The IDE controler was also once. So maybe it's worth playing with some settings.

-if you need to recover some data from the VM, you can create a new one, reinstall XP, then attach your old VM as a secondary hard drive. This should work, maybe with some changes in the IDE controller settings, but there is no reason why you shouldn't be able to read the files from your old VM.

Revision history for this message
tadiv (tadiv-comcast) said :
#11

"-if you need to recover some data from the VM, you can create a new one, reinstall XP, then attach your old VM as a secondary hard drive."

This worked - Thanks!
Tom

Revision history for this message
tadiv (tadiv-comcast) said :
#12

Thanks François Tissandier, that solved my question.