|
Lines 1254-1272
Link Here
|
| 1254 |
<sect2 id="virtualization-virtualbox-host-dvd-cd-access"> |
1254 |
<sect2 id="virtualization-virtualbox-host-dvd-cd-access"> |
| 1255 |
<title>&virtualbox; Host DVD/CD Access</title> |
1255 |
<title>&virtualbox; Host DVD/CD Access</title> |
| 1256 |
|
1256 |
|
| 1257 |
<para>The <command>atapicam</command> kernel module needs to be |
1257 |
<para>Access to the host DVD/CD drives from guests is achieved through the sharing |
| 1258 |
loaded by adding the following line to |
1258 |
of the physical drives. In GUI this is set up from the Storage window in the Settings |
| 1259 |
<filename>/boot/loader.conf</filename>:</para> |
1259 |
of the virtual machine. Create an empty IDE CD/DVD device first. Then choose |
|
|
1260 |
the Host Drive from the popup menu for the virtual CD/DVD drive selection. |
| 1261 |
"Passthrough" check box will appear, which is an option to share the physical drive |
| 1262 |
as a whole, vs. to share the current data media only. For example, audio CDs or the |
| 1263 |
burner function won't be accessible by guests without choosing the passthrough |
| 1264 |
option.</para> |
| 1260 |
|
1265 |
|
| 1261 |
<programlisting>atapicam_load="YES"</programlisting> |
|
|
| 1262 |
|
| 1263 |
<para><acronym>HAL</acronym> needs to run for |
1266 |
<para><acronym>HAL</acronym> needs to run for |
| 1264 |
<application>&virtualbox;</application> DVD/CD functions to |
1267 |
<application>&virtualbox;</application> DVD/CD functions to |
| 1265 |
work, so enable it in <filename>/etc/rc.conf</filename> and |
1268 |
work, so enable it in <filename>/etc/rc.conf</filename> and |
| 1266 |
start it (if it is not already running):</para> |
1269 |
start it (if it is not already running):</para> |
| 1267 |
|
|
|
| 1268 |
<programlisting>hald_enable="YES"</programlisting> |
1270 |
<programlisting>hald_enable="YES"</programlisting> |
| 1269 |
|
|
|
| 1270 |
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/hald start</userinput></screen> |
1271 |
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/hald start</userinput></screen> |
| 1271 |
|
1272 |
|
| 1272 |
<para>In order for users to be able to use |
1273 |
<para>In order for users to be able to use |
|
Lines 1276-1287
Link Here
|
| 1276 |
class="devicefile">/dev/cd<replaceable>N</replaceable></filename>, |
1277 |
class="devicefile">/dev/cd<replaceable>N</replaceable></filename>, |
| 1277 |
and <filename |
1278 |
and <filename |
| 1278 |
class="devicefile">/dev/pass<replaceable>N</replaceable></filename>. |
1279 |
class="devicefile">/dev/pass<replaceable>N</replaceable></filename>. |
| 1279 |
Add the following lines to |
1280 |
This is usually achieved by making the user of <application>&virtualbox;</application> |
|
|
1281 |
the member of the operator group, which is also the default group of the above mentioned devices. |
| 1282 |
Permissions of these devices have to be corrected by adding the following lines to |
| 1280 |
<filename>/etc/devfs.conf</filename>:</para> |
1283 |
<filename>/etc/devfs.conf</filename>:</para> |
| 1281 |
|
1284 |
|
| 1282 |
<programlisting>perm cd0 0600 |
1285 |
<programlisting>perm cd* 0600 |
| 1283 |
perm xpt0 0660 |
1286 |
perm xpt0 0660 |
| 1284 |
perm pass0 0660</programlisting> |
1287 |
perm pass* 0660</programlisting> |
|
|
1288 |
<screen>&prompt.root; <userinput>/etc/rc.d/devfs restart</userinput></screen> |
| 1285 |
</sect2> |
1289 |
</sect2> |
| 1286 |
|
1290 |
|
| 1287 |
<!-- |
1291 |
<!-- |