![]() |
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:
Quote:
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:
Does anybody know what I'm doing wrong? |
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? |
The wget outputs this:
Quote:
Quote:
And as for the /etc/init.d/vboxdrv setup, this is the result: Quote:
|
Quote:
Code:
sudo /etc/init.d/vboxdrv setup |
Code:
Saving to: `virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb?e=1239402373&h=7fb1d817b56532b117ee69c2d586bb57' |
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. |
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.
|
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 |
Quote:
The command is precisely what I posted. Nothing more and nothing less. Code:
sudo /etc/init.d/vboxdrv setup |
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. |
That makes no sense. Have you tried running the restart command, then?
|
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. |
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.
|
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. |
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 12:27 PM. |