The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: note/para
Context English State
After modifying the settings, boot the newly installed FreeBSD virtual machine.
Configuring FreeBSD on <application>VMware Fusion</application>
After FreeBSD has been successfully installed on <trademark class="registered">Mac OS</trademark> X with <application>VMware Fusion</application>, there are a number of configuration steps that can be taken to optimize the system for virtualized operation.
The most important step is to reduce the <option>kern.hz</option> tunable to reduce the CPU utilization of FreeBSD under the <application>VMware Fusion</application> environment. This is accomplished by adding the following line to <filename>/boot/loader.conf</filename>:
Without this setting, an idle FreeBSD <application>VMware Fusion</application> guest will use roughly 15% of the CPU of a single processor <trademark class="registered">iMac</trademark>. After this change, the usage will be closer to 5%.
All of the FireWire, and USB device drivers can be removed from a custom kernel configuration file. <application>VMware Fusion</application> provides a virtual network adapter used by the <citerefentry><refentrytitle>em</refentrytitle><manvolnum>4</manvolnum></citerefentry> driver, so all network devices except for <citerefentry><refentrytitle>em</refentrytitle><manvolnum>4</manvolnum></citerefentry> can be removed from the kernel.
The most basic networking setup uses DHCP to connect the virtual machine to the same local area network as the host <trademark class="registered">Mac</trademark>. This can be accomplished by adding <literal>ifconfig_em0="DHCP"</literal> to <filename>/etc/rc.conf</filename>. More advanced networking setups are described in <xref linkend="advanced-networking"/>.
FreeBSD as a Guest on <trademark>VirtualBox</trademark>
FreeBSD works well as a guest in <application><trademark>VirtualBox</trademark></application>. The virtualization software is available for most common operating systems, including FreeBSD itself.
The <application><trademark>VirtualBox</trademark></application> guest additions provide support for:
Clipboard sharing.
Mouse pointer integration.
Host time synchronization.
Window scaling.
Seamless mode.
These commands are run in the FreeBSD guest.
First, install the <package>emulators/virtualbox-ose-additions</package> package or port in the FreeBSD guest. This will install the port:
<prompt>#</prompt> <userinput>cd /usr/ports/emulators/virtualbox-ose-additions &amp;&amp; make install clean</userinput>
Add these lines to <filename>/etc/rc.conf</filename>:
If <citerefentry><refentrytitle>ntpd</refentrytitle><manvolnum>8</manvolnum></citerefentry> or <citerefentry><refentrytitle>ntpdate</refentrytitle><manvolnum>8</manvolnum></citerefentry> is used, disable host time synchronization:
<application>Xorg</application> will automatically recognize the <literal>vboxvideo</literal> driver. It can also be manually entered in <filename>/etc/X11/xorg.conf</filename>:
Section "Device"
Identifier "Card0"
Driver "vboxvideo"
VendorName "InnoTek Systemberatung GmbH"
BoardName "VirtualBox Graphics Adapter"
To use the <literal>vboxmouse</literal> driver, adjust the mouse section in <filename>/etc/X11/xorg.conf</filename>:
Section "InputDevice"
Identifier "Mouse0"
Driver "vboxmouse"
<acronym>HAL</acronym> users should create the following <filename>/usr/local/etc/hal/fdi/policy/90-vboxguest.fdi</filename> or copy it from <filename>/usr/local/share/hal/fdi/policy/10osvendor/90-vboxguest.fdi</filename>:
&lt;?xml version="1.0" encoding="utf-8"?&gt;
# Sun VirtualBox
# Hal driver description for the vboxmouse driver
# $Id: chapter.xml,v 1.33 2012-03-17 04:53:52 eadler Exp $

Copyright (C) 2008-2009 Sun Microsystems, Inc.

This file is part of VirtualBox Open Source Edition (OSE, as
available from This file is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License (GPL) as published by the Free Software
Foundation, in version 2 as it comes in the "COPYING" file of the
VirtualBox OSE distribution. VirtualBox OSE is distributed in the
hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.

Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
Clara, CA 95054 USA or visit if you need
additional information or have any questions.
&lt;deviceinfo version="0.2"&gt;
&lt;match key="info.subsystem" string="pci"&gt;
&lt;match key="info.product" string="VirtualBox guest Service"&gt;
&lt;append key="info.capabilities" type="strlist"&gt;input&lt;/append&gt;
&lt;append key="info.capabilities" type="strlist"&gt;input.mouse&lt;/append&gt;
&lt;merge key="input.x11_driver" type="string"&gt;vboxmouse&lt;/merge&gt;
&lt;merge key="input.device" type="string"&gt;/dev/vboxguest&lt;/merge&gt;
Shared folders for file transfers between host and VM are accessible by mounting them using <literal>mount_vboxvfs</literal>. A shared folder can be created on the host using the VirtualBox GUI or via <command>vboxmanage</command>. For example, to create a shared folder called <replaceable>myshare</replaceable> under <filename><replaceable>/mnt/bsdboxshare</replaceable></filename> for the VM named <replaceable>BSDBox</replaceable>, run:
<prompt>#</prompt> <userinput>vboxmanage sharedfolder add '<replaceable>BSDBox</replaceable>' --name <replaceable>myshare</replaceable> --hostpath <replaceable>/mnt/bsdboxshare</replaceable></userinput>
Note that the shared folder name must not contain spaces. Mount the shared folder from within the guest system like this:


No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: note/para
Source string location
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 7230