VirtualBox Archlinux

From Vault13KB

Jump to: navigation, search

Contents

VirtualBox

Install VirtualBox OSE(Open Source Edition) with pacman

Search for the packages

$ pacman -Ss virtualbox

community/virtualbox-additions 2.1.2-1
Guest additions for VirtualBox
community/virtualbox-modules 2.1.2-1
Kernel modules for VirtualBox (vboxdrv)
community/virtualbox-ose 2.1.2-1
Powerful x86 virtualization for enterprise as well as home use (Open Source Edition)
community/virtualbox-ose-additions 2.0.4-1
Guest Additions for VirtualBox (Open Source Edition)
community/virtualbox-ose-additions-modules 2.0.4-1
Kernel modules for VirtualBox Guest Additions

Installing packages

$ sudo pacman -S virtualbox-ose virtualbox-ose-additions-modules virtualbox-ose-additions

Loading module

Use:

$ sudo modprobe vboxdrv

to load the module into de kernel and add vboxdrv to "MODULES" into /etc/rc.conf so it will load automatically on your next boot.

Adding user to vboxusers group

REMEMBER to change USERNAME with your linux user

$ sudo gpasswd -a USERNAME vboxusers

Launch VirtualBox

WARNING!!:Case sensitive

$ VirtualBox

Extras

  • 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 the following line to "/etc/fstab" if you want the vboxusers to have permission to emulate USB devices: none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0

Optional dependencies for virtualbox_bin

  • qt: For VirtualBox GUI
  • sdl: For VBoxSDL
Personal tools