Thursday, May 19, 2011

VirtualBox on vboxdrv modprobe fix

linuxheaders=$(echo -ne linux-headers-$(uname -r))
sudo apt-get install $linuxheaders
sudo modprobe vboxdrv

-Creates variable for the headers of the linux kernel you're running
-apt-get installs the headers
-adds the module to your kernel

1 comment:

  1. Mine is there but keeps unloading and then not re-loading. Isn't there a modprobe.conf under /etc somewhere where this can be addressed?

    ReplyDelete