Skip to content

Instantly share code, notes, and snippets.

@digizeph
Created October 30, 2015 18:27
Show Gist options
  • Select an option

  • Save digizeph/5447ec91b12cd31e1efa to your computer and use it in GitHub Desktop.

Select an option

Save digizeph/5447ec91b12cd31e1efa to your computer and use it in GitHub Desktop.
The installation messages of VirtualBox on FreeBSD.
Message from virtualbox-ose-4.3.32:
=============================================================================
VirtualBox was installed.
You need to load the vboxdrv kernel module via /boot/loader.conf:
vboxdrv_load="YES"
You also have to add all users to your vboxusers group in order to use vbox.
% pw groupmod vboxusers -m jerry
Reboot the machine to load the needed kernel modules.
Bridging Support:
=================
For bridged networking please add the following line to your /etc/rc.conf:
vboxnet_enable="YES"
USB Support:
============
For USB support your user needs to be in the operator group and needs read
and write permissions to the USB device.
% pw groupmod operator -m jerry
Add the following to /etc/devfs.rules (create if it doesn't exist):
[system=10]
add path 'usb/*' mode 0660 group operator
To load these new rule add the following to /etc/rc.conf:
devfs_system_ruleset="system"
Then restart devfs to load the new rules:
% /etc/rc.d/devfs restart
Troubleshooting:
================
Running VirtualBox as non-root user may fail with a fatal error
NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
Check wiki page for known issues and troubleshooting:
http://wiki.freebsd.org/VirtualBox
Please report any problems to emulation@. Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment