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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-09-2009, 09:24 PM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 15
Rep:
|
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?
|
|
|
04-10-2009, 09:56 AM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
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?
|
|
|
04-10-2009, 05:26 PM
|
#3
|
LQ Newbie
Registered: Jan 2009
Posts: 15
Original Poster
Rep:
|
The wget outputs this:
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 ~ $
|
|
|
|
04-10-2009, 05:28 PM
|
#4
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
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
|
|
|
04-10-2009, 05:34 PM
|
#5
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Code:
Saving to: `virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb?e=1239402373&h=7fb1d817b56532b117ee69c2d586bb57'
The filename is different.
|
|
|
04-11-2009, 12:20 AM
|
#6
|
LQ Newbie
Registered: Jan 2009
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
05-05-2009, 09:49 PM
|
#7
|
LQ Newbie
Registered: May 2009
Posts: 7
Rep:
|
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.
|
|
|
05-06-2009, 05:56 PM
|
#8
|
LQ Newbie
Registered: May 2009
Posts: 7
Rep:
|
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
|
|
|
05-06-2009, 06:18 PM
|
#9
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
Quote:
Originally Posted by parkhensley
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
|
|
|
05-06-2009, 09:22 PM
|
#10
|
LQ Newbie
Registered: May 2009
Posts: 7
Rep:
|
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.
|
|
|
05-06-2009, 09:38 PM
|
#11
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
That makes no sense. Have you tried running the restart command, then?
|
|
|
05-06-2009, 11:50 PM
|
#12
|
LQ Newbie
Registered: May 2009
Posts: 7
Rep:
|
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.
|
|
|
05-07-2009, 12:43 PM
|
#13
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
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.
|
|
|
05-08-2009, 07:40 AM
|
#14
|
LQ Newbie
Registered: May 2009
Posts: 7
Rep:
|
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.
|
|
|
05-08-2009, 01:13 PM
|
#15
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 07:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|