LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2009, 09:24 PM   #1
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Rep: Reputation: 0
VirtualBox OSE won't run


I'm attempting to get VirtualBox OSE to run. I installed it with Synaptic, created a VM, and tried to start it. This came up:

Quote:
Virtual machine 'Win98box' has terminated unexpectedly during startup.


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {1e509de4-d96c-4f44-8b94-860194f710ac}
And then this:

Quote:
VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)

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'

as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I've searched for this extensively but nobody seems to have my problem. The solution I've found is to enter these commands into the terminal:

sudo aptitude update
wget http://download.virtualbox.org/virtu...repid_i386.deb
sudo dpkg -i virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb
sudo aptitude reinstall dkms
sudo /etc/init.d/vboxdrv setup

But when I get to the sudo dpkg... part here's the terminal output:

Quote:
user@computer ~ $ sudo dpkg -i virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb
dpkg: error processing virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb
And the rest of the process doesn't work at all.

Does anybody know what I'm doing wrong?
 
Old 04-10-2009, 09:56 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Did you do /etc/init.d/vboxdrv setup?? And is DKMS installed??

The latter error is because your wget failed, of couse the next steps will fail. Whatydid wget say?
 
Old 04-10-2009, 05:26 PM   #3
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Original Poster
Rep: Reputation: 0
The wget outputs this:

Quote:
user@computer ~ $ wget http://download.virtualbox.org/virtu...repid_i386.deb
--2009-04-10 17:21:12-- http://download.virtualbox.org/virtu...repid_i386.deb
Resolving download.virtualbox.org... 72.5.124.114
Connecting to download.virtualbox.org|72.5.124.114|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://dlc-cdn.sun.com/virtualbox/2....repid_i386.deb [following]
--2009-04-10 17:21:13-- http://dlc-cdn.sun.com/virtualbox/2....repid_i386.deb
Resolving dlc-cdn.sun.com... 68.142.122.120, 68.142.121.6
Connecting to dlc-cdn.sun.com|68.142.122.120|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://dlc-cdn-rd.sun.com/c1/virtual...ee69c2d586bb57 [following]
--2009-04-10 17:21:13-- http://dlc-cdn-rd.sun.com/c1/virtual...ee69c2d586bb57
Resolving dlc-cdn-rd.sun.com... 68.142.121.172, 68.142.122.72
Connecting to dlc-cdn-rd.sun.com|68.142.121.172|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33282208 (32M) [application/x-debian-package]
Saving to: `virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb?e=1239402373&h=7fb1d817b56532b117ee69c2d586bb57'

100%[======================================>] 33,282,208 1017K/s in 38s

2009-04-10 17:21:51 (865 KB/s) - `virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb?e=1239402373&h=7fb1d817b56532b117ee69c2d586bb57' saved [33282208/33282208]

user@computer ~ $
DKMS is installed, and I've reinstalled it several times. When reinstalling, this appears:

Quote:
user@computer ~ $ sudo aptitude reinstall dkms
[sudo] password for alkanetexe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages will be REINSTALLED:
dkms
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 19 not upgraded.
Need to get 0B/55.5kB of archives. After unpacking 0B will be used.
Writing extended state information... Done
(Reading database ... 105847 files and directories currently installed.)
Preparing to replace dkms 2.0.20.4-0ubuntu2.1 (using .../dkms_2.0.20.4-0ubuntu2.1_all.deb) ...
Unpacking replacement dkms ...
Processing triggers for man-db ...
Setting up dkms (2.0.20.4-0ubuntu2.1) ...
* Running DKMS auto installation service for kernel 2.6.27-11-generic * vboxdrv (2.0.4)... [fail]

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

user@computer ~ $


And as for the /etc/init.d/vboxdrv setup, this is the result:

Quote:
user@computer ~ $ /etc/init.d/vboxdrv
* Usage: /etc/init.d/vboxdrv {start|stop|restart|status}
user@computer ~ $
 
Old 04-10-2009, 05:28 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
user@computer ~ $ /etc/init.d/vboxdrv
* Usage: /etc/init.d/vboxdrv {start|stop|restart|status}
user@computer ~ $
You actually have to type the whole thing:
Code:
sudo /etc/init.d/vboxdrv setup
 
Old 04-10-2009, 05:34 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Code:
Saving to: `virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb?e=1239402373&h=7fb1d817b56532b117ee69c2d586bb57'
The filename is different.
 
Old 04-11-2009, 12:20 AM   #6
alkanetexe
LQ Newbie
 
Registered: Jan 2009
Posts: 15

Original Poster
Rep: Reputation: 0
Okayokayokay.

I feel like an idiot. My genius friend explained everything to me and now I feel totally stupid for not seeing the problem myself. Thanks for your help, AlucardZero and Quakeboy02.

Last edited by alkanetexe; 04-11-2009 at 01:12 AM.
 
Old 05-05-2009, 09:49 PM   #7
parkhensley
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 2
As root /etc/init.d/vboxdrv setup returns the usage phrase: {start|stop|restart|status} and as user sudo /etc/init.d/vboxdrv setup returns the same thing. I can't get this to work. what is wrong? Thanks.
 
Old 05-06-2009, 05:56 PM   #8
parkhensley
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 2
vboxdrv setup

In attempting to set up Virtualbox, this command is supposed to be run: user@computer ~ $ /etc/init.d/vboxdrv

This is the result regardless if this is entered as root or as user or as sudo:
* Usage: /etc/init.d/vboxdrv {start|stop|restart|status}

What is wrong
 
Old 05-06-2009, 06:18 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by parkhensley View Post
In attempting to set up Virtualbox, this command is supposed to be run: user@computer ~ $ /etc/init.d/vboxdrv

This is the result regardless if this is entered as root or as user or as sudo:
* Usage: /etc/init.d/vboxdrv {start|stop|restart|status}

What is wrong
Please open your own threads in the future, rather than tail-ending on another similar one.

The command is precisely what I posted. Nothing more and nothing less.
Code:
sudo /etc/init.d/vboxdrv setup
 
Old 05-06-2009, 09:22 PM   #10
parkhensley
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 2
I copied and pasted your line:

sudo /etc/init.d/vboxdrv setup

It just returns the usage {start|stop|restart|status} line. I still need to know what's going on.
 
Old 05-06-2009, 09:38 PM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
That makes no sense. Have you tried running the restart command, then?
 
Old 05-06-2009, 11:50 PM   #12
parkhensley
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 2
This is the result of running

sudo /etc/init.d/vboxdrv restart:

stopping VirtualBox kernel module vboxdrv
starting VirtualBox kernel module vboxdrv
No suitable module for running kernel found.
 
Old 05-07-2009, 12:43 PM   #13
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
OK, apparently we are running different VirtualBox from each other. In mine, there are more options. If you have installed from OSE source, then I think you need to RTFM again and go to where you compile and install the driver. If you have installed from a repository (you don't mention your distro) then you may have to download the driver module separately from your repo. In any case, the problem is that /dev/vboxdrv (i.e. the driver or kernel interface) is missing from your system, and it seems that your init.d script doesn't know how to make it.
 
Old 05-08-2009, 07:40 AM   #14
parkhensley
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 2
I am using Mint. Mint provides a link to an installation program for VirtualBox. This is what I was using. Then when that didn't work, I went to the VirtualBox.org site and entered the command that they said would work:

apt-get install gcc g++ bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev \
libsdl1.2-dev libxcursor-dev libasound2-dev libstdc++5 \
libhal-dev libpulse-dev libxml2-dev libxslt1-dev \
python2.5-dev libqt4-dev qt4-dev-tools libcap-dev \
libxmu-dev mesa-common-dev libglu1-mesa-dev \
linux-kernel-headers

Here everything seems to go fine untill linux-kernel-headers with this message:

Package linux-kernel-headers is a virtual package provided by:
linux-libc-dev 2.6.27-11.31
You should explicitly select one to install.
E: Package linux-kernel-headers has no installation candidate

I don't know if this is the problem or what to do about it if it is. Thanks.
 
Old 05-08-2009, 01:13 PM   #15
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Did you try installing linux-libc-dev? I don't know anything about Mint, but if you have synaptic, run that and install the linux-headers package for your kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is usb sopport available in virtualbox-ose? dv502 Linux - General 4 09-18-2009 07:16 AM
Virtualbox OSE vs PUEL numtre Linux - Software 2 01-27-2009 04:50 AM
file transfer with virtualbox OSE oguejiofor obiora Linux - Newbie 2 11-15-2008 10:51 PM
Virtualbox OSE is stuck at spawing session shadowers Linux - Software 2 11-15-2008 08:08 PM
installing ose virtualbox Fred Caro Linux - Newbie 3 06-20-2008 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration