1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE topic
|
---|
3 | PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
4 | <topic xml:lang="en-us" id="storage-cds">
|
---|
5 | <title>CD/DVD Support</title>
|
---|
6 |
|
---|
7 | <body>
|
---|
8 | <p>
|
---|
9 | Virtual CD/DVD drives by default support only reading. The medium
|
---|
10 | configuration is changeable at runtime. You can select between the
|
---|
11 | following options to provide the medium data:
|
---|
12 | </p>
|
---|
13 | <ul>
|
---|
14 | <li>
|
---|
15 | <p>
|
---|
16 | <b outputclass="bold">Host Drive</b> defines that the
|
---|
17 | guest can read from the medium in the host drive.
|
---|
18 | </p>
|
---|
19 | </li>
|
---|
20 | <li>
|
---|
21 | <p>
|
---|
22 | <b outputclass="bold">Image file</b> gives the guest
|
---|
23 | read-only access to the data in the image. This is typically
|
---|
24 | an ISO file.
|
---|
25 | </p>
|
---|
26 | </li>
|
---|
27 | <li>
|
---|
28 | <p>
|
---|
29 | <b outputclass="bold">Empty</b> means a drive without
|
---|
30 | an inserted medium.
|
---|
31 | </p>
|
---|
32 | </li>
|
---|
33 | </ul>
|
---|
34 | <p>
|
---|
35 | Changing between the above, or changing a medium in the host drive
|
---|
36 | that is accessed by a machine, or changing an image file will
|
---|
37 | signal a medium change to the guest OS. The guest OS can then
|
---|
38 | react to the change, for example by starting an installation
|
---|
39 | program.
|
---|
40 | </p>
|
---|
41 | <p>
|
---|
42 | Medium changes can be prevented by the guest, and Oracle VM VirtualBox
|
---|
43 | reflects that by locking the host drive if appropriate. You can
|
---|
44 | force a medium removal in such situations by using the VirtualBox
|
---|
45 | Manager or the <userinput>VBoxManage</userinput> command line tool.
|
---|
46 | Effectively this is the equivalent of the emergency eject which
|
---|
47 | many CD/DVD drives provide, with all associated side effects. The
|
---|
48 | guest OS can issue error messages, just like on real hardware, and
|
---|
49 | guest applications may misbehave. Use this with caution.
|
---|
50 | </p>
|
---|
51 | <note>
|
---|
52 | <p>
|
---|
53 | The identification string of the drive provided to the guest,
|
---|
54 | displayed by configuration tools such as the Windows Device
|
---|
55 | Manager, is always VBOX CD-ROM, irrespective of the current
|
---|
56 | configuration of the virtual drive. This is to prevent hardware
|
---|
57 | detection from being triggered in the guest OS every time the
|
---|
58 | configuration is changed.
|
---|
59 | </p>
|
---|
60 | </note>
|
---|
61 | <p>
|
---|
62 | The standard CD/DVD emulation enables reading of standard data CD
|
---|
63 | and DVD formats only. As an experimental feature, for additional
|
---|
64 | capabilities, it is possible to give the guest direct access to
|
---|
65 | the CD/DVD host drive by enabling <i>passthrough</i>
|
---|
66 | mode. Depending on the host hardware, this may potentially enable
|
---|
67 | the following things to work:
|
---|
68 | </p>
|
---|
69 | <ul>
|
---|
70 | <li>
|
---|
71 | <p>
|
---|
72 | CD/DVD writing from within the guest, if the host DVD drive is
|
---|
73 | a CD/DVD writer
|
---|
74 | </p>
|
---|
75 | </li>
|
---|
76 | <li>
|
---|
77 | <p>
|
---|
78 | Playing audio CDs
|
---|
79 | </p>
|
---|
80 | </li>
|
---|
81 | <li>
|
---|
82 | <p>
|
---|
83 | Playing encrypted DVDs
|
---|
84 | </p>
|
---|
85 | </li>
|
---|
86 | </ul>
|
---|
87 | <p>
|
---|
88 | To enable host drive passthrough you can use the
|
---|
89 | <codeph>--passthrough</codeph> option of the <userinput>VBoxManage
|
---|
90 | storageattach</userinput> command. See
|
---|
91 | <xref href="man_VBoxManage-storageattach.dita#vboxmanage-storageattach"/>.
|
---|
92 | </p>
|
---|
93 | <p>
|
---|
94 | Even if passthrough is enabled, unsafe commands, such as updating
|
---|
95 | the drive firmware, will be blocked. Video CD formats are never
|
---|
96 | supported, not even in passthrough mode, and cannot be played from
|
---|
97 | a virtual machine.
|
---|
98 | </p>
|
---|
99 | <p>
|
---|
100 | On Oracle Solaris hosts, passthrough requires running
|
---|
101 | Oracle VM VirtualBox with real root permissions due to security measures
|
---|
102 | enforced by the host.
|
---|
103 | </p>
|
---|
104 | </body>
|
---|
105 |
|
---|
106 | </topic>
|
---|