Whitespace-only fixes, translators please ignore.

This commit is contained in:
Warren Block 2015-09-02 23:12:13 +00:00
parent 9a6b7e3672
commit 4753de0e52
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47351

View file

@ -37,9 +37,9 @@
<para>Virtualization software allows multiple operating systems to
run simultaneously on the same computer. Such software systems
for <acronym>PC</acronym>s often involve a host operating system which runs the
virtualization software and supports any number of guest
operating systems.</para>
for <acronym>PC</acronym>s often involve a host operating system
which runs the virtualization software and supports any number
of guest operating systems.</para>
<para>After reading this chapter, you will know:</para>
@ -183,13 +183,17 @@
<para>After the &os; virtual machine has been created, &os;
can be installed on it. This is best done with an official
&os; <acronym>CD</acronym>/<acronym>DVD</acronym> or with an <acronym>ISO</acronym> image downloaded from an official
<acronym>FTP</acronym> site. Copy the appropriate <acronym>ISO</acronym> image to the local &mac;
filesystem or insert a <acronym>CD</acronym>/<acronym>DVD</acronym> in the &mac;'s <acronym>CD-ROM</acronym> drive. Click
on the disc icon in the bottom right corner of the &os;
&os; <acronym>CD</acronym>/<acronym>DVD</acronym> or with an
<acronym>ISO</acronym> image downloaded from an official
<acronym>FTP</acronym> site. Copy the appropriate
<acronym>ISO</acronym> image to the local &mac; filesystem or
insert a <acronym>CD</acronym>/<acronym>DVD</acronym> in the
&mac;'s <acronym>CD-ROM</acronym> drive. Click on the disc
icon in the bottom right corner of the &os;
<application>Parallels</application> window. This will bring
up a window that can be used to associate the <acronym>CD-ROM</acronym> drive in
the virtual machine with the <acronym>ISO</acronym> file on disk or with the real
up a window that can be used to associate the
<acronym>CD-ROM</acronym> drive in the virtual machine with
the <acronym>ISO</acronym> file on disk or with the real
<acronym>CD-ROM</acronym> drive.</para>
<mediaobject>
@ -198,10 +202,12 @@
</imageobject>
</mediaobject>
<para>Once this association with the <acronym>CD-ROM</acronym> source has been
made, reboot the &os; virtual machine by clicking the reboot
icon. <application>Parallels</application> will reboot with a
special <acronym>BIOS</acronym> that first checks if there is a <acronym>CD-ROM</acronym>.</para>
<para>Once this association with the <acronym>CD-ROM</acronym>
source has been made, reboot the &os; virtual machine by
clicking the reboot icon.
<application>Parallels</application> will reboot with a
special <acronym>BIOS</acronym> that first checks if there is
a <acronym>CD-ROM</acronym>.</para>
<mediaobject>
<imageobject>
@ -245,8 +251,10 @@
<para>The most important step is to reduce the
<option>kern.hz</option> tunable to reduce the CPU
utilization of &os; under the <application>Parallels</application> environment. This is accomplished by
adding the following line to <filename>/boot/loader.conf</filename>:</para>
utilization of &os; under the
<application>Parallels</application> environment. This is
accomplished by adding the following line to
<filename>/boot/loader.conf</filename>:</para>
<programlisting>kern.hz=100</programlisting>
@ -296,8 +304,8 @@
and then install the desired guest operating system.</para>
<sect2 xml:id="virtualization-guest-virtualpc-install">
<title>Installing &os; on <application>Virtual
PC</application></title>
<title>Installing &os; on
<application>Virtual PC</application></title>
<para>The first step in installing &os; on
<application>Virtual PC</application> is to create a new
@ -370,16 +378,19 @@
<para>After the &os; virtual machine has been created, &os; can
be installed on it. This is best done with an official &os;
<acronym>CD</acronym>/<acronym>DVD</acronym> or with an <acronym>ISO</acronym> image downloaded from an official <acronym>FTP</acronym>
site. Copy the appropriate <acronym>ISO</acronym> image to the local &windows;
filesystem or insert a <acronym>CD</acronym>/<acronym>DVD</acronym> in the <acronym>CD</acronym> drive, then double
click on the &os; virtual machine to boot. Then, click
<guimenu>CD</guimenu> and choose
<guimenu>Capture ISO Image...</guimenu> on the
<acronym>CD</acronym>/<acronym>DVD</acronym> or with an
<acronym>ISO</acronym> image downloaded from an official
<acronym>FTP</acronym> site. Copy the appropriate
<acronym>ISO</acronym> image to the local &windows; filesystem
or insert a <acronym>CD</acronym>/<acronym>DVD</acronym> in
the <acronym>CD</acronym> drive, then double click on the &os;
virtual machine to boot. Then, click <guimenu>CD</guimenu>
and choose <guimenu>Capture ISO Image...</guimenu> on the
<application>Virtual PC</application> window. This will bring
up a window where the <acronym>CD-ROM</acronym> drive in the virtual machine can
be associated with an <acronym>ISO</acronym> file on disk or with the real <acronym>CD-ROM</acronym>
drive.</para>
up a window where the <acronym>CD-ROM</acronym> drive in the
virtual machine can be associated with an
<acronym>ISO</acronym> file on disk or with the real
<acronym>CD-ROM</acronym> drive.</para>
<mediaobject>
<imageobject>
@ -393,11 +404,13 @@
</imageobject>
</mediaobject>
<para>Once this association with the <acronym>CD-ROM</acronym> source has been made,
reboot the &os; virtual machine by clicking
<guimenu>Action</guimenu> and <guimenu>Reset</guimenu>.
<para>Once this association with the <acronym>CD-ROM</acronym>
source has been made, reboot the &os; virtual machine by
clicking <guimenu>Action</guimenu> and
<guimenu>Reset</guimenu>.
<application>Virtual PC</application> will reboot with a
special <acronym>BIOS</acronym> that first checks for a <acronym>CD-ROM</acronym>.</para>
special <acronym>BIOS</acronym> that first checks for a
<acronym>CD-ROM</acronym>.</para>
<mediaobject>
<imageobject>
@ -417,8 +430,9 @@
</mediaobject>
<para>When the installation is finished, remember to eject the
<acronym>CD</acronym>/<acronym>DVD</acronym> or release the <acronym>ISO</acronym> image. Finally, reboot into
the newly installed &os; virtual machine.</para>
<acronym>CD</acronym>/<acronym>DVD</acronym> or release the
<acronym>ISO</acronym> image. Finally, reboot into the newly
installed &os; virtual machine.</para>
<mediaobject>
<imageobject>
@ -432,9 +446,10 @@
PC</application></title>
<para>After &os; 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>
&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>
@ -549,7 +564,8 @@
</mediaobject>
<para>Choose the method to install the virtual machine, either
from an <acronym>ISO</acronym> image or from a <acronym>CD</acronym>/<acronym>DVD</acronym>:</para>
from an <acronym>ISO</acronym> image or from a
<acronym>CD</acronym>/<acronym>DVD</acronym>:</para>
<mediaobject>
<imageobject>
@ -598,9 +614,11 @@
</imageobject>
</mediaobject>
<para>The status of the <acronym>CD-ROM</acronym> device. Normally the
<acronym>CD</acronym>/<acronym>DVD</acronym>/<acronym>ISO</acronym> is disconnected from the virtual machine when it
is no longer needed.</para>
<para>The status of the <acronym>CD-ROM</acronym> device.
Normally the
<acronym>CD</acronym>/<acronym>DVD</acronym>/<acronym>ISO</acronym>
is disconnected from the virtual machine when it is no longer
needed.</para>
<mediaobject>
<imageobject>
@ -920,21 +938,26 @@ add path 'usb/*' mode 0660 group operator</programlisting>
</sect2>
<sect2 xml:id="virtualization-virtualbox-host-dvd-cd-access">
<title>&virtualbox; Host <acronym>DVD</acronym>/<acronym>CD</acronym> Access</title>
<title>&virtualbox; Host
<acronym>DVD</acronym>/<acronym>CD</acronym> Access</title>
<para>Access to the host <acronym>DVD</acronym>/<acronym>CD</acronym> drives from guests is achieved
through the sharing of the physical drives. Within
&virtualbox;, this is set up from the Storage window in the
Settings of the virtual machine. If needed, create an empty
<acronym>IDE</acronym> <acronym>CD</acronym>/<acronym>DVD</acronym> device first. Then choose the Host Drive from the
popup menu for the virtual <acronym>CD</acronym>/<acronym>DVD</acronym> drive selection. A checkbox
labeled <literal>Passthrough</literal> will appear. This
allows the virtual machine to use the hardware directly. For
example, audio <acronym>CD</acronym>s or the burner will only function if this
option is selected.</para>
<para>Access to the host
<acronym>DVD</acronym>/<acronym>CD</acronym> drives from
guests is achieved through the sharing of the physical drives.
Within &virtualbox;, this is set up from the Storage window in
the Settings of the virtual machine. If needed, create an
empty <acronym>IDE</acronym>
<acronym>CD</acronym>/<acronym>DVD</acronym> device first.
Then choose the Host Drive from the popup menu for the virtual
<acronym>CD</acronym>/<acronym>DVD</acronym> drive selection.
A checkbox labeled <literal>Passthrough</literal> will appear.
This allows the virtual machine to use the hardware directly.
For example, audio <acronym>CD</acronym>s or the burner will
only function if this option is selected.</para>
<para><acronym>HAL</acronym> needs to run for
<application>&virtualbox;</application> <acronym>DVD</acronym>/<acronym>CD</acronym> functions to
<application>&virtualbox;</application>
<acronym>DVD</acronym>/<acronym>CD</acronym> functions to
work, so enable it in <filename>/etc/rc.conf</filename> and
start it if it is not already running:</para>
@ -943,7 +966,8 @@ add path 'usb/*' mode 0660 group operator</programlisting>
<screen>&prompt.root; <userinput>service hald start</userinput></screen>
<para>In order for users to be able to use
<application>&virtualbox;</application> <acronym>DVD</acronym>/<acronym>CD</acronym> functions, they
<application>&virtualbox;</application>
<acronym>DVD</acronym>/<acronym>CD</acronym> functions, they
need access to <filename>/dev/xpt0</filename>,
<filename>/dev/cd<replaceable>N</replaceable></filename>, and
<filename>/dev/pass<replaceable>N</replaceable></filename>.