LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2013, 04:11 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
'/etc/init.d/vboxdrv setup'


after updating kernel to 3.9.1 (from 3.2), virtualbox doesn't work. the usual '/etc/init.d/vboxdrv setup' doesn't help because /etc/init.d/vboxdrv is missing.


'sudo /etc/init.d/virtualbox start'
fails with error:
'Starting VirtualBox kernel modulesNo suitable module for running kernel found ... failed!
failed!'


using non-OSE vbox, on Debian_testing_amd64.
how to fix?
thanks.
 
Old 06-24-2013, 04:34 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I'm no expert in virtualbox but isn't it kernel-dependent. Don't you have to rebuild your virtualbox drivers every time you update your kernel?
And what makes you say vboxdrv is missing? That's not what the error message says. This is how the system responds when it's missing:
Code:
bash: /etc/init.d/virtualbox: No such file or directory
jdk

Last edited by jdkaye; 06-24-2013 at 04:38 AM.
 
1 members found this post helpful.
Old 06-24-2013, 05:41 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
so its 'virtualbox' instead of 'vboxdrv' ? but 'vritualbox' doesnt have 'setup' option, only:

Code:
 Usage: /etc/init.d/virtualbox {start|stop|stop_vms|restart|force-reload|status}
I remember having to manually run '/etc/init.d/vboxdrv setup' after every kernel update long ago like you say. but then I installed some (perhaps virtual) packages and, iirc, it had updated drivers automatically, until now.
 
Old 06-24-2013, 07:46 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by qrange View Post
so its 'virtualbox' instead of 'vboxdrv' ? but 'vritualbox' doesnt have 'setup' option, only:
You fail to understand my message. Whether it's vboxdrv or virtualbox is irrelevant. I was merely illustrating the error message given when a file (any file) is missing. You claimed "/etc/init.d/vboxdrv is missing" in your first post. But the error message does not say that.
jdk
 
Old 06-24-2013, 07:57 AM   #5
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
yes, I know, sorry. error is
Code:
"sudo: /etc/init.d/vboxdrv: command not found"
I added second error, because I thought it was relevant.
 
Old 06-24-2013, 09:00 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I have a version of virtualbox on my backup laptop and it does not have vboxdrv in that folder. It has virtualbox. As I said before you probably need to recompile your module based on the current kernel or else restore the old kernel.
jdk
 
Old 06-25-2013, 12:53 AM   #7
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
how to recompile module for latest kernel?

edit: nevermind, found it here: http://forums.debian.net/viewtopic.p...=80468#p438052

I needed to simply reinstall with
Code:
apt-get --reinstall install virtualbox virtualbox-dkms
this one is also important:
Code:
apt-get install linux-headers-`uname -r`

Last edited by qrange; 06-25-2013 at 01:13 AM.
 
Old 05-05-2015, 10:54 PM   #8
alirezaimi
Member
 
Registered: Sep 2011
Posts: 39

Rep: Reputation: Disabled
Quote:
Originally Posted by qrange View Post
how to recompile module for latest kernel?

edit: nevermind, found it here: http://forums.debian.net/viewtopic.p...=80468#p438052

I needed to simply reinstall with
Code:
apt-get --reinstall install virtualbox virtualbox-dkms
this one is also important:
Code:
apt-get install linux-headers-`uname -r`
+1, worked for me.
Thanks.
 
  


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
VirtualBox Issue - /etc/init.d/vboxdrv setup - startup HeyDev Linux - Newbie 9 10-05-2011 06:57 AM
VirtualBox Issue - /etc/init.d/vboxdrv setup - startup HeyDev Linux - Software 2 08-12-2011 07:50 PM
[SOLVED] Oracle Virtual Box does not work! ('/etc/init.d/vboxdrv setup') dan.hoquoc Red Hat 4 07-30-2011 09:20 AM
[SOLVED] problem with /etc/init.d/vboxdrv setup brucehinrichs Linux - Software 4 03-28-2010 08:32 PM
Getting Virtual Box to run XP problem with the /etc/init.d/vboxdrv setup FrankRhoades Linux - Software 10 01-24-2010 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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