Loading kernel modules for virtualbox via script

Doug Barton dougb at FreeBSD.org
Tue Dec 22 20:22:03 UTC 2009


The appropriate way to do this is to add them to /boot/loader.conf,
like this:

vboxdrv_load="yes"
vboxnetflt_load="yes"
vboxnetadp_load="yes"

You could also write a new-style rc.d script to do this fairly easily,
see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.html
for more information. There are also existing ports that use rc.d to
load kernel modules, although none of the names come to mind off hand.


Doug

-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/



More information about the freebsd-emulation mailing list