- Add Virtual PC on Windows(R) section.

Obtained from:	The FreeBSD Traditional Chinese Project
This commit is contained in:
Chin-San Huang 2007-10-13 12:01:20 +00:00
parent e8f6cf3fad
commit 21a93d5607
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=30894
15 changed files with 212 additions and 0 deletions

View file

@ -146,6 +146,19 @@ IMAGES_EN+= virtualization/parallels-freebsd10.png
IMAGES_EN+= virtualization/parallels-freebsd11.png
IMAGES_EN+= virtualization/parallels-freebsd12.png
IMAGES_EN+= virtualization/parallels-freebsd13.png
IMAGES_EN+= virtualization/virtualpc-freebsd1.png
IMAGES_EN+= virtualization/virtualpc-freebsd2.png
IMAGES_EN+= virtualization/virtualpc-freebsd3.png
IMAGES_EN+= virtualization/virtualpc-freebsd4.png
IMAGES_EN+= virtualization/virtualpc-freebsd5.png
IMAGES_EN+= virtualization/virtualpc-freebsd6.png
IMAGES_EN+= virtualization/virtualpc-freebsd7.png
IMAGES_EN+= virtualization/virtualpc-freebsd8.png
IMAGES_EN+= virtualization/virtualpc-freebsd9.png
IMAGES_EN+= virtualization/virtualpc-freebsd10.png
IMAGES_EN+= virtualization/virtualpc-freebsd11.png
IMAGES_EN+= virtualization/virtualpc-freebsd12.png
IMAGES_EN+= virtualization/virtualpc-freebsd13.png
# Images from the cross-document image library
IMAGES_LIB= callouts/1.png

View file

@ -563,6 +563,205 @@ xenbr1 8000.feffffffffff no vif0.1
</sect2>
<sect2 id="virtualization-guest-virtualpc">
<title>Virtual PC on &windows;</title>
<para><application>Virtual PC</application> for &windows; is a
&microsoft; software product available for free download. See <ulink
url="http://www.microsoft.com/windows/downloads/virtualpc/sysreq.mspx">
system requirements</ulink>. Once <application>Virtual PC</application>
has been installed on &microsoft.windows;, the user must configure a
virtual machine and then install the desired guest operating
system.</para>
<sect3 id="virtualization-guest-virtualpc-install">
<title>Installing FreeBSD on Virtual PC/&microsoft.windows;</title>
<para>The first step in installing FreeBSD on &microsoft.windows;
/<application>Virtual PC</application> is to create a new virtual
machine for installing FreeBSD. Select <guimenuitem>Create a
virtual machine</guimenuitem> when prompted:</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd1">
</imageobject>
</mediaobject>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd2">
</imageobject>
</mediaobject>
<para>And select <guimenuitem>Other</guimenuitem> as the
<guimenuitem>Operating system</guimenuitem> when prompted:</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd3">
</imageobject>
</mediaobject>
<para>Then, choose a reasonable amount of disk and
memory depending on your plans for this virtual FreeBSD
instance. 4GB and 512MB of RAM work well for most uses of
FreeBSD under <application>Virtual PC</application>:</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd4">
</imageobject>
</mediaobject>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd5">
</imageobject>
</mediaobject>
<para>Save and finish the configuration:</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd6">
</imageobject>
</mediaobject>
<para>Select your FreeBSD virtual machine and click
<guimenu>Settings</guimenu>, then set the type of networking and a
network interface:</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd7">
</imageobject>
</mediaobject>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd8">
</imageobject>
</mediaobject>
<para>After your FreeBSD virtual machine has been created,
you will need to install FreeBSD on it. This is best done
with an official FreeBSD CDROM or with an ISO image
downloaded from an official FTP site. When you have the
appropriate ISO image on your local &windows; filesystem or a
CDROM in your CD drive, double click on your FreeBSD
virtual machine to boot. Then, click <guimenu>CD</guimenu> and
choose <guimenu>Capture ISO Image...</guimenu> on
<application>Virtual PC</application> window. This
will bring up a window that allows you to associate the
CDROM drive in your virtual machine with an ISO file on
disk or with your real CDROM drive.</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd9">
</imageobject>
</mediaobject>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd10">
</imageobject>
</mediaobject>
<para>Once you have made this association with your CDROM
source, reboot your FreeBSD virtual machine as normal by
clicking the <guimenu>Action</guimenu> and
<guimenu>Reset</guimenu>. <application>Virtual PC</application>
will reboot with a special BIOS that first checks if you have a
CDROM just as a normal BIOS would do.</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd11">
</imageobject>
</mediaobject>
<para>In this case it will find the FreeBSD installation media
and begin a normal <application>sysinstall</application> based
installation as described in <xref linkend="install">. You
may install, but do not attempt to configure X11 at
this time.</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd12">
</imageobject>
</mediaobject>
<para>When you have finished the installation, remember to eject
CDROM or release ISO image. Finally, reboot into your newly
installed FreeBSD virtual machine.</para>
<mediaobject>
<imageobject>
<imagedata fileref="virtualization/virtualpc-freebsd13">
</imageobject>
</mediaobject>
</sect3>
<sect3 id="virtualization-guest-virtualpc-configure">
<title>Configuring FreeBSD on &microsoft.windows;/Virtual PC</title>
<para>After FreeBSD has been successfully installed on
&microsoft.windows; with <application>Virtual PC</application>,
there are a number of configuration steps that can be taken to
optimize the system for virtualized operation.</para>
<procedure>
<step>
<title>Set boot loader variables</title>
<para>The most important step is to reduce the
<option>kern.hz</option> tunable to reduce the CPU utilization
of FreeBSD under the <application>Virtual PC</application>
environment. This is accomplished by adding the following
line to <filename>/boot/loader.conf</filename>:</para>
<programlisting>kern.hz=100</programlisting>
<para>Without this setting, an idle FreeBSD
<application>Virtual PC</application> guest
OS will use roughly 40% of the CPU of a single
processor computer. After this change the usage will be
closer to a mere 3%.</para>
</step>
<step>
<title>Create a new kernel configuration file</title>
<para>You can remove all of the SCSI, FireWire, and USB
device drivers. <application>Virtual PC</application>
provides a virtual network
adapter used by the &man.de.4; driver, so
all other network devices except for
&man.de.4; and &man.miibus.4; can be
removed from the kernel.</para>
</step>
<step>
<title>Setup networking</title>
<para>The most basic networking setup involves simply
using DHCP to connect your virtual machine to the same
local area network as your host &microsoft.windows;. This can
be accomplished by adding
<literal>ifconfig_de0="DHCP"</literal> to
<filename>/etc/rc.conf</filename>. More advanced
networking setups are described in <xref
linkend="advanced-networking">.</para>
</step>
</procedure>
</sect3>
</sect2>
<sect2 id="virtualization-guest-vmware">
<title>VMware on &windows;/&mac;/&linux;</title>

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB