You are not logged in.

#1 2010-08-18 21:17:49

binskipy2u
Banned
Registered: 2009-09-14
Posts: 212

virtualbox no longer works after kernel update <solved>

and before you say.. read the wiki, use google, check the forums.. I DID..
here's the message i got
*****
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. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

***
/etc/init.d/vboxdrv setup: command not found  <---i pasted it to prove ive googled, wiki'd, and read the forums.. so what did I miss


I did that command under my user name, sudo, and root.. said command not found.. when of course its found, it worked before 1.i used virtual box just before the kernel upgrade, 2. why isnt this command working under root or any other way?

i just finished setting up windows 7 with the few apps i like. please don't tell me i have to reinstall virtualbox and lose everything..
ive tried rebooting, loggin in and out a few times.. etc
any ideas??? why what the WIKI says does NOT work at all??

Last edited by binskipy2u (2010-08-18 21:30:09)


"Sometimes you comfort the afflicted, other times you AFFLICT the COMFORTABLE"

Offline

#2 2010-08-18 21:22:55

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: virtualbox no longer works after kernel update <solved>

try

/etc/rc.d/vboxdrv setup

After rebuilding

/etc/rc.d/rc.vboxdrv start

or just restart

Offline

#3 2010-08-18 21:24:36

jauntale
Member
Registered: 2009-06-26
Posts: 27

Re: virtualbox no longer works after kernel update <solved>

Try /etc/rc.d/vboxdrv setup

Offline

#4 2010-08-18 21:29:51

binskipy2u
Banned
Registered: 2009-09-14
Posts: 212

Re: virtualbox no longer works after kernel update <solved>

post number 2 worked.. but the second command came back "command not found" so I rebooted..
I guess this happened ,the command that virtualbox returned to me to run didnt work because arch is setup differently?

thanks


"Sometimes you comfort the afflicted, other times you AFFLICT the COMFORTABLE"

Offline

#5 2010-08-19 09:13:21

icarus-c
Member
Registered: 2009-11-12
Posts: 17

Re: virtualbox no longer works after kernel update <solved>

when you install virtualbox_bin package,  pacman should have told you:

==> Run \`/etc/rc.d/vboxdrv setup\` as root every time your kernel is
==> upgraded, to compile the module for the new kernel version.

And yes, '/etc/init.d/vboxdrv setup' is likely hardcoded in virtualbox and does not reflect how your distro setup is.
The Arch Way is to put service script to  /etc/rc.d/  instead of /etc/init.d
also note that  the vboxdrv service script from virtualbox_bin is different from other distros
and that /etc/rc.d/rc.vboxdrv  isn't shipped by virtualbox_bin (hence you get command not found)
in additions, vboxdrv from virtualbox_bin  has only   "setup" function

Offline

#6 2010-08-19 19:19:22

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: virtualbox no longer works after kernel update <solved>

Also, if you don't want to reboot, you should do "modprobe vboxdrv" after you rebuild the kernel module.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

Board footer

Powered by FluxBB