1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
4 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
5 | %all.entities;
|
---|
6 | ]>
|
---|
7 | <chapter id="BasicConcepts">
|
---|
8 |
|
---|
9 | <title>Configuring Virtual Machines</title>
|
---|
10 |
|
---|
11 | <para>
|
---|
12 | This chapter provides detailed steps for configuring an
|
---|
13 | &product-name; virtual machine (VM). For an introduction to
|
---|
14 | &product-name; and steps to get your first virtual machine running,
|
---|
15 | see <xref linkend="Introduction" />.
|
---|
16 | </para>
|
---|
17 |
|
---|
18 | <para>
|
---|
19 | You have considerable latitude when deciding what virtual hardware
|
---|
20 | to provide to the guest. Use virtual hardware to communicate with
|
---|
21 | the host system or with other guests. For example, you can use
|
---|
22 | virtual hardware in the following ways:
|
---|
23 | </para>
|
---|
24 |
|
---|
25 | <itemizedlist>
|
---|
26 |
|
---|
27 | <listitem>
|
---|
28 | <para>
|
---|
29 | Have &product-name; present an ISO CD-ROM image to a guest
|
---|
30 | system as if it were a physical CD-ROM.
|
---|
31 | </para>
|
---|
32 | </listitem>
|
---|
33 |
|
---|
34 | <listitem>
|
---|
35 | <para>
|
---|
36 | Provide a guest system access to the physical network through
|
---|
37 | its virtual network card.
|
---|
38 | </para>
|
---|
39 | </listitem>
|
---|
40 |
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Provide the host system, other guests, and computers on the
|
---|
44 | Internet access to the guest system.
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 |
|
---|
48 | </itemizedlist>
|
---|
49 |
|
---|
50 | <sect1 id="guestossupport">
|
---|
51 |
|
---|
52 | <title>Supported Guest Operating Systems</title>
|
---|
53 |
|
---|
54 | <para>
|
---|
55 | Because &product-name; is designed to provide a generic
|
---|
56 | virtualization environment for x86 systems, it can run operating
|
---|
57 | systems (OSes) of any kind. However, &product-name; focuses on the
|
---|
58 | following guest systems:
|
---|
59 | </para>
|
---|
60 |
|
---|
61 | <itemizedlist>
|
---|
62 |
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | <emphasis role="bold">Windows NT 4.0:</emphasis>
|
---|
66 | </para>
|
---|
67 |
|
---|
68 | <itemizedlist>
|
---|
69 |
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Fully supports all versions, editions, and service packs.
|
---|
73 | Note that you might encounter issues with some older
|
---|
74 | service packs, so install at least service pack 6a.
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 |
|
---|
78 | <listitem>
|
---|
79 | <para>
|
---|
80 | Guest Additions are available with a limited feature set.
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 |
|
---|
84 | </itemizedlist>
|
---|
85 | </listitem>
|
---|
86 |
|
---|
87 | <listitem>
|
---|
88 | <para>
|
---|
89 | <emphasis role="bold">Windows 2000, Windows XP, Windows Server
|
---|
90 | 2003, Windows Vista, Windows Server 2008, Windows 7, Windows
|
---|
91 | Server 2008 R2, Windows 8, Windows Server 2012, Windows 8.1,
|
---|
92 | Windows Server 2012 R2, Windows 10 (non-Insider Preview
|
---|
93 | releases), Windows Server 2016, Windows Server
|
---|
94 | 2019:</emphasis>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <itemizedlist>
|
---|
98 |
|
---|
99 | <listitem>
|
---|
100 | <para>
|
---|
101 | Fully supports all versions, editions, and service packs,
|
---|
102 | including 64-bit versions.
|
---|
103 | </para>
|
---|
104 | </listitem>
|
---|
105 |
|
---|
106 | <listitem>
|
---|
107 | <para>
|
---|
108 | Note that you must enable hardware virtualization when
|
---|
109 | running at least Windows 8.
|
---|
110 | </para>
|
---|
111 | </listitem>
|
---|
112 |
|
---|
113 | <listitem>
|
---|
114 | <para>
|
---|
115 | Guest Additions are available.
|
---|
116 | </para>
|
---|
117 | </listitem>
|
---|
118 |
|
---|
119 | </itemizedlist>
|
---|
120 | </listitem>
|
---|
121 |
|
---|
122 | <listitem>
|
---|
123 | <para>
|
---|
124 | <emphasis role="bold">MS-DOS, Windows 3.x, Windows 95, Windows
|
---|
125 | 98, Windows ME:</emphasis>
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <itemizedlist>
|
---|
129 |
|
---|
130 | <listitem>
|
---|
131 | <para>
|
---|
132 | Limited testing has been performed.
|
---|
133 | </para>
|
---|
134 | </listitem>
|
---|
135 |
|
---|
136 | <listitem>
|
---|
137 | <para>
|
---|
138 | Use beyond legacy installation mechanisms is not
|
---|
139 | recommended.
|
---|
140 | </para>
|
---|
141 | </listitem>
|
---|
142 |
|
---|
143 | <listitem>
|
---|
144 | <para>
|
---|
145 | Guest Additions are not available.
|
---|
146 | </para>
|
---|
147 | </listitem>
|
---|
148 |
|
---|
149 | </itemizedlist>
|
---|
150 | </listitem>
|
---|
151 |
|
---|
152 | <listitem>
|
---|
153 | <para>
|
---|
154 | <emphasis role="bold">Linux 2.4:</emphasis>
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | <para>
|
---|
158 | Limited support.
|
---|
159 | </para>
|
---|
160 | </listitem>
|
---|
161 |
|
---|
162 | <listitem>
|
---|
163 | <para>
|
---|
164 | <emphasis role="bold">Linux 2.6:</emphasis>
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | <itemizedlist>
|
---|
168 |
|
---|
169 | <listitem>
|
---|
170 | <para>
|
---|
171 | Fully supports all versions and editions, both 32-bit and
|
---|
172 | 64-bit.
|
---|
173 | </para>
|
---|
174 | </listitem>
|
---|
175 |
|
---|
176 | <listitem>
|
---|
177 | <para>
|
---|
178 | For best performance, use at least Linux kernel version
|
---|
179 | 2.6.13.
|
---|
180 | </para>
|
---|
181 | </listitem>
|
---|
182 |
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | Guest Additions are available.
|
---|
186 | </para>
|
---|
187 | </listitem>
|
---|
188 |
|
---|
189 | </itemizedlist>
|
---|
190 |
|
---|
191 | <note>
|
---|
192 | <para>
|
---|
193 | Certain Linux kernel releases have bugs that prevent them
|
---|
194 | from executing in a virtual environment. See
|
---|
195 | <xref linkend="ts_linux-buggy" />.
|
---|
196 | </para>
|
---|
197 | </note>
|
---|
198 | </listitem>
|
---|
199 |
|
---|
200 | <listitem>
|
---|
201 | <para>
|
---|
202 | <emphasis role="bold">Linux 3.x and later:</emphasis>
|
---|
203 | </para>
|
---|
204 |
|
---|
205 | <itemizedlist>
|
---|
206 |
|
---|
207 | <listitem>
|
---|
208 | <para>
|
---|
209 | Fully supports all versions and editions, both 32-bit and
|
---|
210 | 64-bit.
|
---|
211 | </para>
|
---|
212 | </listitem>
|
---|
213 |
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | Guest Additions are available.
|
---|
217 | </para>
|
---|
218 | </listitem>
|
---|
219 |
|
---|
220 | </itemizedlist>
|
---|
221 | </listitem>
|
---|
222 |
|
---|
223 | <listitem>
|
---|
224 | <para>
|
---|
225 | <emphasis role="bold"> Oracle Solaris 10 and Oracle Solaris
|
---|
226 | 11:</emphasis>
|
---|
227 | </para>
|
---|
228 |
|
---|
229 | <itemizedlist>
|
---|
230 |
|
---|
231 | <listitem>
|
---|
232 | <para>
|
---|
233 | Fully supports all versions starting with Oracle Solaris
|
---|
234 | 10 8/08 and Oracle Solaris 11.
|
---|
235 | </para>
|
---|
236 | </listitem>
|
---|
237 |
|
---|
238 | <listitem>
|
---|
239 | <para>
|
---|
240 | Supports 64-bit prior to Oracle Solaris 11 11/11, and
|
---|
241 | 32-bit.
|
---|
242 | </para>
|
---|
243 | </listitem>
|
---|
244 |
|
---|
245 | <listitem>
|
---|
246 | <para>
|
---|
247 | Guest Additions are available.
|
---|
248 | </para>
|
---|
249 | </listitem>
|
---|
250 |
|
---|
251 | </itemizedlist>
|
---|
252 | </listitem>
|
---|
253 |
|
---|
254 | <listitem>
|
---|
255 | <para>
|
---|
256 | <emphasis role="bold">FreeBSD:</emphasis>
|
---|
257 | </para>
|
---|
258 |
|
---|
259 | <itemizedlist>
|
---|
260 |
|
---|
261 | <listitem>
|
---|
262 | <para>
|
---|
263 | Limited support.
|
---|
264 | </para>
|
---|
265 | </listitem>
|
---|
266 |
|
---|
267 | <listitem>
|
---|
268 | <para>
|
---|
269 | Note that you must enable hardware virtualization when
|
---|
270 | running FreeBSD.
|
---|
271 | </para>
|
---|
272 | </listitem>
|
---|
273 |
|
---|
274 | <listitem>
|
---|
275 | <para>
|
---|
276 | Guest Additions are not available.
|
---|
277 | </para>
|
---|
278 | </listitem>
|
---|
279 |
|
---|
280 | </itemizedlist>
|
---|
281 | </listitem>
|
---|
282 |
|
---|
283 | <listitem>
|
---|
284 | <para>
|
---|
285 | <emphasis role="bold"> OpenBSD:</emphasis>
|
---|
286 | </para>
|
---|
287 |
|
---|
288 | <itemizedlist>
|
---|
289 |
|
---|
290 | <listitem>
|
---|
291 | <para>
|
---|
292 | Supports at least version 3.7.
|
---|
293 | </para>
|
---|
294 | </listitem>
|
---|
295 |
|
---|
296 | <listitem>
|
---|
297 | <para>
|
---|
298 | Note that you must enable hardware virtualization when
|
---|
299 | running OpenBSD.
|
---|
300 | </para>
|
---|
301 | </listitem>
|
---|
302 |
|
---|
303 | <listitem>
|
---|
304 | <para>
|
---|
305 | Guest Additions are not available.
|
---|
306 | </para>
|
---|
307 | </listitem>
|
---|
308 |
|
---|
309 | </itemizedlist>
|
---|
310 | </listitem>
|
---|
311 |
|
---|
312 | <listitem>
|
---|
313 | <para>
|
---|
314 | <emphasis role="bold">OS/2 Warp 4.5:</emphasis>
|
---|
315 | </para>
|
---|
316 |
|
---|
317 | <itemizedlist>
|
---|
318 |
|
---|
319 | <listitem>
|
---|
320 | <para>
|
---|
321 | Only MCP2 is supported. Other OS/2 versions might not
|
---|
322 | work.
|
---|
323 | </para>
|
---|
324 | </listitem>
|
---|
325 |
|
---|
326 | <listitem>
|
---|
327 | <para>
|
---|
328 | Note that you must enable hardware virtualization when
|
---|
329 | running OS/2 Warp 4.5.
|
---|
330 | </para>
|
---|
331 | </listitem>
|
---|
332 |
|
---|
333 | <listitem>
|
---|
334 | <para>
|
---|
335 | Guest Additions are available with a limited feature set.
|
---|
336 | See <xref linkend="KnownIssues" />.
|
---|
337 | </para>
|
---|
338 | </listitem>
|
---|
339 |
|
---|
340 | </itemizedlist>
|
---|
341 | </listitem>
|
---|
342 |
|
---|
343 | <listitem>
|
---|
344 | <para>
|
---|
345 | <emphasis role="bold">Mac OS X:</emphasis>
|
---|
346 | </para>
|
---|
347 |
|
---|
348 | <itemizedlist>
|
---|
349 |
|
---|
350 | <listitem>
|
---|
351 | <para>
|
---|
352 | &product-name; 3.2 added experimental support for Mac OS X
|
---|
353 | guests, with restrictions. See
|
---|
354 | <xref linkend="intro-macosxguests"/> and
|
---|
355 | <xref linkend="KnownIssues" />.
|
---|
356 | </para>
|
---|
357 | </listitem>
|
---|
358 |
|
---|
359 | <listitem>
|
---|
360 | <para>
|
---|
361 | Guest Additions are not available.
|
---|
362 | </para>
|
---|
363 | </listitem>
|
---|
364 |
|
---|
365 | </itemizedlist>
|
---|
366 | </listitem>
|
---|
367 |
|
---|
368 | </itemizedlist>
|
---|
369 |
|
---|
370 | <sect2 id="intro-macosxguests">
|
---|
371 |
|
---|
372 | <title>Mac OS X Guests</title>
|
---|
373 |
|
---|
374 | <para>
|
---|
375 | &product-name; enables you to install and execute unmodified
|
---|
376 | versions of Mac OS X guests on supported host hardware. Note
|
---|
377 | that this feature is experimental and thus unsupported.
|
---|
378 | </para>
|
---|
379 |
|
---|
380 | <para>
|
---|
381 | &product-name; is the first product to provide the modern PC
|
---|
382 | architecture expected by OS X without requiring any of the
|
---|
383 | modifications used by competing virtualization solutions. For
|
---|
384 | example, some competing solutions perform modifications to the
|
---|
385 | Mac OS X install DVDs, such as a different boot loader and
|
---|
386 | replaced files.
|
---|
387 | </para>
|
---|
388 |
|
---|
389 | <para>
|
---|
390 | Be aware of the following important issues before you attempt to
|
---|
391 | install a Mac OS X guest:
|
---|
392 | </para>
|
---|
393 |
|
---|
394 | <itemizedlist>
|
---|
395 |
|
---|
396 | <listitem>
|
---|
397 | <para>
|
---|
398 | Mac OS X is commercial, licensed software and contains
|
---|
399 | <emphasis role="bold">both license and technical
|
---|
400 | restrictions</emphasis> that limit its use to certain
|
---|
401 | hardware and usage scenarios. You must understand and comply
|
---|
402 | with these restrictions.
|
---|
403 | </para>
|
---|
404 |
|
---|
405 | <para>
|
---|
406 | In particular, Apple prohibits the installation of most
|
---|
407 | versions of Mac OS X on non-Apple hardware.
|
---|
408 | </para>
|
---|
409 |
|
---|
410 | <para>
|
---|
411 | These license restrictions are also enforced on a technical
|
---|
412 | level. Mac OS X verifies that it is running on Apple
|
---|
413 | hardware. Most DVDs that accompany Apple hardware check for
|
---|
414 | the exact model. These restrictions are
|
---|
415 | <emphasis>not</emphasis> circumvented by &product-name; and
|
---|
416 | continue to apply.
|
---|
417 | </para>
|
---|
418 | </listitem>
|
---|
419 |
|
---|
420 | <listitem>
|
---|
421 | <para>
|
---|
422 | Only <emphasis role="bold">CPUs</emphasis> that are known
|
---|
423 | and tested by Apple are supported. As a result, if your
|
---|
424 | Intel CPU is newer than the Mac OS X build, or if you have a
|
---|
425 | non-Intel CPU, you will likely encounter a panic during
|
---|
426 | bootup with an "Unsupported CPU" exception.
|
---|
427 | </para>
|
---|
428 |
|
---|
429 | <para>
|
---|
430 | Ensure that you use the Mac OS X DVD that comes with your
|
---|
431 | Apple hardware.
|
---|
432 | </para>
|
---|
433 | </listitem>
|
---|
434 |
|
---|
435 | <listitem>
|
---|
436 | <para>
|
---|
437 | The Mac OS X installer expects the hard disk to be
|
---|
438 | <emphasis>partitioned</emphasis>. So, the installer will not
|
---|
439 | offer a partition selection to you. Before you can install
|
---|
440 | the software successfully, start the Disk Utility from the
|
---|
441 | Tools menu and partition the hard disk. Close the Disk
|
---|
442 | Utility and proceed with the installation.
|
---|
443 | </para>
|
---|
444 | </listitem>
|
---|
445 |
|
---|
446 | <listitem>
|
---|
447 | <para>
|
---|
448 | In addition, Mac OS X support in &product-name; is an
|
---|
449 | experimental feature. See <xref linkend="KnownIssues" />.
|
---|
450 | </para>
|
---|
451 | </listitem>
|
---|
452 |
|
---|
453 | </itemizedlist>
|
---|
454 |
|
---|
455 | </sect2>
|
---|
456 |
|
---|
457 | <sect2 id="intro-64bitguests">
|
---|
458 |
|
---|
459 | <title>64-bit Guests</title>
|
---|
460 |
|
---|
461 | <para>
|
---|
462 | &product-name; enables you to run 64-bit guest OSes even on a
|
---|
463 | 32-bit host OS. To run a 64-bit guest OS on a 32-bit host
|
---|
464 | system, ensure that you meet the following conditions:
|
---|
465 | </para>
|
---|
466 |
|
---|
467 | <itemizedlist>
|
---|
468 |
|
---|
469 | <listitem>
|
---|
470 | <para>
|
---|
471 | You need a 64-bit processor that has hardware virtualization
|
---|
472 | support. See <xref linkend="hwvirt" />.
|
---|
473 | </para>
|
---|
474 | </listitem>
|
---|
475 |
|
---|
476 | <listitem>
|
---|
477 | <para>
|
---|
478 | You must enable hardware virtualization for the particular
|
---|
479 | VM that requires 64-bit support. Software virtualization is
|
---|
480 | not supported for 64-bit VMs.
|
---|
481 | </para>
|
---|
482 | </listitem>
|
---|
483 |
|
---|
484 | <listitem>
|
---|
485 | <para>
|
---|
486 | To use 64-bit guest support on a 32-bit host OS, you must
|
---|
487 | select a 64-bit OS for the particular VM. Since supporting
|
---|
488 | 64 bits on 32-bit hosts incurs additional overhead,
|
---|
489 | &product-name; only enables this support only upon explicit
|
---|
490 | request.
|
---|
491 | </para>
|
---|
492 |
|
---|
493 | <para>
|
---|
494 | 64-bit hosts typically come with hardware virtualization
|
---|
495 | support. So, you can install a 64-bit guest OS in the guest
|
---|
496 | regardless of the settings.
|
---|
497 | </para>
|
---|
498 | </listitem>
|
---|
499 |
|
---|
500 | </itemizedlist>
|
---|
501 |
|
---|
502 | <warning>
|
---|
503 | <para>
|
---|
504 | Be sure to enable <emphasis role="bold">I/O APIC</emphasis>
|
---|
505 | for virtual machines that you intend to use in 64-bit mode.
|
---|
506 | This is especially true for 64-bit Windows VMs. See
|
---|
507 | <xref linkend="settings-general-advanced" />. For 64-bit
|
---|
508 | Windows guests, ensure that the VM uses the
|
---|
509 | <emphasis role="bold">Intel networking device</emphasis>
|
---|
510 | because there is no 64-bit driver support for the AMD PCNet
|
---|
511 | card. See <xref linkend="nichardware" />.
|
---|
512 | </para>
|
---|
513 | </warning>
|
---|
514 |
|
---|
515 | <para>
|
---|
516 | If you use the <emphasis role="bold">Create VM</emphasis> wizard
|
---|
517 | of the &product-name; graphical user interface (GUI),
|
---|
518 | &product-name; automatically uses the correct settings for each
|
---|
519 | selected 64-bit OS type. See <xref linkend="gui-createvm" />.
|
---|
520 | </para>
|
---|
521 |
|
---|
522 | </sect2>
|
---|
523 |
|
---|
524 | </sect1>
|
---|
525 |
|
---|
526 | <sect1 id="basic-unattended">
|
---|
527 |
|
---|
528 | <title>Unattended Guest Installation</title>
|
---|
529 |
|
---|
530 | <para>
|
---|
531 | &product-name; can install a guest OS automatically. You only need
|
---|
532 | to provide the installation medium and a few other parameters,
|
---|
533 | such as the name of the default user.
|
---|
534 | </para>
|
---|
535 |
|
---|
536 | <para>
|
---|
537 | Performing an unattended guest installation involves the following
|
---|
538 | steps:
|
---|
539 | </para>
|
---|
540 |
|
---|
541 | <itemizedlist>
|
---|
542 |
|
---|
543 | <listitem>
|
---|
544 | <para>
|
---|
545 | <emphasis role="bold">Create a new VM.</emphasis> Use one of
|
---|
546 | the following methods:
|
---|
547 | </para>
|
---|
548 |
|
---|
549 | <itemizedlist>
|
---|
550 |
|
---|
551 | <listitem>
|
---|
552 | <para>
|
---|
553 | The VirtualBox Manager, see
|
---|
554 | <xref linkend="gui-createvm" />.
|
---|
555 | </para>
|
---|
556 | </listitem>
|
---|
557 |
|
---|
558 | <listitem>
|
---|
559 | <para>
|
---|
560 | The <command>VBoxManage createvm</command> command, see
|
---|
561 | <xref linkend="vboxmanage-createvm" />.
|
---|
562 | </para>
|
---|
563 | </listitem>
|
---|
564 |
|
---|
565 | </itemizedlist>
|
---|
566 |
|
---|
567 | <para>
|
---|
568 | For the new VM, choose the guest OS type and accept the
|
---|
569 | default settings for that OS. The following sections in this
|
---|
570 | chapter describe how to change the settings for a VM.
|
---|
571 | </para>
|
---|
572 | </listitem>
|
---|
573 |
|
---|
574 | <listitem>
|
---|
575 | <para>
|
---|
576 | <emphasis role="bold">Prepare the VM for unattended guest
|
---|
577 | installation.</emphasis> Use the <command>VBoxManage
|
---|
578 | unattended</command> command, see
|
---|
579 | <xref linkend="vboxmanage-unattended" />.
|
---|
580 | </para>
|
---|
581 |
|
---|
582 | <para>
|
---|
583 | During this step, &product-name; scans the installation medium
|
---|
584 | and changes certain parameters to ensure a seamless
|
---|
585 | installation as a guest running on &product-name;.
|
---|
586 | </para>
|
---|
587 | </listitem>
|
---|
588 |
|
---|
589 | <listitem>
|
---|
590 | <para>
|
---|
591 | <emphasis role="bold">Start the VM.</emphasis> Use the
|
---|
592 | VirtualBox Manager or the <command>VBoxManage
|
---|
593 | startvm</command> command.
|
---|
594 | </para>
|
---|
595 |
|
---|
596 | <para>
|
---|
597 | When you start the VM, the unattended installation is
|
---|
598 | performed automatically.
|
---|
599 | </para>
|
---|
600 |
|
---|
601 | <para>
|
---|
602 | The installation operation changes the boot device order to
|
---|
603 | boot the virtual hard disk first and then the virtual DVD
|
---|
604 | drive. If the virtual hard disk is empty prior to the
|
---|
605 | automatic installation, the VM boots from the virtual DVD
|
---|
606 | drive and begins the installation.
|
---|
607 | </para>
|
---|
608 |
|
---|
609 | <para>
|
---|
610 | If the virtual hard disk contains a bootable OS, the
|
---|
611 | installation operation exits. In this case, change the boot
|
---|
612 | device order manually by pressing F12 during the BIOS splash
|
---|
613 | screen.
|
---|
614 | </para>
|
---|
615 | </listitem>
|
---|
616 |
|
---|
617 | </itemizedlist>
|
---|
618 |
|
---|
619 | <para>
|
---|
620 | <xref linkend="unattended-guest-install-example"/> describes how
|
---|
621 | to perform an unattended guest installation for an Oracle Linux
|
---|
622 | guest.
|
---|
623 | </para>
|
---|
624 |
|
---|
625 | <sect2 id="unattended-guest-install-example">
|
---|
626 |
|
---|
627 | <title>An Example of Unattended Guest Installation</title>
|
---|
628 |
|
---|
629 | <para>
|
---|
630 | The following example shows how to perform an unattended guest
|
---|
631 | installation for an Oracle Linux VM. The example uses various
|
---|
632 | <command>VBoxManage</command> commands to prepare the guest VM.
|
---|
633 | The <command>VBoxManage unattended install</command> command is
|
---|
634 | then used to install and configure the guest OS.
|
---|
635 | </para>
|
---|
636 |
|
---|
637 | <orderedlist>
|
---|
638 |
|
---|
639 | <listitem>
|
---|
640 | <para>
|
---|
641 | Create the virtual machine.
|
---|
642 | </para>
|
---|
643 |
|
---|
644 | <screen># VM="ol7-autoinstall"
|
---|
645 | # VBoxManage list ostypes
|
---|
646 | # VBoxManage createvm --name $VM --ostype "Oracle_64" --register</screen>
|
---|
647 |
|
---|
648 | <para>
|
---|
649 | Note the following:
|
---|
650 | </para>
|
---|
651 |
|
---|
652 | <itemizedlist>
|
---|
653 |
|
---|
654 | <listitem>
|
---|
655 | <para>
|
---|
656 | The $VM variable represents the name of the VM.
|
---|
657 | </para>
|
---|
658 | </listitem>
|
---|
659 |
|
---|
660 | <listitem>
|
---|
661 | <para>
|
---|
662 | The <command>VBoxManage list ostypes</command> command
|
---|
663 | lists the guest OSes supported by &product-name;,
|
---|
664 | including the name used for each OS in the
|
---|
665 | <command>VBoxManage</command> commands.
|
---|
666 | </para>
|
---|
667 | </listitem>
|
---|
668 |
|
---|
669 | <listitem>
|
---|
670 | <para>
|
---|
671 | A 64-bit Oracle Linux 7 VM is created and registered
|
---|
672 | with &product-name;.
|
---|
673 | </para>
|
---|
674 | </listitem>
|
---|
675 |
|
---|
676 | <listitem>
|
---|
677 | <para>
|
---|
678 | The VM has a unique UUID.
|
---|
679 | </para>
|
---|
680 | </listitem>
|
---|
681 |
|
---|
682 | <listitem>
|
---|
683 | <para>
|
---|
684 | An XML settings file is generated.
|
---|
685 | </para>
|
---|
686 | </listitem>
|
---|
687 |
|
---|
688 | </itemizedlist>
|
---|
689 | </listitem>
|
---|
690 |
|
---|
691 | <listitem>
|
---|
692 | <para>
|
---|
693 | Create a virtual hard disk and storage devices for the VM.
|
---|
694 | </para>
|
---|
695 |
|
---|
696 | <screen># VBoxManage createhd --filename /VirtualBox/$VM/$VM.vdi --size 32768
|
---|
697 | # VBoxManage storagectl $VM --name "SATA Controller" --add sata --controller IntelAHCI
|
---|
698 | # VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 0 \
|
---|
699 | --type hdd --medium /VirtualBox/$VM/$VM.vdi
|
---|
700 | # VBoxManage storagectl $VM --name "IDE Controller" --add ide
|
---|
701 | # VBoxManage storageattach $VM --storagectl "IDE Controller" --port 0 --device 0 \
|
---|
702 | --type dvddrive --medium /u01/Software/OL/OracleLinux-R7-U6-Server-x86_64-dvd.iso</screen>
|
---|
703 |
|
---|
704 | <para>
|
---|
705 | The previous commands do the following:
|
---|
706 | </para>
|
---|
707 |
|
---|
708 | <itemizedlist>
|
---|
709 |
|
---|
710 | <listitem>
|
---|
711 | <para>
|
---|
712 | Create a 32768 MB virtual hard disk.
|
---|
713 | </para>
|
---|
714 | </listitem>
|
---|
715 |
|
---|
716 | <listitem>
|
---|
717 | <para>
|
---|
718 | Create a SATA storage controller and attach the virtual
|
---|
719 | hard disk.
|
---|
720 | </para>
|
---|
721 | </listitem>
|
---|
722 |
|
---|
723 | <listitem>
|
---|
724 | <para>
|
---|
725 | Create an IDE storage controller for a virtual DVD drive
|
---|
726 | and attach an Oracle Linux installation ISO.
|
---|
727 | </para>
|
---|
728 | </listitem>
|
---|
729 |
|
---|
730 | </itemizedlist>
|
---|
731 | </listitem>
|
---|
732 |
|
---|
733 | <listitem>
|
---|
734 | <para>
|
---|
735 | (Optional) Configure some settings for the VM.
|
---|
736 | </para>
|
---|
737 |
|
---|
738 | <screen># VBoxManage modifyvm $VM --ioapic on
|
---|
739 | # VBoxManage modifyvm $VM --boot1 dvd --boot2 disk --boot3 none --boot4 none
|
---|
740 | # VBoxManage modifyvm $VM --memory 8192 --vram 128</screen>
|
---|
741 |
|
---|
742 | <para>
|
---|
743 | The previous commands do the following:
|
---|
744 | </para>
|
---|
745 |
|
---|
746 | <itemizedlist>
|
---|
747 |
|
---|
748 | <listitem>
|
---|
749 | <para>
|
---|
750 | Enable I/O APIC for the motherboard of the VM.
|
---|
751 | </para>
|
---|
752 | </listitem>
|
---|
753 |
|
---|
754 | <listitem>
|
---|
755 | <para>
|
---|
756 | Configure the boot device order for the VM.
|
---|
757 | </para>
|
---|
758 | </listitem>
|
---|
759 |
|
---|
760 | <listitem>
|
---|
761 | <para>
|
---|
762 | Allocate 8192 MB of RAM and 128 MB of video RAM to the
|
---|
763 | VM.
|
---|
764 | </para>
|
---|
765 | </listitem>
|
---|
766 |
|
---|
767 | </itemizedlist>
|
---|
768 | </listitem>
|
---|
769 |
|
---|
770 | <listitem>
|
---|
771 | <para>
|
---|
772 | Perform an unattended install of the OS.
|
---|
773 | </para>
|
---|
774 |
|
---|
775 | <screen># VBoxManage unattended install $VM \
|
---|
776 | --iso=/u01/Software/OL/OracleLinux-R7-U6-Server-x86_64-dvd.iso \
|
---|
777 | --user=<replaceable>login</replaceable> --full-user-name=<replaceable>name</replaceable> --password <replaceable>password</replaceable> \
|
---|
778 | --install-additions --time-zone=CET</screen>
|
---|
779 |
|
---|
780 | <para>
|
---|
781 | The previous command does the following:
|
---|
782 | </para>
|
---|
783 |
|
---|
784 | <itemizedlist>
|
---|
785 |
|
---|
786 | <listitem>
|
---|
787 | <para>
|
---|
788 | Specifies an Oracle Linux ISO as the installation ISO.
|
---|
789 | </para>
|
---|
790 | </listitem>
|
---|
791 |
|
---|
792 | <listitem>
|
---|
793 | <para>
|
---|
794 | Specifies a login name, full name, and login password
|
---|
795 | for a default user on the guest OS.
|
---|
796 | </para>
|
---|
797 |
|
---|
798 | <para>
|
---|
799 | Note that the specified password is also used for the
|
---|
800 | root user account on the guest.
|
---|
801 | </para>
|
---|
802 | </listitem>
|
---|
803 |
|
---|
804 | <listitem>
|
---|
805 | <para>
|
---|
806 | Installs the Guest Additions on the VM.
|
---|
807 | </para>
|
---|
808 | </listitem>
|
---|
809 |
|
---|
810 | <listitem>
|
---|
811 | <para>
|
---|
812 | Sets the time zone for the guest OS to Central European
|
---|
813 | Time (CET).
|
---|
814 | </para>
|
---|
815 | </listitem>
|
---|
816 |
|
---|
817 | </itemizedlist>
|
---|
818 | </listitem>
|
---|
819 |
|
---|
820 | <listitem>
|
---|
821 | <para>
|
---|
822 | Start the virtual machine.
|
---|
823 | </para>
|
---|
824 |
|
---|
825 | <para>
|
---|
826 | This step completes the unattended installation process.
|
---|
827 | </para>
|
---|
828 |
|
---|
829 | <screen># VBoxManage startvm $VM --type headless</screen>
|
---|
830 |
|
---|
831 | <para>
|
---|
832 | The VM starts in headless mode, which means that the
|
---|
833 | VirtualBox Manager window does not open.
|
---|
834 | </para>
|
---|
835 | </listitem>
|
---|
836 |
|
---|
837 | <listitem>
|
---|
838 | <para>
|
---|
839 | (Optional) Update the guest OS to use the latest Oracle
|
---|
840 | Linux packages.
|
---|
841 | </para>
|
---|
842 |
|
---|
843 | <para>
|
---|
844 | On the guest VM, run the following command:
|
---|
845 | </para>
|
---|
846 |
|
---|
847 | <screen># yum update</screen>
|
---|
848 | </listitem>
|
---|
849 |
|
---|
850 | </orderedlist>
|
---|
851 |
|
---|
852 | </sect2>
|
---|
853 |
|
---|
854 | </sect1>
|
---|
855 |
|
---|
856 | <sect1 id="emul-hardware">
|
---|
857 |
|
---|
858 | <title>Emulated Hardware</title>
|
---|
859 |
|
---|
860 | <para>
|
---|
861 | &product-name; virtualizes nearly all hardware of the host.
|
---|
862 | Depending on a VM's configuration, the guest will see the
|
---|
863 | following virtual hardware:
|
---|
864 | </para>
|
---|
865 |
|
---|
866 | <itemizedlist>
|
---|
867 |
|
---|
868 | <listitem>
|
---|
869 | <para>
|
---|
870 | <emphasis role="bold">Input devices.</emphasis> By default,
|
---|
871 | &product-name; emulates a standard PS/2 keyboard and mouse.
|
---|
872 | These devices are supported by almost all past and present
|
---|
873 | OSes.
|
---|
874 | </para>
|
---|
875 |
|
---|
876 | <para>
|
---|
877 | In addition, &product-name; can provide virtual USB input
|
---|
878 | devices to avoid having to capture mouse and keyboard, as
|
---|
879 | described in <xref
|
---|
880 | linkend="keyb_mouse_normal" />.
|
---|
881 | </para>
|
---|
882 | </listitem>
|
---|
883 |
|
---|
884 | <listitem>
|
---|
885 | <para>
|
---|
886 | <emphasis role="bold">Graphics.</emphasis> The &product-name;
|
---|
887 | graphics device, sometimes referred to as a VGA device, is not
|
---|
888 | based on any physical counterpart. This is unlike nearly all
|
---|
889 | other emulated devices. It is a simple, synthetic device which
|
---|
890 | provides compatibility with standard VGA and several extended
|
---|
891 | registers used by the VESA BIOS Extensions (VBE).
|
---|
892 | </para>
|
---|
893 | </listitem>
|
---|
894 |
|
---|
895 | <listitem>
|
---|
896 | <para>
|
---|
897 | <emphasis role="bold">Storage.</emphasis> &product-name;
|
---|
898 | currently emulates the standard ATA interface found on Intel
|
---|
899 | PIIX3/PIIX4 chips, the SATA (AHCI) interface, and two SCSI
|
---|
900 | adapters (LSI Logic and BusLogic). See
|
---|
901 | <xref linkend="harddiskcontrollers" /> for details. Whereas
|
---|
902 | providing one of these would be enough for &product-name; by
|
---|
903 | itself, this multitude of storage adapters is required for
|
---|
904 | compatibility with other hypervisors. Windows is particularly
|
---|
905 | picky about its boot devices, and migrating VMs between
|
---|
906 | hypervisors is very difficult or impossible if the storage
|
---|
907 | controllers are different.
|
---|
908 | </para>
|
---|
909 | </listitem>
|
---|
910 |
|
---|
911 | <listitem>
|
---|
912 | <para>
|
---|
913 | <emphasis role="bold">Networking.</emphasis> See
|
---|
914 | <xref
|
---|
915 | linkend="nichardware" />.
|
---|
916 | </para>
|
---|
917 | </listitem>
|
---|
918 |
|
---|
919 | <listitem>
|
---|
920 | <para>
|
---|
921 | <emphasis role="bold">USB.</emphasis> &product-name; emulates
|
---|
922 | three USB host controllers: xHCI, EHCI, and OHCI. While xHCI
|
---|
923 | handles all USB transfer speeds, only guest OSes released
|
---|
924 | approximately after 2011 support xHCI. Note that for Windows 7
|
---|
925 | guests, 3rd party drivers must be installed for xHCI support.
|
---|
926 | </para>
|
---|
927 |
|
---|
928 | <para>
|
---|
929 | Older OSes typically support OHCI and EHCI. The two
|
---|
930 | controllers are needed because OHCI only handles USB low-speed
|
---|
931 | and full-speed devices (both USB 1.x and 2.0), while EHCI only
|
---|
932 | handles high-speed devices (USB 2.0 only).
|
---|
933 | </para>
|
---|
934 |
|
---|
935 | <para>
|
---|
936 | The emulated USB controllers do not communicate directly with
|
---|
937 | devices on the host but rather with a virtual USB layer which
|
---|
938 | abstracts the USB protocol and enables the use of remote USB
|
---|
939 | devices.
|
---|
940 | </para>
|
---|
941 | </listitem>
|
---|
942 |
|
---|
943 | <listitem>
|
---|
944 | <para>
|
---|
945 | <emphasis role="bold">Audio.</emphasis> See
|
---|
946 | <xref linkend="settings-audio" />.
|
---|
947 | </para>
|
---|
948 | </listitem>
|
---|
949 |
|
---|
950 | </itemizedlist>
|
---|
951 |
|
---|
952 | </sect1>
|
---|
953 |
|
---|
954 | <sect1 id="generalsettings">
|
---|
955 |
|
---|
956 | <title>General Settings</title>
|
---|
957 |
|
---|
958 | <para>
|
---|
959 | In the <emphasis role="bold">Settings</emphasis> window, under
|
---|
960 | <emphasis role="bold">General</emphasis>, you can configure the
|
---|
961 | most fundamental aspects of the virtual machine such as memory and
|
---|
962 | essential hardware. The following tabs are available.
|
---|
963 | </para>
|
---|
964 |
|
---|
965 | <sect2 id="settings-basic">
|
---|
966 |
|
---|
967 | <title>Basic Tab</title>
|
---|
968 |
|
---|
969 | <para>
|
---|
970 | In the <emphasis role="bold">Basic</emphasis> tab of the
|
---|
971 | <emphasis role="bold">General</emphasis> settings category, you
|
---|
972 | can find these settings:
|
---|
973 | </para>
|
---|
974 |
|
---|
975 | <itemizedlist>
|
---|
976 |
|
---|
977 | <listitem>
|
---|
978 | <para>
|
---|
979 | <emphasis role="bold">Name:</emphasis> The name under which
|
---|
980 | the VM is shown in the list of VMs in the main window. Under
|
---|
981 | this name, &product-name; also saves the VM's configuration
|
---|
982 | files. By changing the name, &product-name; renames these
|
---|
983 | files as well. As a result, you can only use characters
|
---|
984 | which are allowed in your host OS's file names.
|
---|
985 | </para>
|
---|
986 |
|
---|
987 | <para>
|
---|
988 | Note that internally, &product-name; uses unique identifiers
|
---|
989 | (UUIDs) to identify virtual machines. You can display these
|
---|
990 | with <command>VBoxManage</command>.
|
---|
991 | </para>
|
---|
992 | </listitem>
|
---|
993 |
|
---|
994 | <listitem>
|
---|
995 | <para>
|
---|
996 | <emphasis role="bold">Type:</emphasis> The type of the guest
|
---|
997 | OS for the VM. This is the same setting that is specified in
|
---|
998 | the <emphasis role="bold">New Virtual Machine</emphasis>
|
---|
999 | wizard. See <xref linkend="gui-createvm" />.
|
---|
1000 | </para>
|
---|
1001 |
|
---|
1002 | <para>
|
---|
1003 | Whereas the default settings of a newly created VM depend on
|
---|
1004 | the selected OS type, changing the type later has no effect
|
---|
1005 | on VM settings. This value is purely informational and
|
---|
1006 | decorative.
|
---|
1007 | </para>
|
---|
1008 | </listitem>
|
---|
1009 |
|
---|
1010 | <listitem>
|
---|
1011 | <para>
|
---|
1012 | <emphasis role="bold">Version:</emphasis> The version of the
|
---|
1013 | guest OS for the VM. This is the same setting that is
|
---|
1014 | specified in the <emphasis role="bold">New Virtual
|
---|
1015 | Machine</emphasis> wizard. See
|
---|
1016 | <xref linkend="gui-createvm" />.
|
---|
1017 | </para>
|
---|
1018 | </listitem>
|
---|
1019 |
|
---|
1020 | </itemizedlist>
|
---|
1021 |
|
---|
1022 | </sect2>
|
---|
1023 |
|
---|
1024 | <sect2 id="settings-general-advanced">
|
---|
1025 |
|
---|
1026 | <title>Advanced Tab</title>
|
---|
1027 |
|
---|
1028 | <para>
|
---|
1029 | The following settings are available in the
|
---|
1030 | <emphasis role="bold">Advanced</emphasis> tab:
|
---|
1031 | </para>
|
---|
1032 |
|
---|
1033 | <itemizedlist>
|
---|
1034 |
|
---|
1035 | <listitem>
|
---|
1036 | <para>
|
---|
1037 | <emphasis role="bold">Snapshot Folder:</emphasis> By
|
---|
1038 | default, &product-name; saves snapshot data together with
|
---|
1039 | your other &product-name; configuration data. See
|
---|
1040 | <xref linkend="vboxconfigdata" />. With this setting, you
|
---|
1041 | can specify any other folder for each VM.
|
---|
1042 | </para>
|
---|
1043 | </listitem>
|
---|
1044 |
|
---|
1045 | <listitem>
|
---|
1046 | <para>
|
---|
1047 | <emphasis role="bold">Shared Clipboard:</emphasis> You can
|
---|
1048 | select here whether the clipboard of the guest OS should be
|
---|
1049 | shared with that of your host. If you select
|
---|
1050 | <emphasis role="bold">Bidirectional</emphasis>, then
|
---|
1051 | &product-name; will always make sure that both clipboards
|
---|
1052 | contain the same data. If you select
|
---|
1053 | <emphasis role="bold">Host to Guest</emphasis> or
|
---|
1054 | <emphasis role="bold">Guest to Host</emphasis>, then
|
---|
1055 | &product-name; will only ever copy clipboard data in one
|
---|
1056 | direction.
|
---|
1057 | </para>
|
---|
1058 |
|
---|
1059 | <para>
|
---|
1060 | Clipboard sharing requires that the &product-name; Guest
|
---|
1061 | Additions be installed. In such a case, this setting has no
|
---|
1062 | effect. See <xref linkend="guestadditions" />.
|
---|
1063 | </para>
|
---|
1064 |
|
---|
1065 | <para>
|
---|
1066 | For security reasons, the shared clipboard is disabled by
|
---|
1067 | default. This setting can be changed at any time using the
|
---|
1068 | <emphasis role="bold">Shared Clipboard</emphasis> menu item
|
---|
1069 | in the <emphasis role="bold">Devices</emphasis> menu of the
|
---|
1070 | virtual machine.
|
---|
1071 | </para>
|
---|
1072 | </listitem>
|
---|
1073 |
|
---|
1074 | <listitem>
|
---|
1075 | <para>
|
---|
1076 | <emphasis role="bold">Drag and Drop:</emphasis> This setting
|
---|
1077 | enables support for drag and drop. Select an object, such as
|
---|
1078 | a file, from the host or guest and directly copy or open it
|
---|
1079 | on the guest or host. Multiple per-VM drag and drop modes
|
---|
1080 | allow restricting access in either direction.
|
---|
1081 | </para>
|
---|
1082 |
|
---|
1083 | <para>
|
---|
1084 | For drag and drop to work the Guest Additions need to be
|
---|
1085 | installed on the guest.
|
---|
1086 | </para>
|
---|
1087 |
|
---|
1088 | <note>
|
---|
1089 | <para>
|
---|
1090 | Drag and drop is disabled by default. This setting can be
|
---|
1091 | changed at any time using the <emphasis role="bold">Drag
|
---|
1092 | and Drop</emphasis> menu item in the
|
---|
1093 | <emphasis role="bold">Devices</emphasis> menu of the
|
---|
1094 | virtual machine.
|
---|
1095 | </para>
|
---|
1096 | </note>
|
---|
1097 |
|
---|
1098 | <para>
|
---|
1099 | See <xref linkend="guestadd-dnd"/>.
|
---|
1100 | </para>
|
---|
1101 | </listitem>
|
---|
1102 |
|
---|
1103 | </itemizedlist>
|
---|
1104 |
|
---|
1105 | </sect2>
|
---|
1106 |
|
---|
1107 | <sect2 id="settings-description">
|
---|
1108 |
|
---|
1109 | <title>Description Tab</title>
|
---|
1110 |
|
---|
1111 | <para>
|
---|
1112 | On the <emphasis role="bold">Description</emphasis> tab you can
|
---|
1113 | enter a description for your virtual machine. This has no effect
|
---|
1114 | on the functionality of the machine, but you may find this space
|
---|
1115 | useful to note down things such as the configuration of a
|
---|
1116 | virtual machine and the software that has been installed into
|
---|
1117 | it.
|
---|
1118 | </para>
|
---|
1119 |
|
---|
1120 | <para>
|
---|
1121 | To insert a line break into the
|
---|
1122 | <emphasis role="bold">Description</emphasis> text field, press
|
---|
1123 | Shift+Enter.
|
---|
1124 | </para>
|
---|
1125 |
|
---|
1126 | </sect2>
|
---|
1127 |
|
---|
1128 | <sect2 id="settings-disk-encryption">
|
---|
1129 |
|
---|
1130 | <title>Disk Encryption Tab</title>
|
---|
1131 |
|
---|
1132 | <para>
|
---|
1133 | The <emphasis role="bold">Disk Encryption</emphasis> tab enables
|
---|
1134 | you to encrypt disks that are attached to the virtual machine.
|
---|
1135 | </para>
|
---|
1136 |
|
---|
1137 | <para>
|
---|
1138 | To enable disk encryption, select the
|
---|
1139 | <emphasis role="bold">Enable Disk Encryption</emphasis> check
|
---|
1140 | box.
|
---|
1141 | </para>
|
---|
1142 |
|
---|
1143 | <para>
|
---|
1144 | Settings are available to configure the cipher used for
|
---|
1145 | encryption and the encryption password.
|
---|
1146 | </para>
|
---|
1147 |
|
---|
1148 | <note>
|
---|
1149 | <para>
|
---|
1150 | All files related to the virtual machine except disk images are
|
---|
1151 | stored unencrypted.
|
---|
1152 | </para>
|
---|
1153 | </note>
|
---|
1154 |
|
---|
1155 | </sect2>
|
---|
1156 |
|
---|
1157 | </sect1>
|
---|
1158 |
|
---|
1159 | <sect1 id="settings-system">
|
---|
1160 |
|
---|
1161 | <title>System Settings</title>
|
---|
1162 |
|
---|
1163 | <para>
|
---|
1164 | The <emphasis role="bold">System</emphasis> category groups
|
---|
1165 | various settings that are related to the basic hardware that is
|
---|
1166 | presented to the virtual machine.
|
---|
1167 | </para>
|
---|
1168 |
|
---|
1169 | <note>
|
---|
1170 | <para>
|
---|
1171 | As the activation mechanism of Microsoft Windows is sensitive to
|
---|
1172 | hardware changes, if you are changing hardware settings for a
|
---|
1173 | Windows guest, some of these changes may trigger a request for
|
---|
1174 | another activation with Microsoft.
|
---|
1175 | </para>
|
---|
1176 | </note>
|
---|
1177 |
|
---|
1178 | <para>
|
---|
1179 | The following tabs are available.
|
---|
1180 | </para>
|
---|
1181 |
|
---|
1182 | <sect2 id="settings-motherboard">
|
---|
1183 |
|
---|
1184 | <title>Motherboard Tab</title>
|
---|
1185 |
|
---|
1186 | <para>
|
---|
1187 | On the <emphasis role="bold">Motherboard</emphasis> tab, you can
|
---|
1188 | configure virtual hardware that would normally be on the
|
---|
1189 | motherboard of a real computer.
|
---|
1190 | </para>
|
---|
1191 |
|
---|
1192 | <itemizedlist>
|
---|
1193 |
|
---|
1194 | <listitem>
|
---|
1195 | <para>
|
---|
1196 | <emphasis role="bold">Base Memory:</emphasis> Sets the
|
---|
1197 | amount of RAM that is allocated and given to the VM when it
|
---|
1198 | is running. The specified amount of memory will be requested
|
---|
1199 | from the host OS, so it must be available or made available
|
---|
1200 | as free memory on the host when attempting to start the VM
|
---|
1201 | and will not be available to the host while the VM is
|
---|
1202 | running. This is the same setting that was specified in the
|
---|
1203 | <emphasis role="bold">New Virtual Machine</emphasis> wizard,
|
---|
1204 | as described in <xref linkend="gui-createvm" />.
|
---|
1205 | </para>
|
---|
1206 |
|
---|
1207 | <para>
|
---|
1208 | Generally, it is possible to change the memory size after
|
---|
1209 | installing the guest OS. But you must not reduce the memory
|
---|
1210 | to an amount where the OS would no longer boot.
|
---|
1211 | </para>
|
---|
1212 | </listitem>
|
---|
1213 |
|
---|
1214 | <listitem>
|
---|
1215 | <para>
|
---|
1216 | <emphasis role="bold">Boot Order:</emphasis> Determines the
|
---|
1217 | order in which the guest OS will attempt to boot from the
|
---|
1218 | various virtual boot devices. Analogous to a real PC's BIOS
|
---|
1219 | setting, &product-name; can tell a guest OS to start from
|
---|
1220 | the virtual floppy, the virtual CD/DVD drive, the virtual
|
---|
1221 | hard drive (each of these as defined by the other VM
|
---|
1222 | settings), the network, or none of these.
|
---|
1223 | </para>
|
---|
1224 |
|
---|
1225 | <para>
|
---|
1226 | If you select <emphasis role="bold">Network</emphasis>, the
|
---|
1227 | VM will attempt to boot from a network using the PXE
|
---|
1228 | mechanism. This needs to be configured in detail on the
|
---|
1229 | command line. See <xref linkend="vboxmanage-modifyvm" />.
|
---|
1230 | </para>
|
---|
1231 | </listitem>
|
---|
1232 |
|
---|
1233 | <listitem>
|
---|
1234 | <para>
|
---|
1235 | <emphasis role="bold">Chipset:</emphasis> You can select
|
---|
1236 | which chipset will be presented to the virtual machine. In
|
---|
1237 | legacy versions of &product-name;, PIIX3 was the only
|
---|
1238 | available option. For modern guest OSes such as Mac OS X,
|
---|
1239 | that old chipset is no longer well supported. As a result,
|
---|
1240 | &product-name; supports an emulation of the more modern ICH9
|
---|
1241 | chipset, which supports PCI express, three PCI buses,
|
---|
1242 | PCI-to-PCI bridges and Message Signaled Interrupts (MSI).
|
---|
1243 | This enables modern OSes to address more PCI devices and no
|
---|
1244 | longer requires IRQ sharing. Using the ICH9 chipset it is
|
---|
1245 | also possible to configure up to 36 network cards, up to 8
|
---|
1246 | network adapters with PIIX3. Note that the ICH9 support is
|
---|
1247 | experimental and not recommended for guest OSes which do not
|
---|
1248 | require it.
|
---|
1249 | </para>
|
---|
1250 | </listitem>
|
---|
1251 |
|
---|
1252 | <listitem>
|
---|
1253 | <para>
|
---|
1254 | <emphasis role="bold">Pointing Device:</emphasis> The
|
---|
1255 | default virtual pointing devices for older guests is the
|
---|
1256 | traditional PS/2 mouse. If set to <emphasis>USB
|
---|
1257 | tablet</emphasis>, &product-name; reports to the virtual
|
---|
1258 | machine that a USB tablet device is present and communicates
|
---|
1259 | mouse events to the virtual machine through this device. The
|
---|
1260 | third setting is a <emphasis>USB Multi-Touch
|
---|
1261 | Tablet</emphasis> which is suited for recent Windows guests.
|
---|
1262 | </para>
|
---|
1263 |
|
---|
1264 | <para>
|
---|
1265 | Using the virtual USB tablet has the advantage that
|
---|
1266 | movements are reported in absolute coordinates, instead of
|
---|
1267 | as relative position changes. This enables &product-name; to
|
---|
1268 | translate mouse events over the VM window into tablet events
|
---|
1269 | without having to "capture" the mouse in the guest as
|
---|
1270 | described in <xref linkend="keyb_mouse_normal" />. This
|
---|
1271 | makes using the VM less tedious even if Guest Additions are
|
---|
1272 | not installed.
|
---|
1273 | </para>
|
---|
1274 | </listitem>
|
---|
1275 |
|
---|
1276 | <listitem>
|
---|
1277 | <para>
|
---|
1278 | <emphasis role="bold">Enable I/O APIC:</emphasis> Advanced
|
---|
1279 | Programmable Interrupt Controllers (APICs) are a newer x86
|
---|
1280 | hardware feature that have replaced old-style Programmable
|
---|
1281 | Interrupt Controllers (PICs) in recent years. With an I/O
|
---|
1282 | APIC, OSes can use more than 16 interrupt requests (IRQs)
|
---|
1283 | and therefore avoid IRQ sharing for improved reliability.
|
---|
1284 | </para>
|
---|
1285 |
|
---|
1286 | <note>
|
---|
1287 | <para>
|
---|
1288 | Enabling the I/O APIC is <emphasis>required</emphasis> for
|
---|
1289 | 64-bit guest OSes, especially Windows Vista. It is also
|
---|
1290 | required if you want to use more than one virtual CPU in a
|
---|
1291 | virtual machine.
|
---|
1292 | </para>
|
---|
1293 | </note>
|
---|
1294 |
|
---|
1295 | <para>
|
---|
1296 | However, software support for I/O APICs has been unreliable
|
---|
1297 | with some OSes other than Windows. Also, the use of an I/O
|
---|
1298 | APIC slightly increases the overhead of virtualization and
|
---|
1299 | therefore slows down the guest OS a little.
|
---|
1300 | </para>
|
---|
1301 |
|
---|
1302 | <warning>
|
---|
1303 | <para>
|
---|
1304 | All Windows OSes starting with Windows 2000 install
|
---|
1305 | different kernels, depending on whether an I/O APIC is
|
---|
1306 | available. As with ACPI, the I/O APIC therefore
|
---|
1307 | <emphasis>must not be turned off after
|
---|
1308 | installation</emphasis> of a Windows guest OS. Turning it
|
---|
1309 | on after installation will have no effect however.
|
---|
1310 | </para>
|
---|
1311 | </warning>
|
---|
1312 | </listitem>
|
---|
1313 |
|
---|
1314 | <listitem>
|
---|
1315 | <para>
|
---|
1316 | <emphasis role="bold">Enable EFI:</emphasis> Enables
|
---|
1317 | Extensible Firmware Interface (EFI), which replaces the
|
---|
1318 | legacy BIOS and may be useful for certain advanced use
|
---|
1319 | cases. See <xref linkend="efi" />.
|
---|
1320 | </para>
|
---|
1321 | </listitem>
|
---|
1322 |
|
---|
1323 | <listitem>
|
---|
1324 | <para>
|
---|
1325 | <emphasis role="bold">Hardware Clock in UTC Time:</emphasis>
|
---|
1326 | If selected, &product-name; will report the system time in
|
---|
1327 | UTC format to the guest instead of the local (host) time.
|
---|
1328 | This affects how the virtual real-time clock (RTC) operates
|
---|
1329 | and may be useful for UNIX-like guest OSes, which typically
|
---|
1330 | expect the hardware clock to be set to UTC.
|
---|
1331 | </para>
|
---|
1332 | </listitem>
|
---|
1333 |
|
---|
1334 | </itemizedlist>
|
---|
1335 |
|
---|
1336 | <para>
|
---|
1337 | In addition, you can turn off the <emphasis role="bold">Advanced
|
---|
1338 | Configuration and Power Interface (ACPI)</emphasis> which
|
---|
1339 | &product-name; presents to the guest OS by default.
|
---|
1340 | </para>
|
---|
1341 |
|
---|
1342 | <para>
|
---|
1343 | ACPI is the current industry standard to allow OSes to recognize
|
---|
1344 | hardware, configure motherboards and other devices and manage
|
---|
1345 | power. As all modern PCs contain this feature and Windows and
|
---|
1346 | Linux have been supporting it for years, it is also enabled by
|
---|
1347 | default in &product-name;. ACPI can only be turned off using the
|
---|
1348 | command line. See <xref linkend="vboxmanage-modifyvm" />.
|
---|
1349 | </para>
|
---|
1350 |
|
---|
1351 | <warning>
|
---|
1352 | <para>
|
---|
1353 | All Windows OSes starting with Windows 2000 install different
|
---|
1354 | kernels, depending on whether ACPI is available. This means
|
---|
1355 | that ACPI <emphasis>must not be turned off</emphasis> after
|
---|
1356 | installation of a Windows guest OS. However, turning it on
|
---|
1357 | after installation will have no effect.
|
---|
1358 | </para>
|
---|
1359 | </warning>
|
---|
1360 |
|
---|
1361 | </sect2>
|
---|
1362 |
|
---|
1363 | <sect2 id="settings-processor">
|
---|
1364 |
|
---|
1365 | <title>Processor Tab</title>
|
---|
1366 |
|
---|
1367 | <para>
|
---|
1368 | On the <emphasis role="bold">Processor</emphasis> tab, you can
|
---|
1369 | configure settings for the CPU used by the virtual machine.
|
---|
1370 | </para>
|
---|
1371 |
|
---|
1372 | <itemizedlist>
|
---|
1373 |
|
---|
1374 | <listitem>
|
---|
1375 | <para>
|
---|
1376 | <emphasis role="bold">Processor(s):</emphasis> Sets the
|
---|
1377 | number of virtual CPU cores the guest OSes can see.
|
---|
1378 | &product-name; supports symmetrical multiprocessing (SMP)
|
---|
1379 | and can present up to 32 virtual CPU cores to each virtual
|
---|
1380 | machine.
|
---|
1381 | </para>
|
---|
1382 |
|
---|
1383 | <para>
|
---|
1384 | You should not configure virtual machines to use more CPU
|
---|
1385 | cores than are available physically. This includes real
|
---|
1386 | cores, with no hyperthreads.
|
---|
1387 | </para>
|
---|
1388 | </listitem>
|
---|
1389 |
|
---|
1390 | <listitem>
|
---|
1391 | <para>
|
---|
1392 | <emphasis role="bold">Execution Cap:</emphasis> Configures
|
---|
1393 | the CPU execution cap. This limits the amount of time a host
|
---|
1394 | CPU spends to emulate a virtual CPU. The default setting is
|
---|
1395 | 100%, meaning that there is no limitation. A setting of 50%
|
---|
1396 | implies a single virtual CPU can use up to 50% of a single
|
---|
1397 | host CPU. Note that limiting the execution time of the
|
---|
1398 | virtual CPUs may cause guest timing problems.
|
---|
1399 | </para>
|
---|
1400 |
|
---|
1401 | <para>
|
---|
1402 | A warning is displayed at the bottom of the Processor tab if
|
---|
1403 | an Execution Cap setting is made that may affect system
|
---|
1404 | performance.
|
---|
1405 | </para>
|
---|
1406 | </listitem>
|
---|
1407 |
|
---|
1408 | <listitem>
|
---|
1409 | <para>
|
---|
1410 | <emphasis role="bold">Enable PAE/NX:</emphasis> Determines
|
---|
1411 | whether the PAE and NX capabilities of the host CPU will be
|
---|
1412 | exposed to the virtual machine.
|
---|
1413 | </para>
|
---|
1414 |
|
---|
1415 | <para>
|
---|
1416 | PAE stands for Physical Address Extension. Normally, if
|
---|
1417 | enabled and supported by the OS, then even a 32-bit x86 CPU
|
---|
1418 | can access more than 4 GB of RAM. This is made possible by
|
---|
1419 | adding another 4 bits to memory addresses, so that with 36
|
---|
1420 | bits, up to 64 GB can be addressed. Some OSes, such as
|
---|
1421 | Ubuntu Server, require PAE support from the CPU and cannot
|
---|
1422 | be run in a virtual machine without it.
|
---|
1423 | </para>
|
---|
1424 | </listitem>
|
---|
1425 |
|
---|
1426 | <listitem>
|
---|
1427 | <para>
|
---|
1428 | <emphasis role="bold">Enable Nested VT-x/AMD-V</emphasis>:
|
---|
1429 | Enables nested virtualization, with passthrough of hardware
|
---|
1430 | virtualization functions to the guest VM.
|
---|
1431 | </para>
|
---|
1432 | </listitem>
|
---|
1433 |
|
---|
1434 | </itemizedlist>
|
---|
1435 |
|
---|
1436 | <para>
|
---|
1437 | With virtual machines running modern server OSes, &product-name;
|
---|
1438 | also supports CPU hot-plugging. For details, see
|
---|
1439 | <xref linkend="cpuhotplug" />.
|
---|
1440 | </para>
|
---|
1441 |
|
---|
1442 | </sect2>
|
---|
1443 |
|
---|
1444 | <sect2 id="settings-acceleration">
|
---|
1445 |
|
---|
1446 | <title>Acceleration Tab</title>
|
---|
1447 |
|
---|
1448 | <para>
|
---|
1449 | On this tab, you can configure &product-name; to use hardware
|
---|
1450 | virtualization extensions that your host CPU supports.
|
---|
1451 | </para>
|
---|
1452 |
|
---|
1453 | <itemizedlist>
|
---|
1454 |
|
---|
1455 | <listitem>
|
---|
1456 | <para>
|
---|
1457 | <emphasis role="bold">Paravirtualization
|
---|
1458 | Interface:</emphasis> &product-name; provides
|
---|
1459 | paravirtualization interfaces to improve time-keeping
|
---|
1460 | accuracy and performance of guest OSes. The options
|
---|
1461 | available are documented under the
|
---|
1462 | <computeroutput>paravirtprovider</computeroutput> option in
|
---|
1463 | <xref linkend="vboxmanage-modifyvm" />. For further details
|
---|
1464 | on the paravirtualization providers, see
|
---|
1465 | <xref linkend="gimproviders" />.
|
---|
1466 | </para>
|
---|
1467 | </listitem>
|
---|
1468 |
|
---|
1469 | <listitem>
|
---|
1470 | <para>
|
---|
1471 | <emphasis role="bold">Hardware Virtualization:</emphasis>
|
---|
1472 | You can select for each virtual machine individually whether
|
---|
1473 | &product-name; should use software or hardware
|
---|
1474 | virtualization.
|
---|
1475 | </para>
|
---|
1476 |
|
---|
1477 | <itemizedlist>
|
---|
1478 |
|
---|
1479 | <listitem>
|
---|
1480 | <para>
|
---|
1481 | <emphasis role="bold">Enable VT-x/AMD-V:</emphasis>
|
---|
1482 | Enables Intel VT-x and AMD-V hardware extensions if the
|
---|
1483 | host CPU supports them.
|
---|
1484 | </para>
|
---|
1485 | </listitem>
|
---|
1486 |
|
---|
1487 | <listitem>
|
---|
1488 | <para>
|
---|
1489 | <emphasis role="bold">Enable Nested Paging:</emphasis>
|
---|
1490 | If the host CPU supports the nested paging (AMD-V) or
|
---|
1491 | EPT (Intel VT-x) features, then you can expect a
|
---|
1492 | significant performance increase by enabling nested
|
---|
1493 | paging in addition to hardware virtualization. For
|
---|
1494 | technical details, see <xref linkend="nestedpaging" />.
|
---|
1495 | For Intel EPT security recommendations, see
|
---|
1496 | <xref linkend="sec-rec-cve-2018-3646" />.
|
---|
1497 | </para>
|
---|
1498 | </listitem>
|
---|
1499 |
|
---|
1500 | </itemizedlist>
|
---|
1501 |
|
---|
1502 | <para>
|
---|
1503 | Advanced users may be interested in technical details about
|
---|
1504 | software versus hardware virtualization. See
|
---|
1505 | <xref linkend="hwvirt" />.
|
---|
1506 | </para>
|
---|
1507 | </listitem>
|
---|
1508 |
|
---|
1509 | </itemizedlist>
|
---|
1510 |
|
---|
1511 | <para>
|
---|
1512 | In most cases, the default settings on the
|
---|
1513 | <emphasis role="bold">Acceleration</emphasis> tab will work
|
---|
1514 | well. &product-name; selects sensible defaults, depending on the
|
---|
1515 | OS that you selected when you created the virtual machine. In
|
---|
1516 | certain situations, however, you may want to change the
|
---|
1517 | preconfigured defaults.
|
---|
1518 | </para>
|
---|
1519 |
|
---|
1520 | </sect2>
|
---|
1521 |
|
---|
1522 | </sect1>
|
---|
1523 |
|
---|
1524 | <sect1 id="settings-display">
|
---|
1525 |
|
---|
1526 | <title>Display Settings</title>
|
---|
1527 |
|
---|
1528 | <para>
|
---|
1529 | The following tabs are available for configuring the display for a
|
---|
1530 | virtual machine.
|
---|
1531 | </para>
|
---|
1532 |
|
---|
1533 | <sect2 id="settings-screen">
|
---|
1534 |
|
---|
1535 | <title>Screen Tab</title>
|
---|
1536 |
|
---|
1537 | <itemizedlist>
|
---|
1538 |
|
---|
1539 | <listitem>
|
---|
1540 | <para>
|
---|
1541 | <emphasis role="bold">Video Memory:</emphasis> Sets the size
|
---|
1542 | of the memory provided by the virtual graphics card
|
---|
1543 | available to the guest, in MB. As with the main memory, the
|
---|
1544 | specified amount will be allocated from the host's resident
|
---|
1545 | memory. Based on the amount of video memory, higher
|
---|
1546 | resolutions and color depths may be available.
|
---|
1547 | </para>
|
---|
1548 |
|
---|
1549 | <para>
|
---|
1550 | The GUI will show a warning if the amount of video memory is
|
---|
1551 | too small to be able to switch the VM into full screen mode.
|
---|
1552 | The minimum value depends on the number of virtual monitors,
|
---|
1553 | the screen resolution and the color depth of the host
|
---|
1554 | display as well as on the use of <emphasis>3D
|
---|
1555 | acceleration</emphasis> and <emphasis>2D video
|
---|
1556 | acceleration</emphasis>. A rough estimate is
|
---|
1557 | (<emphasis>color depth</emphasis> / 8) x <emphasis>vertical
|
---|
1558 | pixels</emphasis> x <emphasis>horizontal pixels</emphasis> x
|
---|
1559 | <emphasis>number of screens</emphasis> = <emphasis>number of
|
---|
1560 | bytes</emphasis>. Extra memory may be required if display
|
---|
1561 | acceleration is used.
|
---|
1562 | </para>
|
---|
1563 | </listitem>
|
---|
1564 |
|
---|
1565 | <listitem>
|
---|
1566 | <para>
|
---|
1567 | <emphasis role="bold">Monitor Count:</emphasis> With this
|
---|
1568 | setting, &product-name; can provide more than one virtual
|
---|
1569 | monitor to a virtual machine. If a guest OS supports
|
---|
1570 | multiple attached monitors, &product-name; can pretend that
|
---|
1571 | multiple virtual monitors are present. Up to eight such
|
---|
1572 | virtual monitors are supported.
|
---|
1573 | </para>
|
---|
1574 |
|
---|
1575 | <para>
|
---|
1576 | The output of the multiple monitors are displayed on the
|
---|
1577 | host in multiple VM windows which are running side by side.
|
---|
1578 | However, in full screen and seamless mode, they use the
|
---|
1579 | available physical monitors attached to the host. As a
|
---|
1580 | result, for full screen and seamless modes to work with
|
---|
1581 | multiple monitors, you will need at least as many physical
|
---|
1582 | monitors as you have virtual monitors configured, or
|
---|
1583 | &product-name; will report an error.
|
---|
1584 | </para>
|
---|
1585 |
|
---|
1586 | <para>
|
---|
1587 | You can configure the relationship between guest and host
|
---|
1588 | monitors using the <emphasis role="bold">View</emphasis>
|
---|
1589 | menu by pressing Host key + Home when you are in full screen
|
---|
1590 | or seamless mode.
|
---|
1591 | </para>
|
---|
1592 |
|
---|
1593 | <para>
|
---|
1594 | See also <xref linkend="KnownIssues" />.
|
---|
1595 | </para>
|
---|
1596 | </listitem>
|
---|
1597 |
|
---|
1598 | <listitem>
|
---|
1599 | <para>
|
---|
1600 | <emphasis role="bold">Scale Factor:</emphasis> Enables
|
---|
1601 | scaling of the display size. For multiple monitor displays,
|
---|
1602 | you can set the scale factor for individual monitors, or
|
---|
1603 | globally for all of the monitors. Use the slider to select a
|
---|
1604 | scaling factor up to 200%.
|
---|
1605 | </para>
|
---|
1606 |
|
---|
1607 | <para>
|
---|
1608 | You can set a default scale factor for all VMs. Use the
|
---|
1609 | <emphasis role="bold">Display</emphasis> tab in the Global
|
---|
1610 | Settings dialogs.
|
---|
1611 | </para>
|
---|
1612 | </listitem>
|
---|
1613 |
|
---|
1614 | <listitem>
|
---|
1615 | <para>
|
---|
1616 | <emphasis role="bold">Enable 3D Acceleration:</emphasis> If
|
---|
1617 | a virtual machine has Guest Additions installed, you can
|
---|
1618 | select here whether the guest should support accelerated 3D
|
---|
1619 | graphics. See <xref linkend="guestadd-3d" />.
|
---|
1620 | </para>
|
---|
1621 | </listitem>
|
---|
1622 |
|
---|
1623 | <listitem>
|
---|
1624 | <para>
|
---|
1625 | <emphasis role="bold">Enable 2D Video
|
---|
1626 | Acceleration:</emphasis> If a virtual machine with Microsoft
|
---|
1627 | Windows has Guest Additions installed, you can select here
|
---|
1628 | whether the guest should support accelerated 2D video
|
---|
1629 | graphics. See <xref linkend="guestadd-2d" />.
|
---|
1630 | </para>
|
---|
1631 | </listitem>
|
---|
1632 |
|
---|
1633 | <listitem>
|
---|
1634 | <para>
|
---|
1635 | <emphasis role="bold">Graphics Controller:</emphasis>
|
---|
1636 | Specifies the graphics adapter type used by the guest VM.
|
---|
1637 | Note that you must install the Guest Additions on the guest
|
---|
1638 | VM to specify the VBoxSVGA or VMSVGA graphics controller.
|
---|
1639 | The following options are available:
|
---|
1640 | </para>
|
---|
1641 |
|
---|
1642 | <itemizedlist>
|
---|
1643 |
|
---|
1644 | <listitem>
|
---|
1645 | <para>
|
---|
1646 | <emphasis role="bold">VBoxSVGA:</emphasis> The default
|
---|
1647 | graphics controller for new VMs that use Windows 7 or
|
---|
1648 | later.
|
---|
1649 | </para>
|
---|
1650 |
|
---|
1651 | <para>
|
---|
1652 | This graphics controller improves performance and 3D
|
---|
1653 | support when compared to the legacy VBoxVGA option.
|
---|
1654 | </para>
|
---|
1655 | </listitem>
|
---|
1656 |
|
---|
1657 | <listitem>
|
---|
1658 | <para>
|
---|
1659 | <emphasis role="bold">VBoxVGA:</emphasis> Use this
|
---|
1660 | graphics controller for legacy guest OSes. This is the
|
---|
1661 | default graphics controller for Windows versions before
|
---|
1662 | Windows 7 and for Oracle Solaris.
|
---|
1663 | </para>
|
---|
1664 | </listitem>
|
---|
1665 |
|
---|
1666 | <listitem>
|
---|
1667 | <para>
|
---|
1668 | <emphasis role="bold">VMSVGA:</emphasis> Use this
|
---|
1669 | graphics controller to emulate a VMware SVGA graphics
|
---|
1670 | device. This is the default graphics controller for
|
---|
1671 | Linux guests.
|
---|
1672 | </para>
|
---|
1673 | </listitem>
|
---|
1674 |
|
---|
1675 | <listitem>
|
---|
1676 | <para>
|
---|
1677 | <emphasis role="bold">None:</emphasis> Does not emulate
|
---|
1678 | a graphics adapter type.
|
---|
1679 | </para>
|
---|
1680 | </listitem>
|
---|
1681 |
|
---|
1682 | </itemizedlist>
|
---|
1683 | </listitem>
|
---|
1684 |
|
---|
1685 | </itemizedlist>
|
---|
1686 |
|
---|
1687 | </sect2>
|
---|
1688 |
|
---|
1689 | <sect2 id="settings-remote-display">
|
---|
1690 |
|
---|
1691 | <title>Remote Display Tab</title>
|
---|
1692 |
|
---|
1693 | <para>
|
---|
1694 | On the <emphasis role="bold">Remote Display</emphasis> tab, if
|
---|
1695 | the VirtualBox Remote Display Extension (VRDE) is installed, you
|
---|
1696 | can enable the VRDP server that is built into &product-name;.
|
---|
1697 | This enables you to connect to the console of the virtual
|
---|
1698 | machine remotely with any standard RDP viewer, such as
|
---|
1699 | <command>mstsc.exe</command> that comes with Microsoft Windows.
|
---|
1700 | On Linux and Oracle Solaris systems you can use the standard
|
---|
1701 | open source <command>rdesktop</command> program. These features
|
---|
1702 | are described in <xref linkend="vrde" />.
|
---|
1703 | </para>
|
---|
1704 |
|
---|
1705 | <itemizedlist>
|
---|
1706 |
|
---|
1707 | <listitem>
|
---|
1708 | <para>
|
---|
1709 | <emphasis role="bold">Enable Server:</emphasis> Select this
|
---|
1710 | check box and configure settings for the remote display
|
---|
1711 | connection.
|
---|
1712 | </para>
|
---|
1713 | </listitem>
|
---|
1714 |
|
---|
1715 | </itemizedlist>
|
---|
1716 |
|
---|
1717 | </sect2>
|
---|
1718 |
|
---|
1719 | <sect2 id="settings-capture">
|
---|
1720 |
|
---|
1721 | <title>Recording Tab</title>
|
---|
1722 |
|
---|
1723 | <para>
|
---|
1724 | On the <emphasis role="bold">Recording</emphasis> tab you can
|
---|
1725 | enable video and audio recording for a virtual machine and
|
---|
1726 | change related settings. Note that these features can be enabled
|
---|
1727 | and disabled while a VM is running.
|
---|
1728 | </para>
|
---|
1729 |
|
---|
1730 | <itemizedlist>
|
---|
1731 |
|
---|
1732 | <listitem>
|
---|
1733 | <para>
|
---|
1734 | <emphasis role="bold">Enable Recording:</emphasis> Select
|
---|
1735 | this check box and select a <emphasis role="bold">Recording
|
---|
1736 | Mode</emphasis> option.
|
---|
1737 | </para>
|
---|
1738 | </listitem>
|
---|
1739 |
|
---|
1740 | <listitem>
|
---|
1741 | <para>
|
---|
1742 | <emphasis role="bold">Recording Mode:</emphasis> You can
|
---|
1743 | choose to record video, audio, or both video and audio.
|
---|
1744 | </para>
|
---|
1745 |
|
---|
1746 | <para>
|
---|
1747 | Some settings on the
|
---|
1748 | <emphasis role="bold">Recording</emphasis> tab may be grayed
|
---|
1749 | out, depending on the <emphasis role="bold">Recording
|
---|
1750 | Mode</emphasis> setting.
|
---|
1751 | </para>
|
---|
1752 | </listitem>
|
---|
1753 |
|
---|
1754 | <listitem>
|
---|
1755 | <para>
|
---|
1756 | <emphasis role="bold">File Path:</emphasis> The file where
|
---|
1757 | the recording is saved.
|
---|
1758 | </para>
|
---|
1759 | </listitem>
|
---|
1760 |
|
---|
1761 | <listitem>
|
---|
1762 | <para>
|
---|
1763 | <emphasis role="bold">Frame Size:</emphasis> The video
|
---|
1764 | resolution of the recorded video, in pixels. The drop-down
|
---|
1765 | list enables you to select from common frame sizes.
|
---|
1766 | </para>
|
---|
1767 | </listitem>
|
---|
1768 |
|
---|
1769 | <listitem>
|
---|
1770 | <para>
|
---|
1771 | <emphasis role="bold">Frame Rate:</emphasis> Use the slider
|
---|
1772 | to set the maximum number of video frames per second (FPS)
|
---|
1773 | to record. Frames that have a higher frequency are skipped.
|
---|
1774 | Increasing this value reduces the number of skipped frames
|
---|
1775 | and increases the file size.
|
---|
1776 | </para>
|
---|
1777 | </listitem>
|
---|
1778 |
|
---|
1779 | <listitem>
|
---|
1780 | <para>
|
---|
1781 | <emphasis role="bold">Quality:</emphasis> Use the slider to
|
---|
1782 | set the the bit rate of the video in kilobits per second.
|
---|
1783 | Increasing this value improves the appearance of the video
|
---|
1784 | at the cost of an increased file size.
|
---|
1785 | </para>
|
---|
1786 | </listitem>
|
---|
1787 |
|
---|
1788 | <listitem>
|
---|
1789 | <para>
|
---|
1790 | <emphasis role="bold">Audio Quality:</emphasis> Use the
|
---|
1791 | slider to set the quality of the audio recording. Increasing
|
---|
1792 | this value improves the audio quality at the cost of an
|
---|
1793 | increased file size.
|
---|
1794 | </para>
|
---|
1795 | </listitem>
|
---|
1796 |
|
---|
1797 | <listitem>
|
---|
1798 | <para>
|
---|
1799 | <emphasis role="bold">Screens:</emphasis> For a multiple
|
---|
1800 | monitor display, you can select which screens to record
|
---|
1801 | video from.
|
---|
1802 | </para>
|
---|
1803 | </listitem>
|
---|
1804 |
|
---|
1805 | </itemizedlist>
|
---|
1806 |
|
---|
1807 | <para>
|
---|
1808 | As you adjust the video and audio recording settings, the
|
---|
1809 | approximate output file size for a five minute video is shown.
|
---|
1810 | </para>
|
---|
1811 |
|
---|
1812 | </sect2>
|
---|
1813 |
|
---|
1814 | </sect1>
|
---|
1815 |
|
---|
1816 | <sect1 id="settings-storage">
|
---|
1817 |
|
---|
1818 | <title>Storage Settings</title>
|
---|
1819 |
|
---|
1820 | <para>
|
---|
1821 | The <emphasis role="bold">Storage</emphasis> category in the VM
|
---|
1822 | settings enables you to connect virtual hard disk, CD/DVD, and
|
---|
1823 | floppy images and drives to your virtual machine.
|
---|
1824 | </para>
|
---|
1825 |
|
---|
1826 | <para>
|
---|
1827 | In a real PC, so-called <emphasis>storage controllers</emphasis>
|
---|
1828 | connect physical disk drives to the rest of the computer.
|
---|
1829 | Similarly, &product-name; presents virtual storage controllers to
|
---|
1830 | a virtual machine. Under each controller, the virtual devices,
|
---|
1831 | such as hard disks, CD/DVD or floppy drives, attached to the
|
---|
1832 | controller are shown.
|
---|
1833 | </para>
|
---|
1834 |
|
---|
1835 | <note>
|
---|
1836 | <para>
|
---|
1837 | This section gives a quick introduction to the &product-name;
|
---|
1838 | storage settings. See <xref linkend="storage" /> for a full
|
---|
1839 | description of the available storage settings in &product-name;.
|
---|
1840 | </para>
|
---|
1841 | </note>
|
---|
1842 |
|
---|
1843 | <para>
|
---|
1844 | If you have used the <emphasis role="bold">Create VM</emphasis>
|
---|
1845 | wizard to create a machine, you will normally see something like
|
---|
1846 | the following:
|
---|
1847 | </para>
|
---|
1848 |
|
---|
1849 | <figure id="fig-storage-settings">
|
---|
1850 | <title>Storage Settings for a Virtual Machine</title>
|
---|
1851 | <mediaobject>
|
---|
1852 | <imageobject>
|
---|
1853 | <imagedata align="center" fileref="images/vm-settings-harddisk.png"
|
---|
1854 | width="10cm" />
|
---|
1855 | </imageobject>
|
---|
1856 | </mediaobject>
|
---|
1857 | </figure>
|
---|
1858 |
|
---|
1859 | <para>
|
---|
1860 | Depending on the guest OS type that you selected when you created
|
---|
1861 | the VM, a new VM includes the following storage devices:
|
---|
1862 | </para>
|
---|
1863 |
|
---|
1864 | <itemizedlist>
|
---|
1865 |
|
---|
1866 | <listitem>
|
---|
1867 | <para>
|
---|
1868 | <emphasis role="bold">IDE controller.</emphasis> A virtual
|
---|
1869 | CD/DVD drive is attached to the secondary master port of the
|
---|
1870 | IDE controller.
|
---|
1871 | </para>
|
---|
1872 | </listitem>
|
---|
1873 |
|
---|
1874 | <listitem>
|
---|
1875 | <para>
|
---|
1876 | <emphasis role="bold">SATA controller.</emphasis> This is a
|
---|
1877 | modern type of storage controller for higher hard disk data
|
---|
1878 | throughput, to which the virtual hard disks are attached.
|
---|
1879 | Initially you will normally have one such virtual disk, but as
|
---|
1880 | shown in the previous screenshot, you can have more than one.
|
---|
1881 | Each is represented by a disk image file, such as a VDI file
|
---|
1882 | in this example.
|
---|
1883 | </para>
|
---|
1884 | </listitem>
|
---|
1885 |
|
---|
1886 | </itemizedlist>
|
---|
1887 |
|
---|
1888 | <para>
|
---|
1889 | If you created your VM with an older version of &product-name;,
|
---|
1890 | the default storage layout may differ. You might then only have an
|
---|
1891 | IDE controller to which both the CD/DVD drive and the hard disks
|
---|
1892 | have been attached. This might also apply if you selected an older
|
---|
1893 | OS type when you created the VM. Since older OSes do not support
|
---|
1894 | SATA without additional drivers, &product-name; will make sure
|
---|
1895 | that no such devices are present initially. See
|
---|
1896 | <xref linkend="harddiskcontrollers" />.
|
---|
1897 | </para>
|
---|
1898 |
|
---|
1899 | <para>
|
---|
1900 | &product-name; also provides a <emphasis>floppy
|
---|
1901 | controller</emphasis>. You cannot add devices other than floppy
|
---|
1902 | drives to this controller. Virtual floppy drives, like virtual
|
---|
1903 | CD/DVD drives, can be connected to either a host floppy drive, if
|
---|
1904 | you have one, or a disk image, which in this case must be in RAW
|
---|
1905 | format.
|
---|
1906 | </para>
|
---|
1907 |
|
---|
1908 | <para>
|
---|
1909 | You can modify these media attachments freely. For example, if you
|
---|
1910 | wish to copy some files from another virtual disk that you
|
---|
1911 | created, you can connect that disk as a second hard disk, as in
|
---|
1912 | the above screenshot. You could also add a second virtual CD/DVD
|
---|
1913 | drive, or change where these items are attached. The following
|
---|
1914 | options are available:
|
---|
1915 | </para>
|
---|
1916 |
|
---|
1917 | <itemizedlist>
|
---|
1918 |
|
---|
1919 | <listitem>
|
---|
1920 | <para>
|
---|
1921 | To <emphasis role="bold">add another virtual hard disk, or a
|
---|
1922 | CD/DVD or floppy drive</emphasis>, select the storage
|
---|
1923 | controller to which it should be added (IDE, SATA, SCSI, SAS,
|
---|
1924 | floppy controller) and then click the
|
---|
1925 | <emphasis role="bold">Add Disk</emphasis> button below the
|
---|
1926 | tree. You can then either select <emphasis role="bold">Add
|
---|
1927 | CD/DVD Device</emphasis> or <emphasis role="bold">Add Hard
|
---|
1928 | Disk</emphasis>. If you clicked on a floppy controller, you
|
---|
1929 | can add a floppy drive instead. Alternatively, right-click on
|
---|
1930 | the storage controller and select a menu item there.
|
---|
1931 | </para>
|
---|
1932 |
|
---|
1933 | <para>
|
---|
1934 | On the right part of the window, you can then set the
|
---|
1935 | following:
|
---|
1936 | </para>
|
---|
1937 |
|
---|
1938 | <orderedlist>
|
---|
1939 |
|
---|
1940 | <listitem>
|
---|
1941 | <para>
|
---|
1942 | The <emphasis role="bold">device slot</emphasis> of the
|
---|
1943 | controller that the virtual disk is connected to. IDE
|
---|
1944 | controllers have four slots which have traditionally been
|
---|
1945 | called primary master, primary slave, secondary master,
|
---|
1946 | and secondary slave. By contrast, SATA and SCSI
|
---|
1947 | controllers offer you up to 30 slots for attaching virtual
|
---|
1948 | devices.
|
---|
1949 | </para>
|
---|
1950 | </listitem>
|
---|
1951 |
|
---|
1952 | <listitem>
|
---|
1953 | <para>
|
---|
1954 | The <emphasis role="bold">image file</emphasis> to use.
|
---|
1955 | </para>
|
---|
1956 |
|
---|
1957 | <itemizedlist>
|
---|
1958 |
|
---|
1959 | <listitem>
|
---|
1960 | <para>
|
---|
1961 | For virtual hard disks, a button with a drop-down list
|
---|
1962 | appears on the right, offering you to either select a
|
---|
1963 | <emphasis role="bold">virtual hard disk
|
---|
1964 | file</emphasis> using a standard file dialog or to
|
---|
1965 | <emphasis role="bold">create a new hard
|
---|
1966 | disk</emphasis> (image file). The latter option
|
---|
1967 | displays the <emphasis role="bold">Create New
|
---|
1968 | Disk</emphasis> wizard, described in
|
---|
1969 | <xref linkend="gui-createvm" />.
|
---|
1970 | </para>
|
---|
1971 |
|
---|
1972 | <para>
|
---|
1973 | For virtual floppy drives, a dialog enables you to
|
---|
1974 | create and format a new floppy disk image
|
---|
1975 | automatically.
|
---|
1976 | </para>
|
---|
1977 |
|
---|
1978 | <para>
|
---|
1979 | For details on the image file types that are
|
---|
1980 | supported, see <xref linkend="vdidetails" />.
|
---|
1981 | </para>
|
---|
1982 | </listitem>
|
---|
1983 |
|
---|
1984 | <listitem>
|
---|
1985 | <para>
|
---|
1986 | For virtual CD/DVD drives, the image files will
|
---|
1987 | typically be in the standard ISO format instead. Most
|
---|
1988 | commonly, you will select this option when installing
|
---|
1989 | an OS from an ISO file that you have obtained from the
|
---|
1990 | Internet. For example, most Linux distributions are
|
---|
1991 | available in this way.
|
---|
1992 | </para>
|
---|
1993 |
|
---|
1994 | <para>
|
---|
1995 | For virtual CD/DVD drives, the following additional
|
---|
1996 | options are available:
|
---|
1997 | </para>
|
---|
1998 |
|
---|
1999 | <itemizedlist>
|
---|
2000 |
|
---|
2001 | <listitem>
|
---|
2002 | <para>
|
---|
2003 | If you select <emphasis role="bold">Host
|
---|
2004 | Drive</emphasis> from the list, then the physical
|
---|
2005 | device of the host computer is connected to the
|
---|
2006 | VM, so that the guest OS can read from and write
|
---|
2007 | to your physical device. This is, for instance,
|
---|
2008 | useful if you want to install Windows from a real
|
---|
2009 | installation CD. In this case, select your host
|
---|
2010 | drive from the drop-down list presented.
|
---|
2011 | </para>
|
---|
2012 |
|
---|
2013 | <para>
|
---|
2014 | If you want to write, or burn, CDs or DVDs using
|
---|
2015 | the host drive, you need to also enable the
|
---|
2016 | <emphasis role="bold">Passthrough</emphasis>
|
---|
2017 | option. See <xref linkend="storage-cds" />.
|
---|
2018 | </para>
|
---|
2019 | </listitem>
|
---|
2020 |
|
---|
2021 | <listitem>
|
---|
2022 | <para>
|
---|
2023 | If you select <emphasis role="bold">Remove Disk
|
---|
2024 | from Virtual Drive</emphasis>, &product-name; will
|
---|
2025 | present an empty CD/DVD drive to the guest into
|
---|
2026 | which no media has been inserted.
|
---|
2027 | </para>
|
---|
2028 | </listitem>
|
---|
2029 |
|
---|
2030 | </itemizedlist>
|
---|
2031 | </listitem>
|
---|
2032 |
|
---|
2033 | </itemizedlist>
|
---|
2034 | </listitem>
|
---|
2035 |
|
---|
2036 | </orderedlist>
|
---|
2037 | </listitem>
|
---|
2038 |
|
---|
2039 | <listitem>
|
---|
2040 | <para>
|
---|
2041 | To <emphasis role="bold">remove an attachment</emphasis>,
|
---|
2042 | either select it and click on the
|
---|
2043 | <emphasis role="bold">Remove</emphasis> icon at the bottom, or
|
---|
2044 | right-click on it and select the menu item.
|
---|
2045 | </para>
|
---|
2046 | </listitem>
|
---|
2047 |
|
---|
2048 | </itemizedlist>
|
---|
2049 |
|
---|
2050 | <para>
|
---|
2051 | Removable media, such as CD/DVDs and floppies, can be changed
|
---|
2052 | while the guest is running. Since the
|
---|
2053 | <emphasis role="bold">Settings</emphasis> dialog is not available
|
---|
2054 | at that time, you can also access these settings from the
|
---|
2055 | <emphasis role="bold">Devices</emphasis> menu of your virtual
|
---|
2056 | machine window.
|
---|
2057 | </para>
|
---|
2058 |
|
---|
2059 | </sect1>
|
---|
2060 |
|
---|
2061 | <sect1 id="settings-audio">
|
---|
2062 |
|
---|
2063 | <title>Audio Settings</title>
|
---|
2064 |
|
---|
2065 | <para>
|
---|
2066 | The <emphasis role="bold">Audio</emphasis> section in a virtual
|
---|
2067 | machine's <emphasis role="bold">Settings</emphasis> window
|
---|
2068 | determines whether the VM will detect a connected sound card, and
|
---|
2069 | if the audio output should be played on the host system.
|
---|
2070 | </para>
|
---|
2071 |
|
---|
2072 | <para>
|
---|
2073 | To enable audio for a guest, select the
|
---|
2074 | <emphasis role="bold">Enable Audio</emphasis> check box. The
|
---|
2075 | following settings are available:
|
---|
2076 | </para>
|
---|
2077 |
|
---|
2078 | <itemizedlist>
|
---|
2079 |
|
---|
2080 | <listitem>
|
---|
2081 | <para>
|
---|
2082 | <emphasis role="bold">Host Audio Driver:</emphasis> The audio
|
---|
2083 | driver that &product-name; uses on the host. On a Linux host,
|
---|
2084 | depending on your host configuration, you can select between
|
---|
2085 | the OSS, ALSA, or the PulseAudio subsystem. On newer Linux
|
---|
2086 | distributions, the PulseAudio subsystem is preferred.
|
---|
2087 | </para>
|
---|
2088 |
|
---|
2089 | <para>
|
---|
2090 | Only OSS is supported on Oracle Solaris hosts. The Oracle
|
---|
2091 | Solaris Audio audio backend is no longer supported on Oracle
|
---|
2092 | Solaris hosts.
|
---|
2093 | </para>
|
---|
2094 | </listitem>
|
---|
2095 |
|
---|
2096 | <listitem>
|
---|
2097 | <para>
|
---|
2098 | <emphasis role="bold">Audio Controller:</emphasis> You can
|
---|
2099 | choose between the emulation of an Intel AC'97 controller, an
|
---|
2100 | Intel HD Audio controller, or a SoundBlaster 16 card.
|
---|
2101 | </para>
|
---|
2102 | </listitem>
|
---|
2103 |
|
---|
2104 | <listitem>
|
---|
2105 | <para>
|
---|
2106 | <emphasis role="bold">Enable Audio Output:</emphasis> Enables
|
---|
2107 | audio output only for the VM.
|
---|
2108 | </para>
|
---|
2109 | </listitem>
|
---|
2110 |
|
---|
2111 | <listitem>
|
---|
2112 | <para>
|
---|
2113 | <emphasis role="bold">Enable Audio Input:</emphasis> Enables
|
---|
2114 | audio input only for the VM.
|
---|
2115 | </para>
|
---|
2116 | </listitem>
|
---|
2117 |
|
---|
2118 | </itemizedlist>
|
---|
2119 |
|
---|
2120 | </sect1>
|
---|
2121 |
|
---|
2122 | <sect1 id="settings-network">
|
---|
2123 |
|
---|
2124 | <title>Network Settings</title>
|
---|
2125 |
|
---|
2126 | <para>
|
---|
2127 | The <emphasis role="bold">Network</emphasis> section in a virtual
|
---|
2128 | machine's <emphasis role="bold">Settings</emphasis> window enables
|
---|
2129 | you to configure how &product-name; presents virtual network cards
|
---|
2130 | to your VM, and how they operate.
|
---|
2131 | </para>
|
---|
2132 |
|
---|
2133 | <para>
|
---|
2134 | When you first create a virtual machine, &product-name; by default
|
---|
2135 | enables one virtual network card and selects the Network Address
|
---|
2136 | Translation (NAT) mode for it. This way the guest can connect to
|
---|
2137 | the outside world using the host's networking and the outside
|
---|
2138 | world can connect to services on the guest which you choose to
|
---|
2139 | make visible outside of the virtual machine.
|
---|
2140 | </para>
|
---|
2141 |
|
---|
2142 | <para>
|
---|
2143 | This default setup is good for the majority of &product-name;
|
---|
2144 | users. However, &product-name; is extremely flexible in how it can
|
---|
2145 | virtualize networking. It supports many virtual network cards per
|
---|
2146 | virtual machine. The first four virtual network cards can be
|
---|
2147 | configured in detail in the VirtualBox Manager window. Additional
|
---|
2148 | network cards can be configured using the
|
---|
2149 | <command>VBoxManage</command> command.
|
---|
2150 | </para>
|
---|
2151 |
|
---|
2152 | <para>
|
---|
2153 | Many networking options are available. See
|
---|
2154 | <xref linkend="networkingdetails" /> for more information.
|
---|
2155 | </para>
|
---|
2156 |
|
---|
2157 | </sect1>
|
---|
2158 |
|
---|
2159 | <sect1 id="serialports">
|
---|
2160 |
|
---|
2161 | <title>Serial Ports</title>
|
---|
2162 |
|
---|
2163 | <para>
|
---|
2164 | &product-name; supports the use of virtual serial ports in a
|
---|
2165 | virtual machine.
|
---|
2166 | </para>
|
---|
2167 |
|
---|
2168 | <para>
|
---|
2169 | Ever since the original IBM PC, personal computers have been
|
---|
2170 | equipped with one or two serial ports, also called COM ports by
|
---|
2171 | DOS and Windows. Serial ports were commonly used with modems, and
|
---|
2172 | some computer mice used to be connected to serial ports before USB
|
---|
2173 | became commonplace.
|
---|
2174 | </para>
|
---|
2175 |
|
---|
2176 | <para>
|
---|
2177 | While serial ports are no longer as common as they used to be,
|
---|
2178 | there are still some important uses left for them. For example,
|
---|
2179 | serial ports can be used to set up a primitive network over a
|
---|
2180 | null-modem cable, in case Ethernet is not available. Also, serial
|
---|
2181 | ports are indispensable for system programmers needing to do
|
---|
2182 | kernel debugging, since kernel debugging software usually
|
---|
2183 | interacts with developers over a serial port. With virtual serial
|
---|
2184 | ports, system programmers can do kernel debugging on a virtual
|
---|
2185 | machine instead of needing a real computer to connect to.
|
---|
2186 | </para>
|
---|
2187 |
|
---|
2188 | <para>
|
---|
2189 | If a virtual serial port is enabled, the guest OS sees a standard
|
---|
2190 | 16550A compatible UART device. Other UART types can be configured
|
---|
2191 | using the <command>VBoxManage modifyvm</command> command. Both
|
---|
2192 | receiving and transmitting data is supported. How this virtual
|
---|
2193 | serial port is then connected to the host is configurable, and the
|
---|
2194 | details depend on your host OS.
|
---|
2195 | </para>
|
---|
2196 |
|
---|
2197 | <para>
|
---|
2198 | You can use either the Settings tabs or the
|
---|
2199 | <command>VBoxManage</command> command to set up virtual serial
|
---|
2200 | ports. For the latter, see <xref linkend="vboxmanage-modifyvm" />
|
---|
2201 | for information on the <computeroutput>--uart</computeroutput>,
|
---|
2202 | <computeroutput>--uartmode</computeroutput> and
|
---|
2203 | <computeroutput>--uarttype</computeroutput> options.
|
---|
2204 | </para>
|
---|
2205 |
|
---|
2206 | <para>
|
---|
2207 | You can configure up to four virtual serial ports per virtual
|
---|
2208 | machine. For each device, you must set the following:
|
---|
2209 | </para>
|
---|
2210 |
|
---|
2211 | <orderedlist>
|
---|
2212 |
|
---|
2213 | <listitem>
|
---|
2214 | <para>
|
---|
2215 | <emphasis role="bold">Port Number:</emphasis> This determines
|
---|
2216 | the serial port that the virtual machine should see. For best
|
---|
2217 | results, use the traditional values as follows:
|
---|
2218 | </para>
|
---|
2219 |
|
---|
2220 | <itemizedlist>
|
---|
2221 |
|
---|
2222 | <listitem>
|
---|
2223 | <para>
|
---|
2224 | COM1: I/O base 0x3F8, IRQ 4
|
---|
2225 | </para>
|
---|
2226 | </listitem>
|
---|
2227 |
|
---|
2228 | <listitem>
|
---|
2229 | <para>
|
---|
2230 | COM2: I/O base 0x2F8, IRQ 3
|
---|
2231 | </para>
|
---|
2232 | </listitem>
|
---|
2233 |
|
---|
2234 | <listitem>
|
---|
2235 | <para>
|
---|
2236 | COM3: I/O base 0x3E8, IRQ 4
|
---|
2237 | </para>
|
---|
2238 | </listitem>
|
---|
2239 |
|
---|
2240 | <listitem>
|
---|
2241 | <para>
|
---|
2242 | COM4: I/O base 0x2E8, IRQ 3
|
---|
2243 | </para>
|
---|
2244 | </listitem>
|
---|
2245 |
|
---|
2246 | </itemizedlist>
|
---|
2247 |
|
---|
2248 | <para>
|
---|
2249 | You can also configure a user-defined serial port. Enter an
|
---|
2250 | I/O base address and interrupt (IRQ).
|
---|
2251 | </para>
|
---|
2252 |
|
---|
2253 | <para>
|
---|
2254 | See also
|
---|
2255 | <ulink
|
---|
2256 | url="http://en.wikipedia.org/wiki/COM_(hardware_interface)">http://en.wikipedia.org/wiki/COM_(hardware_interface)</ulink>.
|
---|
2257 | </para>
|
---|
2258 | </listitem>
|
---|
2259 |
|
---|
2260 | <listitem>
|
---|
2261 | <para>
|
---|
2262 | <emphasis role="bold">Port Mode:</emphasis> What the virtual
|
---|
2263 | port is connected to. For each virtual serial port, you have
|
---|
2264 | the following options:
|
---|
2265 | </para>
|
---|
2266 |
|
---|
2267 | <itemizedlist>
|
---|
2268 |
|
---|
2269 | <listitem>
|
---|
2270 | <para>
|
---|
2271 | <emphasis role="bold">Disconnected:</emphasis> The guest
|
---|
2272 | will see the device, but it will behave as if no cable had
|
---|
2273 | been connected to it.
|
---|
2274 | </para>
|
---|
2275 | </listitem>
|
---|
2276 |
|
---|
2277 | <listitem>
|
---|
2278 | <para>
|
---|
2279 | <emphasis role="bold">Host Device:</emphasis> Connects the
|
---|
2280 | virtual serial port to a physical serial port on your
|
---|
2281 | host. On a Windows host, this will be a name like
|
---|
2282 | <computeroutput>COM1</computeroutput>. On Linux or Oracle
|
---|
2283 | Solaris hosts, it will be a device node like
|
---|
2284 | <computeroutput>/dev/ttyS0</computeroutput>.
|
---|
2285 | &product-name; will then simply redirect all data received
|
---|
2286 | from and sent to the virtual serial port to the physical
|
---|
2287 | device.
|
---|
2288 | </para>
|
---|
2289 | </listitem>
|
---|
2290 |
|
---|
2291 | <listitem>
|
---|
2292 | <para>
|
---|
2293 | <emphasis role="bold">Host Pipe:</emphasis> Configure
|
---|
2294 | &product-name; to connect the virtual serial port to a
|
---|
2295 | software pipe on the host. This depends on your host OS,
|
---|
2296 | as follows:
|
---|
2297 | </para>
|
---|
2298 |
|
---|
2299 | <itemizedlist>
|
---|
2300 |
|
---|
2301 | <listitem>
|
---|
2302 | <para>
|
---|
2303 | On a Windows host, data will be sent and received
|
---|
2304 | through a named pipe. The pipe name must be in the
|
---|
2305 | format
|
---|
2306 | <computeroutput>\\.\pipe\<name></computeroutput>
|
---|
2307 | where <computeroutput><name></computeroutput>
|
---|
2308 | should identify the virtual machine but may be freely
|
---|
2309 | chosen.
|
---|
2310 | </para>
|
---|
2311 | </listitem>
|
---|
2312 |
|
---|
2313 | <listitem>
|
---|
2314 | <para>
|
---|
2315 | On a Mac, Linux, or Oracle Solaris host, a local
|
---|
2316 | domain socket is used instead. The socket filename
|
---|
2317 | must be chosen such that the user running
|
---|
2318 | &product-name; has sufficient privileges to create and
|
---|
2319 | write to it. The <computeroutput>/tmp</computeroutput>
|
---|
2320 | directory is often a good candidate.
|
---|
2321 | </para>
|
---|
2322 |
|
---|
2323 | <para>
|
---|
2324 | On Linux there are various tools which can connect to
|
---|
2325 | a local domain socket or create one in server mode.
|
---|
2326 | The most flexible tool is
|
---|
2327 | <computeroutput>socat</computeroutput> and is
|
---|
2328 | available as part of many distributions.
|
---|
2329 | </para>
|
---|
2330 | </listitem>
|
---|
2331 |
|
---|
2332 | </itemizedlist>
|
---|
2333 |
|
---|
2334 | <para>
|
---|
2335 | In this case, you can configure whether &product-name;
|
---|
2336 | should create the named pipe, or the local domain socket
|
---|
2337 | non-Windows hosts, itself or whether &product-name; should
|
---|
2338 | assume that the pipe or socket exists already. With the
|
---|
2339 | <command>VBoxManage</command> command-line options, this
|
---|
2340 | is referred to as server mode or client mode,
|
---|
2341 | respectively.
|
---|
2342 | </para>
|
---|
2343 |
|
---|
2344 | <para>
|
---|
2345 | For a direct connection between two virtual machines,
|
---|
2346 | corresponding to a null-modem cable, simply configure one
|
---|
2347 | VM to create a pipe or socket and another to attach to it.
|
---|
2348 | </para>
|
---|
2349 | </listitem>
|
---|
2350 |
|
---|
2351 | <listitem>
|
---|
2352 | <para>
|
---|
2353 | <emphasis role="bold">Raw File:</emphasis> Send the
|
---|
2354 | virtual serial port output to a file. This option is very
|
---|
2355 | useful for capturing diagnostic output from a guest. Any
|
---|
2356 | file may be used for this purpose, as long as the user
|
---|
2357 | running &product-name; has sufficient privileges to create
|
---|
2358 | and write to the file.
|
---|
2359 | </para>
|
---|
2360 | </listitem>
|
---|
2361 |
|
---|
2362 | <listitem>
|
---|
2363 | <para>
|
---|
2364 | <emphasis role="bold">TCP Socket:</emphasis> Useful for
|
---|
2365 | forwarding serial traffic over TCP/IP, acting as a server,
|
---|
2366 | or it can act as a TCP client connecting to other servers.
|
---|
2367 | This option enables a remote machine to directly connect
|
---|
2368 | to the guest's serial port using TCP.
|
---|
2369 | </para>
|
---|
2370 |
|
---|
2371 | <itemizedlist>
|
---|
2372 |
|
---|
2373 | <listitem>
|
---|
2374 | <para>
|
---|
2375 | <emphasis role="bold">TCP Server:</emphasis> Deselect
|
---|
2376 | the <emphasis role="bold">Connect to Existing
|
---|
2377 | Pipe/Socket</emphasis> check box and specify the port
|
---|
2378 | number in the
|
---|
2379 | <emphasis role="bold">Path/Address</emphasis> field.
|
---|
2380 | This is typically 23 or 2023. Note that on UNIX-like
|
---|
2381 | systems you will have to use a port a number greater
|
---|
2382 | than 1024 for regular users.
|
---|
2383 | </para>
|
---|
2384 |
|
---|
2385 | <para>
|
---|
2386 | The client can use software such as
|
---|
2387 | <command>PuTTY</command> or the
|
---|
2388 | <command>telnet</command> command line tool to access
|
---|
2389 | the TCP Server.
|
---|
2390 | </para>
|
---|
2391 | </listitem>
|
---|
2392 |
|
---|
2393 | <listitem>
|
---|
2394 | <para>
|
---|
2395 | <emphasis role="bold">TCP Client:</emphasis> To create
|
---|
2396 | a virtual null-modem cable over the Internet or LAN,
|
---|
2397 | the other side can connect using TCP by specifying
|
---|
2398 | <computeroutput>hostname:port</computeroutput> in the
|
---|
2399 | <emphasis role="bold">Path/Address</emphasis> field.
|
---|
2400 | The TCP socket will act in client mode if you select
|
---|
2401 | the <emphasis role="bold">Connect to Existing
|
---|
2402 | Pipe/Socket</emphasis> check box.
|
---|
2403 | </para>
|
---|
2404 | </listitem>
|
---|
2405 |
|
---|
2406 | </itemizedlist>
|
---|
2407 | </listitem>
|
---|
2408 |
|
---|
2409 | </itemizedlist>
|
---|
2410 | </listitem>
|
---|
2411 |
|
---|
2412 | </orderedlist>
|
---|
2413 |
|
---|
2414 | <para>
|
---|
2415 | Up to four serial ports can be configured per virtual machine, but
|
---|
2416 | you can pick any port numbers out of the above. However, serial
|
---|
2417 | ports cannot reliably share interrupts. If both ports are to be
|
---|
2418 | used at the same time, they must use different interrupt levels,
|
---|
2419 | for example COM1 and COM2, but not COM1 and COM3.
|
---|
2420 | </para>
|
---|
2421 |
|
---|
2422 | </sect1>
|
---|
2423 |
|
---|
2424 | <sect1 id="usb-support">
|
---|
2425 |
|
---|
2426 | <title>USB Support</title>
|
---|
2427 |
|
---|
2428 | <sect2 id="settings-usb">
|
---|
2429 |
|
---|
2430 | <title>USB Settings</title>
|
---|
2431 |
|
---|
2432 | <para>
|
---|
2433 | The <emphasis role="bold">USB</emphasis> section in a virtual
|
---|
2434 | machine's <emphasis role="bold">Settings</emphasis> window
|
---|
2435 | enables you to configure &product-name;'s sophisticated USB
|
---|
2436 | support.
|
---|
2437 | </para>
|
---|
2438 |
|
---|
2439 | <para>
|
---|
2440 | &product-name; can enable virtual machines to access the USB
|
---|
2441 | devices on your host directly. To achieve this, &product-name;
|
---|
2442 | presents the guest OS with a virtual USB controller. As soon as
|
---|
2443 | the guest system starts using a USB device, it will appear as
|
---|
2444 | unavailable on the host.
|
---|
2445 | </para>
|
---|
2446 |
|
---|
2447 | <note>
|
---|
2448 | <itemizedlist>
|
---|
2449 |
|
---|
2450 | <listitem>
|
---|
2451 | <para>
|
---|
2452 | Be careful with USB devices that are currently in use on
|
---|
2453 | the host. For example, if you allow your guest to connect
|
---|
2454 | to your USB hard disk that is currently mounted on the
|
---|
2455 | host, when the guest is activated, it will be disconnected
|
---|
2456 | from the host without a proper shutdown. This may cause
|
---|
2457 | data loss.
|
---|
2458 | </para>
|
---|
2459 | </listitem>
|
---|
2460 |
|
---|
2461 | <listitem>
|
---|
2462 | <para>
|
---|
2463 | Oracle Solaris hosts have a few known limitations
|
---|
2464 | regarding USB support. See <xref linkend="KnownIssues" />.
|
---|
2465 | </para>
|
---|
2466 | </listitem>
|
---|
2467 |
|
---|
2468 | </itemizedlist>
|
---|
2469 | </note>
|
---|
2470 |
|
---|
2471 | <para>
|
---|
2472 | In addition to allowing a guest access to your local USB
|
---|
2473 | devices, &product-name; even enables your guests to connect to
|
---|
2474 | remote USB devices by use of the VirtualBox Remote Desktop
|
---|
2475 | Extension (VRDE). See <xref linkend="usb-over-rdp" />.
|
---|
2476 | </para>
|
---|
2477 |
|
---|
2478 | <para>
|
---|
2479 | To enable USB for a VM, select the <emphasis role="bold">Enable
|
---|
2480 | USB Controller</emphasis> check box. The following settings are
|
---|
2481 | available:
|
---|
2482 | </para>
|
---|
2483 |
|
---|
2484 | <itemizedlist>
|
---|
2485 |
|
---|
2486 | <listitem>
|
---|
2487 | <para>
|
---|
2488 | <emphasis role="bold">USB Controller:</emphasis> Selects a
|
---|
2489 | controller with the specified level of USB support, as
|
---|
2490 | follows:
|
---|
2491 | </para>
|
---|
2492 |
|
---|
2493 | <itemizedlist>
|
---|
2494 |
|
---|
2495 | <listitem>
|
---|
2496 | <para>
|
---|
2497 | OHCI for USB 1.1
|
---|
2498 | </para>
|
---|
2499 | </listitem>
|
---|
2500 |
|
---|
2501 | <listitem>
|
---|
2502 | <para>
|
---|
2503 | EHCI for USB 2.0. This also enables OHCI.
|
---|
2504 | </para>
|
---|
2505 | </listitem>
|
---|
2506 |
|
---|
2507 | <listitem>
|
---|
2508 | <para>
|
---|
2509 | xHCI for USB 3.0. This supports all USB speeds.
|
---|
2510 | </para>
|
---|
2511 | </listitem>
|
---|
2512 |
|
---|
2513 | </itemizedlist>
|
---|
2514 |
|
---|
2515 | <note>
|
---|
2516 | <para>
|
---|
2517 | The xHCI and EHCI controllers are shipped as an
|
---|
2518 | &product-name; extension package, which must be installed
|
---|
2519 | separately. See <xref linkend="intro-installing" />.
|
---|
2520 | </para>
|
---|
2521 | </note>
|
---|
2522 | </listitem>
|
---|
2523 |
|
---|
2524 | <listitem>
|
---|
2525 | <para>
|
---|
2526 | <emphasis role="bold">USB Device Filters:</emphasis> When
|
---|
2527 | USB support is enabled for a VM, you can determine in detail
|
---|
2528 | which devices will be automatically attached to the guest.
|
---|
2529 | For this, you can create filters by specifying certain
|
---|
2530 | properties of the USB device. USB devices with a matching
|
---|
2531 | filter will be automatically passed to the guest once they
|
---|
2532 | are attached to the host. USB devices without a matching
|
---|
2533 | filter can be passed manually to the guest, for example by
|
---|
2534 | using the <emphasis role="bold">Devices</emphasis>,
|
---|
2535 | <emphasis role="bold">USB</emphasis> menu.
|
---|
2536 | </para>
|
---|
2537 |
|
---|
2538 | <para>
|
---|
2539 | Clicking on the <emphasis role="bold">+</emphasis> button to
|
---|
2540 | the right of the <emphasis role="bold">USB Device
|
---|
2541 | Filters</emphasis> window creates a new filter. You can give
|
---|
2542 | the filter a name, for later reference, and specify the
|
---|
2543 | filter criteria. The more criteria you specify, the more
|
---|
2544 | precisely devices will be selected. For instance, if you
|
---|
2545 | specify only a vendor ID of 046d, all devices produced by
|
---|
2546 | Logitech will be available to the guest. If you fill in all
|
---|
2547 | fields, on the other hand, the filter will only apply to a
|
---|
2548 | particular device model from a particular vendor, and not
|
---|
2549 | even to other devices of the same type with a different
|
---|
2550 | revision and serial number.
|
---|
2551 | </para>
|
---|
2552 |
|
---|
2553 | <para>
|
---|
2554 | In detail, the following criteria are available:
|
---|
2555 | </para>
|
---|
2556 |
|
---|
2557 | <itemizedlist>
|
---|
2558 |
|
---|
2559 | <listitem>
|
---|
2560 | <para>
|
---|
2561 | <emphasis role="bold">Vendor and Product ID.</emphasis>
|
---|
2562 | With USB, each vendor of USB products carries an
|
---|
2563 | identification number that is unique world-wide, called
|
---|
2564 | the <emphasis>vendor ID</emphasis>. Similarly, each line
|
---|
2565 | of products is assigned a <emphasis>product
|
---|
2566 | ID</emphasis> number. Both numbers are commonly written
|
---|
2567 | in hexadecimal, and a colon separates the vendor from
|
---|
2568 | the product ID. For example,
|
---|
2569 | <computeroutput>046d:c016</computeroutput> stands for
|
---|
2570 | Logitech as a vendor, and the M-UV69a Optical Wheel
|
---|
2571 | Mouse product.
|
---|
2572 | </para>
|
---|
2573 |
|
---|
2574 | <para>
|
---|
2575 | Alternatively, you can also specify
|
---|
2576 | <emphasis role="bold">Manufacturer</emphasis> and
|
---|
2577 | <emphasis role="bold">Product</emphasis> by name.
|
---|
2578 | </para>
|
---|
2579 |
|
---|
2580 | <para>
|
---|
2581 | To list all the USB devices that are connected to your
|
---|
2582 | host machine with their respective vendor IDs and
|
---|
2583 | product IDs, use the following command:
|
---|
2584 | </para>
|
---|
2585 |
|
---|
2586 | <screen>VBoxManage list usbhost</screen>
|
---|
2587 |
|
---|
2588 | <para>
|
---|
2589 | On Windows, you can also see all USB devices that are
|
---|
2590 | attached to your system in the Device Manager. On Linux,
|
---|
2591 | you can use the <command>lsusb</command> command.
|
---|
2592 | </para>
|
---|
2593 | </listitem>
|
---|
2594 |
|
---|
2595 | <listitem>
|
---|
2596 | <para>
|
---|
2597 | <emphasis role="bold">Serial Number.</emphasis> While
|
---|
2598 | vendor ID and product ID are quite specific to identify
|
---|
2599 | USB devices, if you have two identical devices of the
|
---|
2600 | same brand and product line, you will also need their
|
---|
2601 | serial numbers to filter them out correctly.
|
---|
2602 | </para>
|
---|
2603 | </listitem>
|
---|
2604 |
|
---|
2605 | <listitem>
|
---|
2606 | <para>
|
---|
2607 | <emphasis role="bold">Remote.</emphasis> This setting
|
---|
2608 | specifies whether the device will be local only, remote
|
---|
2609 | only, such as over VRDP, or either.
|
---|
2610 | </para>
|
---|
2611 | </listitem>
|
---|
2612 |
|
---|
2613 | </itemizedlist>
|
---|
2614 |
|
---|
2615 | <para>
|
---|
2616 | On a Windows host, you will need to unplug and reconnect a
|
---|
2617 | USB device to use it after creating a filter for it.
|
---|
2618 | </para>
|
---|
2619 |
|
---|
2620 | <para>
|
---|
2621 | As an example, you could create a new USB filter and specify
|
---|
2622 | a vendor ID of 046d for Logitech, Inc, a manufacturer index
|
---|
2623 | of 1, and "not remote". Then any USB devices on the host
|
---|
2624 | system produced by Logitech, Inc with a manufacturer index
|
---|
2625 | of 1 will be visible to the guest system.
|
---|
2626 | </para>
|
---|
2627 |
|
---|
2628 | <para>
|
---|
2629 | Several filters can select a single device. For example, a
|
---|
2630 | filter which selects all Logitech devices, and one which
|
---|
2631 | selects a particular webcam.
|
---|
2632 | </para>
|
---|
2633 |
|
---|
2634 | <para>
|
---|
2635 | You can deactivate filters without deleting them by
|
---|
2636 | deselecting the check box next to the filter name.
|
---|
2637 | </para>
|
---|
2638 | </listitem>
|
---|
2639 |
|
---|
2640 | </itemizedlist>
|
---|
2641 |
|
---|
2642 | </sect2>
|
---|
2643 |
|
---|
2644 | <sect2 id="usb-implementation-notes">
|
---|
2645 |
|
---|
2646 | <title>Implementation Notes for Windows and Linux Hosts</title>
|
---|
2647 |
|
---|
2648 | <para>
|
---|
2649 | On Windows hosts, a kernel mode device driver provides USB proxy
|
---|
2650 | support. It implements both a USB monitor, which enables
|
---|
2651 | &product-name; to capture devices when they are plugged in, and
|
---|
2652 | a USB device driver to claim USB devices for a particular
|
---|
2653 | virtual machine. As opposed to &product-name; versions before
|
---|
2654 | 1.4.0, system reboots are no longer necessary after installing
|
---|
2655 | the driver. Also, you no longer need to replug devices for
|
---|
2656 | &product-name; to claim them.
|
---|
2657 | </para>
|
---|
2658 |
|
---|
2659 | <para>
|
---|
2660 | On newer Linux hosts, &product-name; accesses USB devices
|
---|
2661 | through special files in the file system. When &product-name; is
|
---|
2662 | installed, these are made available to all users in the
|
---|
2663 | <computeroutput>vboxusers</computeroutput> system group. In
|
---|
2664 | order to be able to access USB from guest systems, make sure
|
---|
2665 | that you are a member of this group.
|
---|
2666 | </para>
|
---|
2667 |
|
---|
2668 | <para>
|
---|
2669 | On older Linux hosts, USB devices are accessed using the
|
---|
2670 | <computeroutput>usbfs</computeroutput> file system. Therefore,
|
---|
2671 | the user executing &product-name; needs read and write
|
---|
2672 | permission to the USB file system. Most distributions provide a
|
---|
2673 | group, such as <computeroutput>usbusers</computeroutput>, which
|
---|
2674 | the &product-name; user needs to be added to. Also,
|
---|
2675 | &product-name; can only proxy to virtual machines USB devices
|
---|
2676 | which are not claimed by a Linux host USB driver. The
|
---|
2677 | <computeroutput>Driver=</computeroutput> entry in
|
---|
2678 | <computeroutput>/proc/bus/usb/devices</computeroutput> will show
|
---|
2679 | you which devices are currently claimed. See also
|
---|
2680 | <xref
|
---|
2681 | linkend="ts_usb-linux" /> for details about
|
---|
2682 | <computeroutput>usbfs</computeroutput>.
|
---|
2683 | </para>
|
---|
2684 |
|
---|
2685 | </sect2>
|
---|
2686 |
|
---|
2687 | </sect1>
|
---|
2688 |
|
---|
2689 | <sect1 id="shared-folders">
|
---|
2690 |
|
---|
2691 | <title>Shared Folders</title>
|
---|
2692 |
|
---|
2693 | <para>
|
---|
2694 | Shared folders enable you to easily exchange data between a
|
---|
2695 | virtual machine and your host. This feature requires that the
|
---|
2696 | &product-name; Guest Additions be installed in a virtual machine
|
---|
2697 | and is described in detail in <xref linkend="sharedfolders" />.
|
---|
2698 | </para>
|
---|
2699 |
|
---|
2700 | </sect1>
|
---|
2701 |
|
---|
2702 | <sect1 id="user-interface">
|
---|
2703 |
|
---|
2704 | <title>User Interface</title>
|
---|
2705 |
|
---|
2706 | <para>
|
---|
2707 | The <emphasis role="bold">User Interface</emphasis> section
|
---|
2708 | enables you to change certain aspects of the user interface of
|
---|
2709 | this VM.
|
---|
2710 | </para>
|
---|
2711 |
|
---|
2712 | <itemizedlist>
|
---|
2713 |
|
---|
2714 | <listitem>
|
---|
2715 | <para>
|
---|
2716 | <emphasis role="bold">Menu Bar:</emphasis> This widget enables
|
---|
2717 | you to disable menus by clicking on the menu to release it,
|
---|
2718 | menu entries by deselecting the check box of the entry to
|
---|
2719 | disable it and the complete menu bar by deselecting the
|
---|
2720 | rightmost check box.
|
---|
2721 | </para>
|
---|
2722 | </listitem>
|
---|
2723 |
|
---|
2724 | <listitem>
|
---|
2725 | <para>
|
---|
2726 | <emphasis role="bold">Mini ToolBar:</emphasis> In full screen
|
---|
2727 | or seamless mode, &product-name; can display a small toolbar
|
---|
2728 | that contains some of the items that are normally available
|
---|
2729 | from the virtual machine's menu bar. This toolbar reduces
|
---|
2730 | itself to a small gray line unless you move the mouse over it.
|
---|
2731 | With the toolbar, you can return from full screen or seamless
|
---|
2732 | mode, control machine execution or enable certain devices. If
|
---|
2733 | you do not want to see the toolbar, disable this setting.
|
---|
2734 | </para>
|
---|
2735 |
|
---|
2736 | <para>
|
---|
2737 | The second setting enables you to show the toolbar at the top
|
---|
2738 | of the screen, instead of showing it at the bottom.
|
---|
2739 | </para>
|
---|
2740 | </listitem>
|
---|
2741 |
|
---|
2742 | <listitem>
|
---|
2743 | <para>
|
---|
2744 | <emphasis role="bold">Status Bar:</emphasis> This widget
|
---|
2745 | enables you to disable icons on the status bar by deselecting
|
---|
2746 | the check box of an icon to disable it, to rearrange icons by
|
---|
2747 | dragging and dropping the icon, and to disable the complete
|
---|
2748 | status bar by deselecting the leftmost check box.
|
---|
2749 | </para>
|
---|
2750 | </listitem>
|
---|
2751 |
|
---|
2752 | </itemizedlist>
|
---|
2753 |
|
---|
2754 | </sect1>
|
---|
2755 |
|
---|
2756 | <sect1 id="efi">
|
---|
2757 |
|
---|
2758 | <title>Alternative Firmware (EFI)</title>
|
---|
2759 |
|
---|
2760 | <para>
|
---|
2761 | &product-name; includes experimental support for the Extensible
|
---|
2762 | Firmware Interface (EFI), which is a new industry standard
|
---|
2763 | intended to eventually replace the legacy BIOS as the primary
|
---|
2764 | interface for bootstrapping computers and certain system services
|
---|
2765 | later.
|
---|
2766 | </para>
|
---|
2767 |
|
---|
2768 | <para>
|
---|
2769 | By default, &product-name; uses the BIOS firmware for virtual
|
---|
2770 | machines. To use EFI for a given virtual machine, you can enable
|
---|
2771 | EFI in the machine's <emphasis role="bold">Settings</emphasis>
|
---|
2772 | dialog. See <xref linkend="settings-motherboard"/>. Alternatively,
|
---|
2773 | use the <command>VBoxManage</command> command line interface as
|
---|
2774 | follows:
|
---|
2775 | </para>
|
---|
2776 |
|
---|
2777 | <screen>VBoxManage modifyvm "VM name" --firmware efi</screen>
|
---|
2778 |
|
---|
2779 | <para>
|
---|
2780 | To switch back to using the BIOS:
|
---|
2781 | </para>
|
---|
2782 |
|
---|
2783 | <screen>VBoxManage modifyvm "VM name" --firmware bios</screen>
|
---|
2784 |
|
---|
2785 | <para>
|
---|
2786 | One notable user of EFI is Apple Mac OS X. More recent Linux
|
---|
2787 | versions and Windows releases, starting with Vista, also offer
|
---|
2788 | special versions that can be booted using EFI.
|
---|
2789 | </para>
|
---|
2790 |
|
---|
2791 | <para>
|
---|
2792 | Another possible use of EFI in &product-name; is development and
|
---|
2793 | testing of EFI applications, without booting any OS.
|
---|
2794 | </para>
|
---|
2795 |
|
---|
2796 | <para>
|
---|
2797 | Note that the &product-name; EFI support is experimental and will
|
---|
2798 | be enhanced as EFI matures and becomes more widespread. Mac OS X,
|
---|
2799 | Linux, and newer Windows guests are known to work fine. Windows 7
|
---|
2800 | guests are unable to boot with the &product-name; EFI
|
---|
2801 | implementation.
|
---|
2802 | </para>
|
---|
2803 |
|
---|
2804 | <sect2 id="efividmode">
|
---|
2805 |
|
---|
2806 | <title>Video Modes in EFI</title>
|
---|
2807 |
|
---|
2808 | <para>
|
---|
2809 | EFI provides two distinct video interfaces: GOP (Graphics Output
|
---|
2810 | Protocol) and UGA (Universal Graphics Adapter). Modern OSes,
|
---|
2811 | such as Mac OS X, generally use GOP, while some older ones still
|
---|
2812 | use UGA. &product-name; provides a configuration option to
|
---|
2813 | control the graphics resolution for both interfaces, making the
|
---|
2814 | difference mostly irrelevant for users.
|
---|
2815 | </para>
|
---|
2816 |
|
---|
2817 | <para>
|
---|
2818 | The default resolution is 1024x768. To select a graphics
|
---|
2819 | resolution for EFI, use the following
|
---|
2820 | <command>VBoxManage</command> command:
|
---|
2821 | </para>
|
---|
2822 |
|
---|
2823 | <screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiGraphicsResolution HxV</screen>
|
---|
2824 |
|
---|
2825 | <para>
|
---|
2826 | Determine the horizontal resolution H and the vertical
|
---|
2827 | resolution V from the following list of default resolutions:
|
---|
2828 | </para>
|
---|
2829 |
|
---|
2830 | <variablelist>
|
---|
2831 |
|
---|
2832 | <varlistentry>
|
---|
2833 | <term>
|
---|
2834 | VGA
|
---|
2835 | </term>
|
---|
2836 |
|
---|
2837 | <listitem>
|
---|
2838 | <para>
|
---|
2839 | 640x480, 32bpp, 4:3
|
---|
2840 | </para>
|
---|
2841 | </listitem>
|
---|
2842 | </varlistentry>
|
---|
2843 |
|
---|
2844 | <varlistentry>
|
---|
2845 | <term>
|
---|
2846 | SVGA
|
---|
2847 | </term>
|
---|
2848 |
|
---|
2849 | <listitem>
|
---|
2850 | <para>
|
---|
2851 | 800x600, 32bpp, 4:3
|
---|
2852 | </para>
|
---|
2853 | </listitem>
|
---|
2854 | </varlistentry>
|
---|
2855 |
|
---|
2856 | <varlistentry>
|
---|
2857 | <term>
|
---|
2858 | XGA
|
---|
2859 | </term>
|
---|
2860 |
|
---|
2861 | <listitem>
|
---|
2862 | <para>
|
---|
2863 | 1024x768, 32bpp, 4:3
|
---|
2864 | </para>
|
---|
2865 | </listitem>
|
---|
2866 | </varlistentry>
|
---|
2867 |
|
---|
2868 | <varlistentry>
|
---|
2869 | <term>
|
---|
2870 | XGA+
|
---|
2871 | </term>
|
---|
2872 |
|
---|
2873 | <listitem>
|
---|
2874 | <para>
|
---|
2875 | 1152x864, 32bpp, 4:3
|
---|
2876 | </para>
|
---|
2877 | </listitem>
|
---|
2878 | </varlistentry>
|
---|
2879 |
|
---|
2880 | <varlistentry>
|
---|
2881 | <term>
|
---|
2882 | HD
|
---|
2883 | </term>
|
---|
2884 |
|
---|
2885 | <listitem>
|
---|
2886 | <para>
|
---|
2887 | 1280x720, 32bpp, 16:9
|
---|
2888 | </para>
|
---|
2889 | </listitem>
|
---|
2890 | </varlistentry>
|
---|
2891 |
|
---|
2892 | <varlistentry>
|
---|
2893 | <term>
|
---|
2894 | WXGA
|
---|
2895 | </term>
|
---|
2896 |
|
---|
2897 | <listitem>
|
---|
2898 | <para>
|
---|
2899 | 1280x800, 32bpp, 16:10
|
---|
2900 | </para>
|
---|
2901 | </listitem>
|
---|
2902 | </varlistentry>
|
---|
2903 |
|
---|
2904 | <varlistentry>
|
---|
2905 | <term>
|
---|
2906 | SXGA
|
---|
2907 | </term>
|
---|
2908 |
|
---|
2909 | <listitem>
|
---|
2910 | <para>
|
---|
2911 | 1280x1024, 32bpp, 5:4
|
---|
2912 | </para>
|
---|
2913 | </listitem>
|
---|
2914 | </varlistentry>
|
---|
2915 |
|
---|
2916 | <varlistentry>
|
---|
2917 | <term>
|
---|
2918 | SXGA+
|
---|
2919 | </term>
|
---|
2920 |
|
---|
2921 | <listitem>
|
---|
2922 | <para>
|
---|
2923 | 1400x1050, 32bpp, 4:3
|
---|
2924 | </para>
|
---|
2925 | </listitem>
|
---|
2926 | </varlistentry>
|
---|
2927 |
|
---|
2928 | <varlistentry>
|
---|
2929 | <term>
|
---|
2930 | WXGA+
|
---|
2931 | </term>
|
---|
2932 |
|
---|
2933 | <listitem>
|
---|
2934 | <para>
|
---|
2935 | 1440x900, 32bpp, 16:10
|
---|
2936 | </para>
|
---|
2937 | </listitem>
|
---|
2938 | </varlistentry>
|
---|
2939 |
|
---|
2940 | <varlistentry>
|
---|
2941 | <term>
|
---|
2942 | HD+
|
---|
2943 | </term>
|
---|
2944 |
|
---|
2945 | <listitem>
|
---|
2946 | <para>
|
---|
2947 | 1600x900, 32bpp, 16:9
|
---|
2948 | </para>
|
---|
2949 | </listitem>
|
---|
2950 | </varlistentry>
|
---|
2951 |
|
---|
2952 | <varlistentry>
|
---|
2953 | <term>
|
---|
2954 | UXGA
|
---|
2955 | </term>
|
---|
2956 |
|
---|
2957 | <listitem>
|
---|
2958 | <para>
|
---|
2959 | 1600x1200, 32bpp, 4:3
|
---|
2960 | </para>
|
---|
2961 | </listitem>
|
---|
2962 | </varlistentry>
|
---|
2963 |
|
---|
2964 | <varlistentry>
|
---|
2965 | <term>
|
---|
2966 | WSXGA+
|
---|
2967 | </term>
|
---|
2968 |
|
---|
2969 | <listitem>
|
---|
2970 | <para>
|
---|
2971 | 1680x1050, 32bpp, 16:10
|
---|
2972 | </para>
|
---|
2973 | </listitem>
|
---|
2974 | </varlistentry>
|
---|
2975 |
|
---|
2976 | <varlistentry>
|
---|
2977 | <term>
|
---|
2978 | Full HD
|
---|
2979 | </term>
|
---|
2980 |
|
---|
2981 | <listitem>
|
---|
2982 | <para>
|
---|
2983 | 1920x1080, 32bpp, 16:9
|
---|
2984 | </para>
|
---|
2985 | </listitem>
|
---|
2986 | </varlistentry>
|
---|
2987 |
|
---|
2988 | <varlistentry>
|
---|
2989 | <term>
|
---|
2990 | WUXGA
|
---|
2991 | </term>
|
---|
2992 |
|
---|
2993 | <listitem>
|
---|
2994 | <para>
|
---|
2995 | 1920x1200, 32bpp, 16:10
|
---|
2996 | </para>
|
---|
2997 | </listitem>
|
---|
2998 | </varlistentry>
|
---|
2999 |
|
---|
3000 | <varlistentry>
|
---|
3001 | <term>
|
---|
3002 | DCI 2K
|
---|
3003 | </term>
|
---|
3004 |
|
---|
3005 | <listitem>
|
---|
3006 | <para>
|
---|
3007 | 2048x1080, 32bpp, 19:10
|
---|
3008 | </para>
|
---|
3009 | </listitem>
|
---|
3010 | </varlistentry>
|
---|
3011 |
|
---|
3012 | <varlistentry>
|
---|
3013 | <term>
|
---|
3014 | Full HD+
|
---|
3015 | </term>
|
---|
3016 |
|
---|
3017 | <listitem>
|
---|
3018 | <para>
|
---|
3019 | 2160x1440, 32bpp, 3:2
|
---|
3020 | </para>
|
---|
3021 | </listitem>
|
---|
3022 | </varlistentry>
|
---|
3023 |
|
---|
3024 | <varlistentry>
|
---|
3025 | <term>
|
---|
3026 | Unnamed
|
---|
3027 | </term>
|
---|
3028 |
|
---|
3029 | <listitem>
|
---|
3030 | <para>
|
---|
3031 | 2304x1440, 32bpp, 16:10
|
---|
3032 | </para>
|
---|
3033 | </listitem>
|
---|
3034 | </varlistentry>
|
---|
3035 |
|
---|
3036 | <varlistentry>
|
---|
3037 | <term>
|
---|
3038 | QHD
|
---|
3039 | </term>
|
---|
3040 |
|
---|
3041 | <listitem>
|
---|
3042 | <para>
|
---|
3043 | 2560x1440, 32bpp, 16:9
|
---|
3044 | </para>
|
---|
3045 | </listitem>
|
---|
3046 | </varlistentry>
|
---|
3047 |
|
---|
3048 | <varlistentry>
|
---|
3049 | <term>
|
---|
3050 | WQXGA
|
---|
3051 | </term>
|
---|
3052 |
|
---|
3053 | <listitem>
|
---|
3054 | <para>
|
---|
3055 | 2560x1600, 32bpp, 16:10
|
---|
3056 | </para>
|
---|
3057 | </listitem>
|
---|
3058 | </varlistentry>
|
---|
3059 |
|
---|
3060 | <varlistentry>
|
---|
3061 | <term>
|
---|
3062 | QWXGA+
|
---|
3063 | </term>
|
---|
3064 |
|
---|
3065 | <listitem>
|
---|
3066 | <para>
|
---|
3067 | 2880x1800, 32bpp, 16:10
|
---|
3068 | </para>
|
---|
3069 | </listitem>
|
---|
3070 | </varlistentry>
|
---|
3071 |
|
---|
3072 | <varlistentry>
|
---|
3073 | <term>
|
---|
3074 | QHD+
|
---|
3075 | </term>
|
---|
3076 |
|
---|
3077 | <listitem>
|
---|
3078 | <para>
|
---|
3079 | 3200x1800, 32bpp, 16:9
|
---|
3080 | </para>
|
---|
3081 | </listitem>
|
---|
3082 | </varlistentry>
|
---|
3083 |
|
---|
3084 | <varlistentry>
|
---|
3085 | <term>
|
---|
3086 | WQSXGA
|
---|
3087 | </term>
|
---|
3088 |
|
---|
3089 | <listitem>
|
---|
3090 | <para>
|
---|
3091 | 3200x2048, 32bpp, 16:10
|
---|
3092 | </para>
|
---|
3093 | </listitem>
|
---|
3094 | </varlistentry>
|
---|
3095 |
|
---|
3096 | <varlistentry>
|
---|
3097 | <term>
|
---|
3098 | 4K UHD
|
---|
3099 | </term>
|
---|
3100 |
|
---|
3101 | <listitem>
|
---|
3102 | <para>
|
---|
3103 | 3840x2160, 32bpp, 16:9
|
---|
3104 | </para>
|
---|
3105 | </listitem>
|
---|
3106 | </varlistentry>
|
---|
3107 |
|
---|
3108 | <varlistentry>
|
---|
3109 | <term>
|
---|
3110 | WQUXGA
|
---|
3111 | </term>
|
---|
3112 |
|
---|
3113 | <listitem>
|
---|
3114 | <para>
|
---|
3115 | 3840x2400, 32bpp, 16:10
|
---|
3116 | </para>
|
---|
3117 | </listitem>
|
---|
3118 | </varlistentry>
|
---|
3119 |
|
---|
3120 | <varlistentry>
|
---|
3121 | <term>
|
---|
3122 | DCI 4K
|
---|
3123 | </term>
|
---|
3124 |
|
---|
3125 | <listitem>
|
---|
3126 | <para>
|
---|
3127 | 4096x2160, 32bpp, 19:10
|
---|
3128 | </para>
|
---|
3129 | </listitem>
|
---|
3130 | </varlistentry>
|
---|
3131 |
|
---|
3132 | <varlistentry>
|
---|
3133 | <term>
|
---|
3134 | HXGA
|
---|
3135 | </term>
|
---|
3136 |
|
---|
3137 | <listitem>
|
---|
3138 | <para>
|
---|
3139 | 4096x3072, 32bpp, 4:3
|
---|
3140 | </para>
|
---|
3141 | </listitem>
|
---|
3142 | </varlistentry>
|
---|
3143 |
|
---|
3144 | <varlistentry>
|
---|
3145 | <term>
|
---|
3146 | UHD+
|
---|
3147 | </term>
|
---|
3148 |
|
---|
3149 | <listitem>
|
---|
3150 | <para>
|
---|
3151 | 5120x2880, 32bpp, 16:9
|
---|
3152 | </para>
|
---|
3153 | </listitem>
|
---|
3154 | </varlistentry>
|
---|
3155 |
|
---|
3156 | <varlistentry>
|
---|
3157 | <term>
|
---|
3158 | WHXGA
|
---|
3159 | </term>
|
---|
3160 |
|
---|
3161 | <listitem>
|
---|
3162 | <para>
|
---|
3163 | 5120x3200, 32bpp, 16:10
|
---|
3164 | </para>
|
---|
3165 | </listitem>
|
---|
3166 | </varlistentry>
|
---|
3167 |
|
---|
3168 | <varlistentry>
|
---|
3169 | <term>
|
---|
3170 | WHSXGA
|
---|
3171 | </term>
|
---|
3172 |
|
---|
3173 | <listitem>
|
---|
3174 | <para>
|
---|
3175 | 6400x4096, 32bpp, 16:10
|
---|
3176 | </para>
|
---|
3177 | </listitem>
|
---|
3178 | </varlistentry>
|
---|
3179 |
|
---|
3180 | <varlistentry>
|
---|
3181 | <term>
|
---|
3182 | HUXGA
|
---|
3183 | </term>
|
---|
3184 |
|
---|
3185 | <listitem>
|
---|
3186 | <para>
|
---|
3187 | 6400x4800, 32bpp, 4:3
|
---|
3188 | </para>
|
---|
3189 | </listitem>
|
---|
3190 | </varlistentry>
|
---|
3191 |
|
---|
3192 | <varlistentry>
|
---|
3193 | <term>
|
---|
3194 | 8K UHD2
|
---|
3195 | </term>
|
---|
3196 |
|
---|
3197 | <listitem>
|
---|
3198 | <para>
|
---|
3199 | 7680x4320, 32bpp, 16:9
|
---|
3200 | </para>
|
---|
3201 | </listitem>
|
---|
3202 | </varlistentry>
|
---|
3203 |
|
---|
3204 | </variablelist>
|
---|
3205 |
|
---|
3206 | <para>
|
---|
3207 | If this list of default resolution does not cover your needs,
|
---|
3208 | see <xref linkend="customvesa" />. Note that the color depth
|
---|
3209 | value specified in a custom video mode must be specified. Color
|
---|
3210 | depths of 8, 16, 24, and 32 are accepted. EFI assumes a color
|
---|
3211 | depth of 32 by default.
|
---|
3212 | </para>
|
---|
3213 |
|
---|
3214 | <para>
|
---|
3215 | The EFI default video resolution settings can only be changed
|
---|
3216 | when the VM is powered off.
|
---|
3217 | </para>
|
---|
3218 |
|
---|
3219 | </sect2>
|
---|
3220 |
|
---|
3221 | <sect2 id="efibootargs">
|
---|
3222 |
|
---|
3223 | <title>Specifying Boot Arguments</title>
|
---|
3224 |
|
---|
3225 | <para>
|
---|
3226 | It is currently not possible to manipulate EFI variables from
|
---|
3227 | within a running guest. For example, setting the "boot-args"
|
---|
3228 | variable by running the <computeroutput>nvram</computeroutput>
|
---|
3229 | tool in a Mac OS X guest will not work. As an alternative way,
|
---|
3230 | "VBoxInternal2/EfiBootArgs" extradata can be passed to a VM in
|
---|
3231 | order to set the "boot-args" variable. To change the "boot-args"
|
---|
3232 | EFI variable, use the following command:
|
---|
3233 | </para>
|
---|
3234 |
|
---|
3235 | <screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiBootArgs <value></screen>
|
---|
3236 |
|
---|
3237 | </sect2>
|
---|
3238 |
|
---|
3239 | </sect1>
|
---|
3240 |
|
---|
3241 | </chapter>
|
---|