Installing Virtual Box on Arch Linux

From GlassTTY
Jump to: navigation, search


Follow the Arch Wiki to install Virtualbox and use the virtualbox-host-modules-arch modules. e.g.

E.g. install the packages...

   pacman -S virtualbox
   pacman -S virtualbox-host-modules-arch
   pacman -S net-tools

Menu item is 'Oracle Virtual Box...'

Execute

   modprobe vboxdrv

This will create the following file.

   /usr/lib/modules-load.d/virtualbox-host-modules-arch.conf

The above file will contains the following four modules.

   vboxdrv
   vboxpci
   vboxnetadp
   vboxnetflt

The following commands will load the main module, saving a reboot during the installation process.

   modprobe vboxdrv
   modprobe vboxpci
   modprobe vboxnetadp
   modprobe vboxnetflt

Add a user to the vbox users group e.g.

   gpasswd -a john vboxusers