-   Linux - Software (
-   -   VirtualBox broken after kernel update in Arch Linux (

MTK358 09-05-2010 01:16 PM

VirtualBox broken after kernel update in Arch Linux
I use Arch Linux and the kernel got upgraded, and it broke VirtualBox. It says to run "/etc/init.d/vboxdrv setup", but such a file does not exist. The Arch Wiki says "/etc/rc.d/rc.vboxdrv setup", but that doesn't exist either. What should I do?

And is it possible to write a script that runs on startup that automatically fixes VirtualBox whenever the kernel is upgraded?

Kenny_Strawn 09-05-2010 01:25 PM

My good friend MTK358: What about reinstalling VBox with Pacman?

MTK358 09-05-2010 01:32 PM


Originally Posted by Kenny_Strawn (Post 4088795)
My good friend MTK358: What about reinstalling VBox with Pacman?

Not sure if it's worth the trouble, it's installed from AUR.

If no-one will give me any more suggestions i might try it.

Kenny_Strawn 09-05-2010 01:50 PM

Besides, /etc/init.d/vboxdrv setup and /etc/rc.d/rc.vboxdrv setup are commands that you type at the shell, not files. If you are browsing to the scripts with Nautilus or Dolphin, you've got it all wrong. "Setup" is a command that each of those scripts execute. "/etc/init.d/vboxdrv" and "/etc/rc.d/rc.vboxdrv" are the actual file names.

MTK358 09-05-2010 02:09 PM

But they *are* files, even if you execute them with the command line. Every command (except for shell builtins) is a file.


# /etc/init.d/vboxdrv setup
bash: /etc/init.d/vboxdrv: No such file or directory

Kenny_Strawn 09-05-2010 03:06 PM

Yikes, that's pretty serious, so really, the only thing that will restore those files is Pacman. The kernel update, I'm sure, could have easily left you with nothing to do but reinstall Virtual Box.

MTK358 09-05-2010 03:21 PM


MTK358 09-05-2010 03:28 PM

Didn't help. The only difference is that it now says Oracle instead of Sun :)

Kenny_Strawn 09-05-2010 09:40 PM

Did you also try installing the DKMS package? How about rebooting so the modules are loaded?

MTK358 09-06-2010 07:09 AM

WTF? It works today! Maybe it needed a reboot.

And as far as I remember it said that the DKMS package is only for Ubuntu or something in the VirtualBox error message.

eveningsky339 09-06-2010 07:51 PM

I gave up on VirtualBox after several OSes failed to install for no apparent reason. I tried giving Xen a go but it seems complicated and better suited for servers. KVM seems to be working well so far, fairly easy to set up. I'm using a simple GUI to manage my Debian VM.

Besides, VB is now owned by Oracle...

All times are GMT -5. The time now is 05:46 AM.