How to rebuild vboxdrv on Arch Linux

view full story

http://www.go2linux.org – Everytime I upgrade my kernel on Arch Linux, VirtualBox stops working, and everytime, I can't remember the command to rebuild it. So I am copying here how to do it, so I can come and read it. --------------------------------------------------------------------------- IMPORTANT NOTES: - Run "vbox_build_module" as root every time your kernel is upgraded, to compile the module for the new kernel version. - Add your user to the vboxusers group: gpasswd -a USERNAME vboxusers - Add "vboxdrv" to the MODULES array in your "/etc/rc.conf" - Add "vboxnetflt" to MODULES if you want Host Interface networking. - Add "vboxnetadp" to MODULES if you want Host-Only networking. - If USB does not work for you out-of-the-box, add the following line to "/etc/fstab": none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0 --------------------------------------------------------------------------- Hope this may also be useful for anyone finding it on google. (HowTos)