bsd:notes:virtualbox
Table of Contents
VirtualBox
pkg install virtualbox-ose
Set-up
- Requires
src
for kmod - Reboot after doing everything
su -l
ee '/boot/loader.conf'
vboxdrv_load="YES"
ee '/etc/rc.conf'
vboxnet_enable="YES" devfs_system_ruleset="system"
pw groupmod vboxusers -m 'espionage724'
ee '/etc/devfs.conf'
# VirtualBox own vboxnetctl root:vboxusers perm vboxnetctl 0660 [system=10] add path 'usb/*' mode 0660 group operator perm cd* 0660 perm xpt0 0660 perm pass* 0660 # End
Install Notes
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. If you experience "Network: write Failed: Cannot allocate memory" errors try to increase net.graph.maxdata in /boot/loader.conf vm.max_user_wired https://bugs.freebsd.org/252227 ("RAM in GB" - max(1, "RAM in GB" / 32)) * 1024*1024*1024 / PAGE_SIZE PAGE_SIZE on x86 is 4096. https://bugs.freebsd.org/259399
/var/www/wiki/data/pages/bsd/notes/virtualbox.txt · Last modified: by Sean Rhone