Home arrow Latest Tutorials arrow Installing VirtualBox under FreeBSD
Installing VirtualBox under FreeBSD PDF  
Digg Reddit Ma.gnolia Stumble Upon Facebook Twitter Google Yahoo! MyWeb Furl" BlinkList Technorati Mixx Bookmark

VirtualBox is an open source virtualized sollution from Sun. It now works under FreeBSD which is a great news for FreeBSD community. It's fast (faster than qmem), it's stable and it is probably the best virtualized sollution on FreeBSD, well except jails which have other purposes (we can't compare those two). All this for free.

Now, installing Virtual Box from ports is an easy task but are some things you must know, so you will not waste time with installation.

So here are Virtual Box installation steps:

Step 1. Build and install Virtual Box from ports
-----------------------------------------------

cd /usr/ports/emulators/virtualbox
make install clean


Step 2. Make some necessary configurations to your system
-------------------------------------------------------------

After you've installed Virtual Box you must do the following configs, in order for your VirtualBox app to start:

Mount /proc

mount -t procfs proc /proc


Load virtual box kernel modules:

kldload vboxdrv
kldload vboxnetflt

(vboxnetflt will help you to be able to configure VirtualBox hosts network cards in bridged mode)

Add your user to vboxusers group:

pw groupmod vboxusers -m root

(root is in my case, if you run VirtualBox from other account replace root with that account name).

To make your changes permanent load kernel modules at boot by adding to /boot/loader.conf the following lines:

vboxdrv_load="YES"
vboxnetflt_load="YES"

To mount automaticaly /proc, add the following line to /etc/fstab

proc /proc procfs rw 0 0


Step 3. Test VirtualBox
-----------------------

Run from command line:

VirtualBox


 
< Prev   Next >

Other BSD Systems

OpenBSD

Polls

Best BSD firewall?