Error Loading Vbox

Asked by UbuntuAma

When i load Vbox on my Ubuntu 9.10 i get this error "
Virtual machine 'WinXPpro' has terminated unexpectedly during startup.

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
 then followed by this "The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

'/etc/init.d/vboxdrv setup'

When i go on terminal and Run Sudo etc/init.d/vboxdrv setup i get this message back

~$ sudo /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel module * done.
 * Recompiling VirtualBox kernel module
 * Look at /var/log/vbox-install.log to find out what went wrong
so if you look at the last line it shows there could be an error somewhere
i did as it says on that last line and i get ACCESS DENIED how can i get into that file not sure how to get access as it didnt ask for password etc etc

Help pls

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo /etc/init.d/vboxdrv setup

Hope this helps

Revision history for this message
UbuntuAma (ama-bone) said :
#2

Thanks marcobra, that solved my question.

Revision history for this message
Aswarp (aswarp2002) said :
#3

When I issue that command on the terminal, it reads:
 * Usage: /etc/init.d/vboxdrv {start|stop|restart|status}

So it seems that that command is not an available option for the virtualbox driver.
When I type a status I get the following:
$ sudo /etc/init.d/vboxdrv status
 * VirtualBox kernel module is not loaded.

Any suggestions greatly appreciated.

Revision history for this message
Aswarp (aswarp2002) said :
#4

Ok, I fixed this by reinstalling. Now my previously created virtual machine is starting up properly. Here is what I did:
-Open adept
-Browse for all packages with the string: "virtualbox"
-Uninstall them (there were five or so)
-Browse for all packages with the string "vbox"
-Uninstall it (there was one)
-Update sources from adept
-Browse for all packages with the string: "virtualbox"
-Install them (there were three or so, less than before)
-Browse for all packages with the string "vbox"
-Install it (there was one)
-Close adept
-Run virtualbox. You will see all of your previously created virtual machines properly detected and now booting correctly.

During the operation, KMix crashed, though I am not sure it has something to do with it.