LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-20-2013, 10:01 PM   #1
linuxPCplus
Member
 
Registered: Apr 2012
Location: Carlisle, Iowa, USA
Distribution: This changes often, but currently Bodhi 2.2
Posts: 84

Rep: Reputation: Disabled
Virtualbox problems


So I am trying to install windows & PClinuxOS in virtualbox's. Everything goes fine with the initial congiuration, but when I try to start the machines to actually install the OS, I get 2 errors about some kernal modue not being installed:

"Failed to open a session for the virtual machine XP.
The virtual machine 'XP' has terminated unexpectedly during startup with exit code 1."
Followed by this error a second later:
"Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."

I try to run the command it advises, but that fails too with this output: wolf@lpcplus-wolf:~$ sudo /etc/init.d/vboxdrv setup
sudo: /etc/init.d/vboxdrv: command not found
The DKMS package IS installed.
I have tried removing VB then reinstalling it.
Can anyone help with this?
 
Old 02-21-2013, 08:25 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
You should install DKMS as this is required to build the VirtualBox kernel module.
 
Old 02-21-2013, 05:26 PM   #3
linuxPCplus
Member
 
Registered: Apr 2012
Location: Carlisle, Iowa, USA
Distribution: This changes often, but currently Bodhi 2.2
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
You should install DKMS as this is required to build the VirtualBox kernel module.
You should READ the full post before you reply! The DKMS packager IS INSTALLED! Clearly stated in my post.
 
Old 02-21-2013, 05:36 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by linuxPCplus View Post
You should READ the full post before you reply! The DKMS packager IS INSTALLED! Clearly stated in my post.
My apologies, not sure how I missed that.
Have you purged the VirtualBox and DKMS installs rather than just removing them?
 
Old 02-21-2013, 07:30 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Which distro are you using as host? It may be possible that the distro uses a different init system, so that the command given by Virtualbox won't work.
For example, on Slackware I have to use
Code:
/etc/rc.d/rc.vboxdrv setup
due to the BSD style init system.
 
Old 02-21-2013, 10:20 PM   #6
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
I agree, which distro are you using?
Also, are you using the packaged version which is often provided in a repo, or are you using the build version often provided in a third party repo?
 
Old 02-22-2013, 06:18 PM   #7
linuxPCplus
Member
 
Registered: Apr 2012
Location: Carlisle, Iowa, USA
Distribution: This changes often, but currently Bodhi 2.2
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Knightron View Post
I agree, which distro are you using?
Also, are you using the packaged version which is often provided in a repo, or are you using the build version often provided in a third party repo?
The problem was solved. But to answer your questions, I am using Bodhi. As it turns out, I had to install through bodhi itself becuase of some kind of differences in the way Ubuntu & Bodhi install packages.
 
  


Reply

Tags
kernel, virtualbox



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
huge.s and VirtualBox problems. g4ry Slackware 2 12-24-2012 09:31 AM
VirtualBox 4.0.0 Problems with XP and Application tronayne Slackware 15 04-13-2011 02:43 PM
VirtualBox.SlackBuild problems joegumbo Slackware 2 09-01-2008 01:44 PM
VirtualBox - problems Franz1234 Ubuntu 14 06-09-2007 10:41 PM

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

All times are GMT -5. The time now is 08:43 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