Virtualization: VirtualBox

Configuration

by ross at 07:24:00 on October 28, 2011

Install

# cd /usr/ports/emulators/virtualbox-ose
# make install clean
# rehash

Options for virtualbox-ose:

  • If you need GUI check QT and X11
  • Check GUESTADDITIONS
  • If you need headless mode check VNC

You must have sources of your system available in /usr/src. After upgrading system don't forget to rebuild VirtualBox kernel module: portupgrade -f virtualbox-ose-kmod.

Add to /boot/loader.conf:

vboxdrv_load="YES"
# kldload vboxdrv

If you are going to use any network mode other than default NAT, then add to /etc/rc.conf:

vboxnet_enable="YES"
# service vboxnet start

GUI

Using VirtualBox via GUI is very simple, I won't descibe it here. Just run VirtualBox command or find it in the applications menu of your DE.

Comments