VirtualBox

source: vbox/trunk/doc/manual/en_US/user_BasicConcepts.xml@ 34606

Last change on this file since 34606 was 34606, checked in by vboxsync, 14 years ago

doc/manual: clean up references to Solaris variants, document that "Solaris modern" gets a SATA controller, and generally minimize the references to OpenSolaris

File size: 56.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
4<chapter id="BasicConcepts">
5 <title>Configuring virtual machines</title>
6
7 <para>Whereas <xref linkend="Introduction" /> gave you a quick introduction
8 to VirtualBox and how to get your first virtual machine running, the
9 following chapter describe in detail how to configure virtual
10 machines.</para>
11
12 <para>You have considerable latitude in deciding what virtual hardware will
13 be provided to the guest. The virtual hardware can be used for communicating
14 with the host system or with other guests. For instance, if you provide
15 VirtualBox with the image of a CD-ROM in an ISO file, VirtualBox can present
16 this image to a guest system as if it were a physical CD-ROM. Similarly, you
17 can give a guest system access to the real network via its virtual network
18 card, and, if you so choose, give the host system, other guests, or
19 computers on the Internet access to the guest system.</para>
20
21 <sect1>
22 <title id="guestossupport">Supported guest operating systems</title>
23
24 <para>Since VirtualBox is designed to provide a generic virtualization
25 environment for x86 systems, it may run operating systems of any kind,
26 even those not listed here. However, the focus is to optimize VirtualBox
27 for the following guest systems:</para>
28
29 <para><glosslist>
30 <glossentry>
31 <glossterm>Windows NT 4.0</glossterm>
32
33 <glossdef>
34 <para>All versions, editions and service packs are fully
35 supported; however, there are some issues with older service
36 packs. We recommend to install service pack 6a. Guest Additions
37 are available with a limited feature set.</para>
38 </glossdef>
39 </glossentry>
40
41 <glossentry>
42 <glossterm>Windows 2000 / XP / Server 2003 / Vista / Server 2008 /
43 Windows 7</glossterm>
44
45 <glossdef>
46 <para>All versions, editions and service packs are fully supported
47 (including 64-bit versions, under the preconditions listed below).
48 Guest Additions are available.</para>
49 </glossdef>
50 </glossentry>
51
52 <glossentry>
53 <glossterm>DOS / Windows 3.x / 95 / 98 / ME</glossterm>
54
55 <glossdef>
56 <para>Limited testing has been performed. Use beyond legacy
57 installation mechanisms not recommended. No Guest Additions
58 available.</para>
59 </glossdef>
60 </glossentry>
61
62 <glossentry>
63 <glossterm>Linux 2.4</glossterm>
64
65 <glossdef>
66 <para>Limited support.</para>
67 </glossdef>
68 </glossentry>
69
70 <glossentry>
71 <glossterm>Linux 2.6</glossterm>
72
73 <glossdef>
74 <para>All versions/editions are fully supported (32 bits and 64
75 bits). Guest Additions are available.</para>
76
77 <para>We strongly recommend using a Linux kernel version 2.6.13 or
78 higher for better performance.<note>
79 <para>Certain Linux kernel releases have bugs that prevent
80 them from executing in a virtual environment; please see <xref
81 linkend="trouble-linux-buggy" /> for details.</para>
82 </note></para>
83 </glossdef>
84 </glossentry>
85
86 <glossentry>
87 <glossterm>Solaris 10, Solaris 11</glossterm>
88
89 <glossdef>
90 <para>Fully supported (32 bits and 64 bits). Guest Additions are
91 available. Other operating systems derived from Solaris should
92 work as well. For modern Solaris variants (Solaris 10U8 and later)
93 there is a special OS type which in the "Create VM" wizard selects
94 SATA support for improved performance.</para>
95 </glossdef>
96 </glossentry>
97
98 <glossentry>
99 <glossterm>FreeBSD</glossterm>
100
101 <glossdef>
102 <para>Requires hardware virtualization to be enabled. Limited
103 support. Guest Additions are not available yet.</para>
104 </glossdef>
105 </glossentry>
106
107 <glossentry>
108 <glossterm>OpenBSD</glossterm>
109
110 <glossdef>
111 <para>Requires hardware virtualization to be enabled. Versions 3.7
112 and later are supported. Guest Additions are not available
113 yet.</para>
114 </glossdef>
115 </glossentry>
116
117 <glossentry>
118 <glossterm>OS/2 Warp 4.5</glossterm>
119
120 <glossdef>
121 <para>Requires hardware virtualization to be enabled. We
122 officially support MCP2 only; other OS/2 versions may or may not
123 work. Guest Additions are available with a limited feature
124 set.<footnote>
125 <para>See <xref linkend="KnownIssues" />.</para>
126 </footnote></para>
127 </glossdef>
128 </glossentry>
129
130 <glossentry>
131 <glossterm>Mac OS X Server</glossterm>
132
133 <glossdef>
134 <para>VirtualBox 3.2 added experimental support for Mac OS X
135 Server guests, but this comes with restrictions. Please see the
136 following section as well as <xref
137 linkend="KnownIssues" />.</para>
138 </glossdef>
139 </glossentry>
140 </glosslist></para>
141
142 <sect2 id="intro-macosxguests">
143 <title>Mac OS X Server guests</title>
144
145 <para>Starting with version 3.2, VirtualBox has experimental support for
146 Mac OS X Server guests. This allows you to install and execute
147 unmodified versions of Mac OS X Server on supported host
148 hardware.</para>
149
150 <para>Whereas competing solutions perform modifications to the Mac OS X
151 Server install DVDs (e.g. different boot loader and replaced files),
152 VirtualBox is the first product to provide the modern PC architecture
153 expected by OS X without requiring any "hacks".</para>
154
155 <para>You should be aware of a number of <emphasis role="bold">important
156 issues</emphasis> before attempting to install a Mac OS X Server
157 guest:<orderedlist>
158 <listitem>
159 <para>Mac OS X is commercial, licensed software and contains
160 <emphasis role="bold">both license and technical
161 restrictions</emphasis> that limit its use to certain hardware and
162 usage scenarios. It is important that you understand and obey
163 these restrictions.</para>
164
165 <para>In particular, for most versions of Mac OS X Server, Apple
166 prohibits installing them on non-Apple hardware. Also, only the
167 server versions of Mac OS X are designed to be used in a virtual
168 environment; as a result, VirtualBox does not support client
169 versions of Mac OS X as a guest.</para>
170
171 <para>These license restrictions are also enforced on a technical
172 level. Mac OS X Server verifies whether it is running on Apple
173 hardware, and most DVDs that that come with Apple hardware even
174 check for an exact model. These restrictions are
175 <emphasis>not</emphasis> circumvented by VirtualBox and continue
176 to apply.</para>
177 </listitem>
178
179 <listitem>
180 <para>Only <emphasis role="bold">CPUs</emphasis> known and tested
181 by Apple are supported. As a result, if your Intel CPU is newer
182 than the build of Mac OS X Server, or if you have a non-Intel CPU,
183 it will most likely panic during bootup with an "Unsupported CPU"
184 exception. It is generally best to use the Mac OS X Server DVD
185 that came with your Apple hardware.</para>
186 </listitem>
187
188 <listitem>
189 <para>The Mac OS X Server installer expects the harddisk to be
190 <emphasis role="bold">partitioned</emphasis> so when it does not
191 offer a selection, you have to launch the Disk Utility from the
192 "Tools" menu and partition the hard disk. Then close the Disk
193 Utility and proceed with the installation.</para>
194 </listitem>
195
196 <listitem>
197 <para>In addition, as Mac OS X Server support in VirtualBox is
198 currently still experimental, please refer also to <xref
199 linkend="KnownIssues" />.</para>
200 </listitem>
201 </orderedlist></para>
202 </sect2>
203
204 <sect2 id="intro-64bitguests">
205 <title>64-bit guests</title>
206
207 <para>VirtualBox supports 64-bit guest operating systems, even on 32-bit
208 host operating systems,<footnote>
209 <para>64-bit guest support was added with VirtualBox 2.0; support
210 for 64-bit guests on 32-bit hosts was added with VirtualBox
211 2.1.</para>
212 </footnote> provided that the following conditions are
213 met:<orderedlist>
214 <listitem>
215 <para>You need a 64-bit processor with hardware virtualization
216 support (see <xref linkend="hwvirt" />).</para>
217 </listitem>
218
219 <listitem>
220 <para>You must enable hardware virtualization for the particular
221 VM for which you want 64-bit support; software virtualization is
222 not supported for 64-bit VMs.</para>
223 </listitem>
224
225 <listitem>
226 <para>If you want to use 64-bit guest support on a 32-bit host
227 operating system, you must also select a 64-bit operating system
228 for the particular VM. Since supporting 64 bits on 32-bit hosts
229 incurs additional overhead, VirtualBox only enables this support
230 upon explicit request.</para>
231
232 <para>On 64-bit hosts, 64-bit guest support is always enabled, so
233 you can simply install a 64-bit operating system in the
234 guest.</para>
235 </listitem>
236 </orderedlist></para>
237
238 <para><warning>
239 <para>On any host, you should enable the <emphasis role="bold">I/O
240 APIC</emphasis> for virtual machines that you intend to use in
241 64-bit mode. This is especially true for 64-bit Windows VMs. See
242 <xref linkend="settings-general-advanced" />. In addition, for
243 64-bit Windows guests, you should make sure that the VM uses the
244 <emphasis role="bold">Intel networking device</emphasis>, since
245 there is no 64-bit driver support for the AMD PCNet card; see <xref
246 linkend="nichardware" />.</para>
247 </warning></para>
248
249 <para>If you use the "Create VM" wizard of the VirtualBox graphical user
250 interface (see <xref linkend="gui-createvm" />), VirtualBox will
251 automatically use the correct settings for each selected 64-bit
252 operating system type.</para>
253 </sect2>
254 </sect1>
255
256 <sect1>
257 <title>Emulated hardware</title>
258
259 <para>VirtualBox virtualizes nearly all hardware of the host. Depending on
260 a VM's configuration, the guest will see the following virtual
261 hardware:<itemizedlist>
262 <listitem>
263 <para><emphasis role="bold">Input devices.</emphasis> By default,
264 VirtualBox emulates a standard PS/2 keyboard and mouse. These
265 devices are supported by almost all past and present operating
266 systems.</para>
267
268 <para>In addition, VirtualBox can provide virtual USB input devices
269 to avoid having to capture mouse and keyboard, as described in <xref
270 linkend="keyb_mouse_normal" />.</para>
271 </listitem>
272
273 <listitem>
274 <para><emphasis role="bold">Graphics.</emphasis> The VirtualBox
275 graphics device (sometimes referred to as VGA device) is, unlike
276 nearly all other emulated devices, not based on any physical
277 counterpart. It is a simple, synthetic device which provides
278 compatibility with standard VGA and several extended registers used
279 by the VESA BIOS Extensions (VBE).</para>
280 </listitem>
281
282 <listitem>
283 <para><emphasis role="bold">Storage.</emphasis> VirtualBox currently
284 emulates the standard ATA interface found on Intel PIIX3/PIIX4
285 chips, the SATA (AHCI) interface, and two SCSI adapters (LSI Logic
286 and BusLogic); see <xref linkend="harddiskcontrollers" /> for
287 details. Whereas providing one of these would be enough for
288 VirtualBox by itself, this multitude of storage adapters is required
289 for compatibility with other hypervisors. Windows is particularly
290 picky about its boot devices, and migrating VMs between hypervisors
291 is very difficult or impossible if the storage controllers are
292 different.</para>
293 </listitem>
294
295 <listitem>
296 <para><emphasis role="bold">Networking.</emphasis> See <xref
297 linkend="nichardware" />.</para>
298 </listitem>
299
300 <listitem>
301 <para><emphasis role="bold">USB.</emphasis> VirtualBox emulates two
302 USB host controllers, EHCI and OHCI. There is a need for two host
303 controllers because OHCI only handles USB low- and full-speed
304 devices (both USB 1.x and 2.0), while EHCI only handles high-speed
305 devices (USB 2.0 only). The emulated USB controllers do not
306 communicate directly with devices on the host but rather with a
307 virtual USB layer which abstracts the USB protocol and allows the
308 use of remote USB devices.</para>
309 </listitem>
310
311 <listitem>
312 <para><emphasis role="bold">Audio.</emphasis> See <xref
313 linkend="settings-audio" />.</para>
314 </listitem>
315 </itemizedlist></para>
316 </sect1>
317
318 <sect1 id="generalsettings">
319 <title>General settings</title>
320
321 <para>In the Settings window, under "General", you can configure the most
322 fundamental aspects of the virtual machine such as memory and essential
323 hardware. There are three tabs, "Basic", "Advanced" and
324 "Description".</para>
325
326 <sect2>
327 <title>"Basic" tab</title>
328
329 <para>Under the "Basic" tab of the "General" settings category, you can
330 find these settings:</para>
331
332 <glosslist>
333 <glossentry>
334 <glossterm>Name</glossterm>
335
336 <glossdef>
337 <para>The name under which the VM is shown in the list of VMs in
338 the main window. Under this name, VirtualBox also saves the VM's
339 configuration files. By changing the name, VirtualBox renames
340 these files as well. As a result, you can only use characters
341 which are allowed in your host operating system's file
342 names.</para>
343
344 <para>Note that internally, VirtualBox uses unique identifiers
345 (UUIDs) to identify virtual machines. You can display these with
346 <computeroutput>VBoxManage</computeroutput>.</para>
347 </glossdef>
348 </glossentry>
349
350 <glossentry>
351 <glossterm>Operating system / version</glossterm>
352
353 <glossdef>
354 <para>The type of the guest operating system that is (or will be)
355 installed in the VM. This is the same setting that was specified
356 in the "New Virtual Machine" wizard, as described in <xref
357 linkend="gui-createvm" />.</para>
358 </glossdef>
359 </glossentry>
360 </glosslist>
361 </sect2>
362
363 <sect2 id="settings-general-advanced">
364 <title>"Advanced" tab</title>
365
366 <para><glosslist>
367 <glossentry>
368 <glossterm>Snapshot folder</glossterm>
369
370 <glossdef>
371 <para>By default, VirtualBox saves snapshot data together with
372 your other VirtualBox configuration data; see <xref
373 linkend="vboxconfigdata" />. With this setting, you can specify
374 any other folder for each VM.</para>
375 </glossdef>
376 </glossentry>
377
378 <glossentry>
379 <glossterm>Shared clipboard</glossterm>
380
381 <glossdef>
382 <para>If the virtual machine has Guest Additions installed, you
383 can select here whether the clipboard of the guest operating
384 system should be shared with that of your host. If you select
385 "Bidirectional", then VirtualBox will always make sure that both
386 clipboards contain the same data. If you select "Host to guest"
387 or "Guest to host", then VirtualBox will only ever copy
388 clipboard data in one direction.</para>
389 </glossdef>
390 </glossentry>
391
392 <glossentry>
393 <glossterm>Removable media: remember runtime changes</glossterm>
394
395 <glossdef>
396 <para>If this is checked, VirtualBox will save the state of what
397 media has been mounted between several runs of a virtual
398 machine.</para>
399 </glossdef>
400 </glossentry>
401
402 <glossentry>
403 <glossterm>Mini toolbar</glossterm>
404
405 <glossdef>
406 <para>In full screen or seamless mode, VirtualBox can display a
407 small toolbar that contains some of the items that are normally
408 available from the virtual machine's menu bar. This toolbar
409 reduces itself to a small gray line unless you move the mouse
410 over it. With the toolbar, you can return from full screen or
411 seamless mode, control machine execution or enable certain
412 devices. If you don't want to see the toolbar, disable this
413 setting.</para>
414 </glossdef>
415 </glossentry>
416 </glosslist></para>
417 </sect2>
418
419 <sect2>
420 <title>"Description" tab</title>
421
422 <para>Here you can enter any description for your virtual machine, if
423 you want. This has no effect on the functionality of the machine, but
424 you may find this space useful to note down things like the
425 configuration of a virtual machine and the software that has been
426 installed into it.</para>
427 </sect2>
428 </sect1>
429
430 <sect1 id="settings-system">
431 <title>System settings</title>
432
433 <para>The "System" category groups various settings that are related to
434 the basic hardware that is presented to the virtual machine.<note>
435 <para>As the activation mechanism of Microsoft Windows is sensitive to
436 hardware changes, if you are changing hardware settings for a Windows
437 guest, some of these changes may trigger a request for another
438 activation with Microsoft.</para>
439 </note></para>
440
441 <sect2 id="settings-motherboard">
442 <title>"Motherboard" tab</title>
443
444 <para>On the "Motherboard" tab, you can influence virtual hardware that
445 would normally be on the motherboard of a real computer.<glosslist>
446 <glossentry>
447 <glossterm>Base memory</glossterm>
448
449 <glossdef>
450 <para>This sets the amount of RAM that is allocated and given to
451 the VM when it is running. The specified amount of memory will
452 be requested from the host operating system, so it must be
453 available or made available as free memory on the host when
454 attempting to start the VM and will not be available to the host
455 while the VM is running. This is the same setting that was
456 specified in the "New Virtual Machine" wizard, as described with
457 guidelines under <xref linkend="gui-createvm" /> above.</para>
458
459 <para>Generally, it is possible to change the memory size after
460 installing the guest operating system (provided you do not
461 reduce the memory to an amount where the operating system would
462 no longer boot).</para>
463 </glossdef>
464 </glossentry>
465
466 <glossentry>
467 <glossterm>Boot order</glossterm>
468
469 <glossdef>
470 <para>This setting determines the order in which the guest
471 operating system will attempt to boot from the various virtual
472 boot devices. Analogous to a real PC's BIOS setting, VirtualBox
473 can tell a guest OS to start from the virtual floppy, the
474 virtual CD/DVD drive, the virtual hard drive (each of these as
475 defined by the other VM settings), the network, or none of
476 these.</para>
477
478 <para>If you select "Network", the VM will attempt to boot from
479 a network via the PXE mechanism. This needs to be configured in
480 detail on the command line; please see <xref
481 linkend="vboxmanage-modifyvm" />.</para>
482 </glossdef>
483 </glossentry>
484
485 <glossentry>
486 <glossterm>Enable I/O APIC</glossterm>
487
488 <glossdef>
489 <para>Advanced Programmable Interrupt Controllers (APICs) are a
490 newer x86 hardware feature that have replaced old-style
491 Programmable Interrupt Controllers (PICs) in recent years. With
492 an I/O APIC, operating systems can use more than 16 interrupt
493 requests (IRQs) and therefore avoid IRQ sharing for improved
494 reliability.<note>
495 <para>Enabling the I/O APIC is <emphasis>required</emphasis>
496 for 64-bit guest operating systems, especially Windows
497 Vista; it is also required if you want to use more than one
498 virtual CPU in a virtual machine.</para>
499 </note></para>
500
501 <para>However, software support for I/O APICs has been
502 unreliable with some operating systems other than Windows. Also,
503 the use of an I/O APIC slightly increases the overhead of
504 virtualization and therefore slows down the guest OS a
505 little.<warning>
506 <para>All Windows operating systems starting with Windows
507 2000 install different kernels depending on whether an I/O
508 APIC is available. As with ACPI, the I/O APIC therefore
509 <emphasis>must not be turned off after
510 installation</emphasis> of a Windows guest OS. Turning it on
511 after installation will have no effect however.</para>
512 </warning></para>
513 </glossdef>
514 </glossentry>
515
516 <glossentry>
517 <glossterm>Enable EFI</glossterm>
518
519 <glossdef>
520 <para>This enables Extensible Firmware Interface (EFI), which
521 replaces the legacy BIOS, which may be useful for certain
522 advanced use cases. Please refer to <xref linkend="efi" /> for
523 details.</para>
524 </glossdef>
525 </glossentry>
526
527 <glossentry>
528 <glossterm>Hardware clock in UTC time</glossterm>
529
530 <glossdef>
531 <para>If checked, VirtualBox will report the system time in UTC
532 format to the guest instead of local (host) time. This affects
533 how the virtual real-time clock (RTC) operates and may be useful
534 for Unix-like guest operating systems, which typically expect
535 the hardware clock to be set to UTC.</para>
536 </glossdef>
537 </glossentry>
538
539 <glossentry>
540 <glossterm>Enable absolute pointing device</glossterm>
541
542 <glossdef>
543 <para>If enabled, VirtualBox reports to the virtual machine that
544 a USB tablet device is present and communicates mouse events to
545 the virtual machine through this device. If disabled, mouse
546 events are communicated through a traditional PS/2 virtual mouse
547 device.</para>
548
549 <para>Using the virtual USB tablet has the advantage that
550 movements are reported in absolute coordinates (instead of as
551 relative position changes), which allows VirtualBox to translate
552 mouse events over the VM window into tablet events without
553 having to "capture" the mouse in the guest as described in <xref
554 linkend="keyb_mouse_normal" />. This makes using the VM less
555 tedious even if Guest Additions are not installed.<footnote>
556 <para>The virtual USB tablet was added with VirtualBox 3.2.
557 Depending on the guest operating system selected, this is
558 now enabled by default for new virtual machines.</para>
559 </footnote></para>
560 </glossdef>
561 </glossentry>
562 </glosslist></para>
563
564 <para>In addition, you can turn off the <emphasis role="bold">Advanced
565 Configuration and Power Interface (ACPI)</emphasis> which VirtualBox
566 presents to the guest operating system by default. ACPI is the current
567 industry standard to allow operating systems to recognize hardware,
568 configure motherboards and other devices and manage power. As all modern
569 PCs contain this feature and Windows and Linux have been supporting it
570 for years, it is also enabled by default in VirtualBox. It can only be
571 turned off on the command line; see <xref
572 linkend="vboxmanage-modifyvm" />.<warning>
573 <para>All Windows operating systems starting with Windows 2000
574 install different kernels depending on whether ACPI is available, so
575 ACPI <emphasis>must not be turned off</emphasis> after installation
576 of a Windows guest OS. Turning it on after installation will have no
577 effect however.</para>
578 </warning></para>
579 </sect2>
580
581 <sect2 id="settings-processor">
582 <title>"Processor" tab</title>
583
584 <para>On the "Processor" tab, you can set how many virtual <emphasis
585 role="bold">CPU cores</emphasis> the guest operating systems should see.
586 Starting with version 3.0, VirtualBox supports symmetrical
587 multiprocessing (SMP) and can present up to 32 virtual CPU cores to each
588 virtual machine.</para>
589
590 <para>You should not, however, configure virtual machines to use more
591 CPU cores than you have available physically.</para>
592
593 <para>In addition, the <emphasis role="bold">"Enable PAE/NX"</emphasis>
594 setting determines whether the PAE and NX capabilities of the host CPU
595 will be exposed to the virtual machine. PAE stands for "Physical Address
596 Extension". Normally, if enabled and supported by the operating system,
597 then even a 32-bit x86 CPU can access more than 4 GB of RAM. This is
598 made possible by adding another 4 bits to memory addresses, so that with
599 36 bits, up to 64 GB can be addressed. Some operating systems (such as
600 Ubuntu Server) require PAE support from the CPU and cannot be run in a
601 virtual machine without it.</para>
602
603 <para>With virtual machines running modern server operating systems,
604 VirtualBox also supports CPU hot-plugging. For details about this,
605 please refer to <xref linkend="cpuhotplug" />.</para>
606 </sect2>
607
608 <sect2>
609 <title>"Acceleration" tab</title>
610
611 <para>On this page, you can determine whether and how VirtualBox should
612 use hardware virtualization extensions that your host CPU may support.
613 This is the case with most CPUs built after 2006.</para>
614
615 <para>You can select for each virtual machine individually whether
616 VirtualBox should use software or hardware virtualization.<footnote>
617 <para>Prior to VirtualBox version 2.2, software virtualization was
618 the default; starting with version 2.2, VirtualBox will enable
619 hardware virtualization by default for new virtual machines that you
620 create. (Existing virtual machines are not automatically changed for
621 compatibility reasons, and the default can of course be changed for
622 each virtual machine.)</para>
623 </footnote></para>
624
625 <para>In most cases, the default settings will be fine; VirtualBox will
626 have picked sensible defaults depending on the operating system that you
627 selected when you created the virtual machine. In certain situations,
628 however, you may want to change these preconfigured defaults.</para>
629
630 <para>Advanced users may be interested in technical details about
631 software vs. hardware virtualization; please see <xref
632 linkend="hwvirt" />.</para>
633
634 <para>If your host's CPU supports the <emphasis role="bold">nested
635 paging</emphasis> (AMD-V) or <emphasis role="bold">EPT</emphasis> (Intel
636 VT-x) features, then you can expect a significant performance increase
637 by enabling nested paging in addition to hardware virtualization. For
638 technical details, see <xref linkend="nestedpaging" />.</para>
639 </sect2>
640 </sect1>
641
642 <sect1 id="settings-display">
643 <title>Display settings</title>
644
645 <glosslist>
646 <glossentry>
647 <glossterm>Video memory size</glossterm>
648
649 <glossdef>
650 <para>This sets the size of the memory provided by the virtual
651 graphics card available to the guest, in MB. As with the main
652 memory, the specified amount will be allocated from the host's
653 resident memory. Based on the amount of video memory, higher
654 resolutions and color depths may be available.</para>
655 </glossdef>
656 </glossentry>
657
658 <glossentry>
659 <glossterm>Monitor count</glossterm>
660
661 <glossdef>
662 <para>With this setting VirtualBox can provide more than one virtual
663 monitor to a virtual machine. If a guest operating system (such as
664 Windows) supports multiple attached monitors, VirtualBox can pretend
665 that multiple virtual monitors are present.<footnote>
666 <para>Multiple monitor support was added with VirtualBox
667 3.2.</para>
668 </footnote> Up to 8 such virtual monitors are supported.</para>
669
670 <para>The output of the multiple monitors will be displayed on the
671 host in multiple VM windows which are running side by side.</para>
672
673 <para>However, in fullscreen and seamless mode, they will use the
674 available physical monitors attached to the host. As a result, for
675 fullscreen and seamless modes to work with multiple monitors, you
676 will need at least as many physical monitors as you have virtual
677 monitors configured, or VirtualBox will report an error. You can
678 configure the relationship between guest and host monitors using the
679 view menu by pressing Host key + Home when you are in fullscreen or
680 seamless mode.</para>
681
682 <para>Please see <xref linkend="KnownIssues" /> also.</para>
683 </glossdef>
684 </glossentry>
685
686 <glossentry>
687 <glossterm>Enable 3D acceleration</glossterm>
688
689 <glossdef>
690 <para>If a virtual machine has Guest Additions installed, you can
691 select here whether the guest should support accelerated 3D
692 graphics. Please refer to <xref linkend="guestadd-3d" /> for
693 details.</para>
694 </glossdef>
695 </glossentry>
696
697 <glossentry>
698 <glossterm>Enable 2D video acceleration</glossterm>
699
700 <glossdef>
701 <para>If a virtual machine with Microsoft Windows has Guest
702 Additions installed, you can select here whether the guest should
703 support accelerated 2D video graphics. Please refer to <xref
704 linkend="guestadd-2d" /> for details.</para>
705 </glossdef>
706 </glossentry>
707
708 <glossentry>
709 <glossterm>Remote display</glossterm>
710
711 <glossdef>
712 <para>Under the "Remote display" tab, if the VirtualBox Remote
713 Display Extension (VRDE) is installed, you can enable the RDP server
714 that is built into VirtualBox. This allows you to connect to the
715 virtual machine remotely with any standard RDP viewer, such as
716 <computeroutput>mstsc.exe</computeroutput> that comes with Microsoft
717 Windows or, on Linux systems, the standard open-source
718 <computeroutput>rdesktop</computeroutput> program. These features
719 are described in detail in <xref linkend="vrdp" />.</para>
720 </glossdef>
721 </glossentry>
722 </glosslist>
723 </sect1>
724
725 <sect1 id="settings-storage">
726 <title>Storage settings</title>
727
728 <para>In the VM Settings window, the "Storage" section allows you to
729 connect virtual hard disk, CD/DVD and floppy images and drives to your
730 virtual machine:<mediaobject>
731 <imageobject>
732 <imagedata align="center" fileref="images/vm-settings-harddisk.png"
733 width="10cm" />
734 </imageobject>
735 </mediaobject></para>
736
737 <para>In a real PC, so-called "storage controllers" connect physical disk
738 drives to the rest of the computer. Similarly, VirtualBox presents virtual
739 storage controllers to a virtual machine. Under each controller, the
740 virtual devices (hard disks, CD/DVD or floppy drives) are shown that are
741 attached to the controller.</para>
742
743 <para>If you have used the "Create VM" wizard to create a machine, you
744 will normally see the following devices:<itemizedlist>
745 <listitem>
746 <para>You will see an IDE controller, under which there are two
747 devices:<itemizedlist>
748 <listitem>
749 <para>one virtual hard disk connected to the IDE slot called
750 "primary master"; this is represented by the disk images that
751 you created with the machine;</para>
752 </listitem>
753
754 <listitem>
755 <para>one virtual CD/DVD drive connected to the "secondary
756 master".</para>
757 </listitem>
758 </itemizedlist></para>
759 </listitem>
760
761 <listitem>
762 <para>In addition, there is a floppy controller to which a virtual
763 floppy drive is attached.</para>
764 </listitem>
765 </itemizedlist></para>
766
767 <para>You can modify these media attachments freely. For example, if you
768 wish to copy some files from another virtual disk that you created, you
769 can connect that disk as a second hard disk. You could also add a second
770 virtual CD/DVD drive, or change where these items are attached.</para>
771
772 <para>In addition to the IDE controller, VirtualBox can also present an
773 SATA controller and a SCSI controller to the guest, which gives you 30 or
774 16 additional slots to attach devices to, respectively. This, however, may
775 require that you run a modern guest operating system. See <xref
776 linkend="harddiskcontrollers" /> for details. For some guest OS types, the
777 "Create VM" wizards automatically configures a SATA controller, as this
778 often results in better I/O performance and lower CPU overhead.</para>
779
780
781 <para>To <emphasis role="bold">add another virtual hard disk or CD/DVD
782 drive,</emphasis> select the storage controller to which it should be
783 added (IDE, SATA or SCSI) and then click on the "add disk" button below
784 the tree. You can then either select "Add CD/DVD device" or "Add Hard
785 Disk". Alternatively, right-click on the storage controller and select a
786 menu item there.</para>
787
788 <para>On the right part of the window, you can then select to which slot
789 of the controller the virtual disk should be connected to and which image
790 file to use.<itemizedlist>
791 <listitem>
792 <para>For virtual hard disks, a drop-down list appears on the right,
793 listing all the hard disk images that VirtualBox currently knows
794 about.</para>
795
796 <para>The folder icon next to the drop-down allow you to select a
797 different disk image using a standard file dialog.</para>
798
799 <para>The second icon next to the drop-down allows you to create a
800 new disk image; this will bring up the "Create new disk" wizard,
801 which was described in <xref linkend="gui-createvm" />.</para>
802 </listitem>
803
804 <listitem>
805 <para>For virtual CD/DVD drives, there are two kinds of options in
806 the drop-down list.<itemizedlist>
807 <listitem>
808 <para>If you select "Empty", then VirtualBox will present a
809 virtual CD/DVD drive to the guest which has no media
810 inserted.</para>
811 </listitem>
812
813 <listitem>
814 <para>If you select "Host drive" from the list, then the
815 physical device of the host computer is connected to the VM,
816 so that the guest operating system can read from and write to
817 your physical device. This is, for instance, useful if you
818 want to install Windows from a real installation CD. In this
819 case, select your host drive from the drop-down list
820 presented.</para>
821
822 <para>If you want to write (burn) CDs or DVDs using the host
823 drive, you need to enable the <emphasis
824 role="bold">"Passthrough"</emphasis> option; see <xref
825 linkend="storage-write-cds" />.</para>
826 </listitem>
827
828 <listitem>
829 <para>The other items in the list, like virtual hard disk
830 images, will be image files on your host. The file format here
831 is the ISO format. Most commonly, you will select this option
832 when installing an operating system from an ISO file that you
833 have obtained from the Internet. For example, most Linux
834 distributions are available in this way.</para>
835 </listitem>
836 </itemizedlist></para>
837
838 <note>
839 <para>The identification string of the drive provided to the guest
840 (which, in the guest, would be displayed by configuration tools
841 such as the Windows Device Manager) is always "VBOX CD-ROM",
842 irrespective of the current configuration of the virtual drive.
843 This is to prevent hardware detection from being triggered in the
844 guest operating system every time the configuration is
845 changed.</para>
846 </note>
847 </listitem>
848 </itemizedlist></para>
849
850 <para>Note that the floppy controller is special: you cannot add devices
851 other than floppy drives to it. Virtual floppy drives, like virtual CD/DVD
852 drives, can be connected to either a host floppy drive (if you have one)
853 or a disk image, which in this case must be in RAW format.</para>
854
855 <para>To <emphasis role="bold">remove a virtual disk or drive,</emphasis>
856 select it and click on the "remove" icon at the bottom (or right-click on
857 it and select the menu item).</para>
858
859 <para>Removable media (CD/DVDs and floppies) can be changed while the
860 guest is running. Since the "Settings" dialog is not available at that
861 time, you can also access these settings from the "Devices" menu of your
862 virtual machine window.</para>
863
864 <para>We have dedicated an entire chapter of this User Manual to virtual
865 storage: please see <xref linkend="storage" /> for every single detail
866 about storage configuration.</para>
867 </sect1>
868
869 <sect1 id="settings-audio">
870 <title>Audio settings</title>
871
872 <para>The "Audio" section in a virtual machine's Settings window
873 determines whether the VM will see a sound card connected, and whether the
874 audio output should be heard on the host system.</para>
875
876 <para>If audio is enabled for a guest, you can choose between the
877 emulation of an Intel AC'97 controller, an Intel HD Audio
878 controller<footnote>
879 <para>Intel HD Audio support was added with VirtualBox 4.0 because
880 Windows 7 (32-bit and 64-bit versions) as well as 64-bit Windows Vista
881 do not support the Intel AC'97 controller.</para>
882 </footnote> or a SoundBlaster 16 card. In any case, you can select what
883 audio driver VirtualBox will use on the host.</para>
884
885 <para>On a Linux host, depending on your host configuration, you can also
886 select between the OSS, ALSA or the PulseAudio subsystem. On newer Linux
887 distributions (Fedora 8 and above, Ubuntu 8.04 and above) the PulseAudio
888 subsystem should be preferred.</para>
889 </sect1>
890
891 <sect1 id="settings-network">
892 <title>Network settings</title>
893
894 <para>The "Network" section in a virtual machine's Settings window allows
895 you to configure how VirtualBox presents virtual network cards to your VM,
896 and how they operate.</para>
897
898 <para>When you first create a virtual machine, VirtualBox by default
899 enables one virtual network card and selects the "Network Address
900 Translation" (NAT) mode for it. This way the guest can connect to the
901 outside world using the host's networking and the outside world can
902 connect to services on the guest which you choose to make visible outside
903 of the virtual machine. In most cases, this default setup will work fine
904 for you.</para>
905
906 <para>However, VirtualBox is extremely flexible in how it can virtualize
907 networking. It supports up to eight virtual network cards per virtual
908 machine, the first four of which can be configured in detail in the
909 graphical user interface. All eight network cards can be configured on the
910 command line with VBoxManage. Because of this, we have dedicated an entire
911 chapter of this manual to discussing networking configuration; please see
912 <xref linkend="networkingdetails" />.</para>
913 </sect1>
914
915 <sect1 id="serialports">
916 <title>Serial ports</title>
917
918 <para>VirtualBox fully supports virtual serial ports in a virtual machine
919 in an easy-to-use manner.<footnote>
920 <para>Serial port support was added with VirtualBox 1.5.</para>
921 </footnote></para>
922
923 <para>Ever since the original IBM PC, personal computers have been
924 equipped with one or two serial ports (also called COM ports by DOS and
925 Windows). While these are no longer as important as they were until a few
926 years ago (especially since mice are no longer connected to serial ports
927 these days), there are still some important uses left for them. For
928 example, serial ports can be used to set up a primitive network over a
929 null-modem cable, in case Ethernet is not available. Also, serial ports
930 are indispensable for system programmers needing to do kernel debugging,
931 since kernel debugging software usually interacts with developers over a
932 serial port. In other words, with virtual serial ports, system programmers
933 can do kernel debugging on a virtual machine instead of needing a real
934 computer to connect to.</para>
935
936 <para>If a virtual serial port is enabled, the guest operating system sees
937 it a standard 16450-type serial port. Both receiving and transmitting data
938 is supported. How this virtual serial port is then connected to the host
939 is configurable, and details depend on your host operating system.</para>
940
941 <para>You can use either the graphical user interface or the command-line
942 <computeroutput>VBoxManage</computeroutput> tool to set up virtual serial
943 ports. For the latter, please refer to <xref
944 linkend="vboxmanage-modifyvm" />; in that section, look for the
945 <computeroutput>--uart</computeroutput> and
946 <computeroutput>--uartmode</computeroutput> options.</para>
947
948 <para>In either case, you can configure up to two virtual serial ports
949 simultaneously. For each such device, you will need to
950 determine<orderedlist>
951 <listitem>
952 <para>what kind of serial port the virtual machine should see by
953 selecting an I/O base address and interrupt (IRQ). For these, we
954 recommend to use the traditional values<footnote>
955 <para>See, for example, <ulink
956 url="http://en.wikipedia.org/wiki/COM_(hardware_interface)">http://en.wikipedia.org/wiki/COM_(hardware_interface)</ulink>.</para>
957 </footnote>, which are:</para>
958
959 <para><orderedlist>
960 <listitem>
961 <para>COM1: I/O base 0x3F8, IRQ 4</para>
962 </listitem>
963
964 <listitem>
965 <para>COM2: I/O base 0x2F8, IRQ 3</para>
966 </listitem>
967
968 <listitem>
969 <para>COM3: I/O base 0x3E8, IRQ 4</para>
970 </listitem>
971
972 <listitem>
973 <para>COM4: I/O base 0x2E8, IRQ 3</para>
974 </listitem>
975 </orderedlist></para>
976 </listitem>
977
978 <listitem>
979 <para>Then, you will need to determine what this virtual port should
980 be connected to. For each virtual serial port, you have the
981 following options:</para>
982
983 <para><itemizedlist>
984 <listitem>
985 <para>You can elect to have the virtual serial port
986 "disconnected", which means that the guest will see it as
987 hardware, but it will behave as if no cable had been connected
988 to it.</para>
989 </listitem>
990
991 <listitem>
992 <para>You can connect the virtual serial port to a physical
993 serial port on your host. (On a Windows host, this will be a
994 name like <computeroutput>COM1</computeroutput>; on Linux or
995 Solaris hosts, it will be a device node like
996 <computeroutput>/dev/ttyS0</computeroutput>). VirtualBox will
997 then simply redirect all data received from and sent to the
998 virtual serial port to the physical device.</para>
999 </listitem>
1000
1001 <listitem>
1002 <para>You can tell VirtualBox to connect the virtual serial
1003 port to a software pipe on the host. This depends on your host
1004 operating system:<itemizedlist>
1005 <listitem>
1006 <para>On a Windows host, data will be sent and received
1007 through a named pipe. You can use a helper program
1008 called VMware Serial Line Gateway, available for
1009 download at <literal> <ulink
1010 url="http://www.l4ka.org/tools/vmwaregateway.php">http://www.l4ka.org/tools/vmwaregateway.php</ulink>
1011 </literal>. This tool provides a fixed server mode named
1012 pipe at
1013 <computeroutput>\\.\pipe\vmwaredebug</computeroutput>
1014 and connects incoming TCP connections on port 567 with
1015 the named pipe.</para>
1016 </listitem>
1017
1018 <listitem>
1019 <para>On a Mac, Linux or Solaris host, a local
1020 domain socket is used instead. On Linux there are
1021 various tools which can connect to a local domain socket
1022 or create one in server mode. The most flexible tool is
1023 <computeroutput>socat</computeroutput> and is available
1024 as part of many distributions.</para>
1025 </listitem>
1026 </itemizedlist></para>
1027
1028 <para>In this case, you can configure whether VirtualBox
1029 should create the named pipe (or, on non-Windows hosts, the
1030 local domain socket) itself or whether VirtualBox should
1031 assume that the pipe (or socket) exists already. With the
1032 <computeroutput>VBoxManage</computeroutput> command-line
1033 options, this is referred to as "server" or "client" mode,
1034 respectively.</para>
1035 </listitem>
1036 </itemizedlist></para>
1037 </listitem>
1038 </orderedlist>Up to two serial ports can be configured simultaneously
1039 per virtual machine, but you can pick any port numbers out of the above.
1040 For example, you can configure two serial ports to be able to work with
1041 COM2 and COM4 in the guest.</para>
1042 </sect1>
1043
1044 <sect1>
1045 <title>USB support</title>
1046
1047 <sect2 id="settings-usb">
1048 <title>USB settings</title>
1049
1050 <para>The "USB" section in a virtual machine's Settings window allows
1051 you to configure VirtualBox's sophisticated USB support.</para>
1052
1053 <para>VirtualBox can allow virtual machines to access the USB devices on
1054 your host directly. To achieve this, VirtualBox presents the guest
1055 operating system with a virtual USB controller. As soon as the guest
1056 system starts using a USB device, it will appear as unavailable on the
1057 host.<note>
1058 <orderedlist>
1059 <listitem>
1060 <para>Be careful with USB devices that are currently in use on
1061 the host! For example, if you allow your guest to connect to
1062 your USB hard disk that is currently mounted on the host, when
1063 the guest is activated, it will be disconnected from the host
1064 without a proper shutdown. This may cause data loss.</para>
1065 </listitem>
1066
1067 <listitem>
1068 <para>Solaris hosts have a few known limitations regarding USB
1069 support; please see <xref linkend="KnownIssues" />.</para>
1070 </listitem>
1071 </orderedlist>
1072 </note></para>
1073
1074 <para>In addition to allowing a guest access to your local USB devices,
1075 VirtualBox even allows your guests to connect to remote USB devices by
1076 use of the VRDP protocol. For details about this, see <xref
1077 linkend="usb-over-rdp" />.</para>
1078
1079 <para>In the Settings dialog, you can first configure whether USB is
1080 available in the guest at all, and in addition also optionally enable
1081 the USB 2.0 (EHCI) controller for the guest. If so, you can determine in
1082 detail which devices are available. For this, you must create so-called
1083 "filters" by specifying certain properties of the USB device.</para>
1084
1085 <para>Clicking on the "+" button to the right of the "USB Device
1086 Filters" window creates a <emphasis role="bold">new filter.</emphasis>
1087 You can give the filter a name (for referencing it later) and specify
1088 the filter criteria. The more criteria you specify, the more precisely
1089 devices will be selected. For instance, if you specify only a vendor ID
1090 of 046d, all devices produced by Logitech will be available to the
1091 guest. If you fill in all fields, on the other hand, the filter will
1092 only apply to a particular device model from a particular vendor, and
1093 not even to other devices of the same type with a different revision and
1094 serial number.</para>
1095
1096 <para>In detail, the following criteria are available:</para>
1097
1098 <orderedlist>
1099 <listitem>
1100 <para><emphasis role="bold">Vendor and product ID.</emphasis> With
1101 USB, each vendor of USB products carries an identification number
1102 that is unique world-wide, the "vendor ID". Similarly, each line of
1103 products is assigned a "product ID" number. Both numbers are
1104 commonly written in hexadecimal (that is, they are composed of the
1105 numbers 0-9 and the letters A-F), and a colon separates the vendor
1106 from the product ID. For example,
1107 <computeroutput>046d:c016</computeroutput> stands for Logitech as a
1108 vendor, and the "M-UV69a Optical Wheel Mouse" product.</para>
1109
1110 <para>Alternatively, you can also specify <emphasis
1111 role="bold">"Manufacturer"</emphasis> and <emphasis
1112 role="bold">"Product"</emphasis> by name.</para>
1113
1114 <para>To list all the USB devices that are connected to your host
1115 machine with their respective vendor and product IDs, you can use
1116 the following command (see <xref linkend="vboxmanage" />): <screen>VBoxManage list usbhost</screen></para>
1117
1118 <para>On Windows, you can also see all USB devices that are attached
1119 to your system in the Device Manager. On Linux, you can use the
1120 <computeroutput>lsusb</computeroutput> command.</para>
1121 </listitem>
1122
1123 <listitem>
1124 <para><emphasis role="bold">Serial number.</emphasis> While vendor
1125 and product ID are already quite specific to identify USB devices,
1126 if you have two identical devices of the same brand and product
1127 line, you will also need their serial numbers to filter them out
1128 correctly.</para>
1129 </listitem>
1130
1131 <listitem>
1132 <para><emphasis role="bold">Remote.</emphasis> This setting
1133 specifies whether the device will be local only, or remote only
1134 (over VRDP), or either.</para>
1135 </listitem>
1136 </orderedlist>
1137
1138 <para>On a Windows host, you will need to unplug and reconnect a USB
1139 device to use it after creating a filter for it.</para>
1140
1141 <para>As an example, you could create a new USB filter and specify a
1142 vendor ID of 046d (Logitech, Inc), a manufacturer index of 1, and "not
1143 remote". Then any USB devices on the host system produced by Logitech,
1144 Inc with a manufacturer index of 1 will be visible to the guest
1145 system.</para>
1146
1147 <para>Several filters can select a single device -- for example, a
1148 filter which selects all Logitech devices, and one which selects a
1149 particular webcam.</para>
1150
1151 <para>You can <emphasis role="bold">deactivate</emphasis> filters
1152 without deleting them by clicking in the checkbox next to the filter
1153 name.</para>
1154 </sect2>
1155
1156 <sect2>
1157 <title>Implementation notes for Windows and Linux hosts</title>
1158
1159 <para>On Windows hosts, a kernel mode device driver provides USB proxy
1160 support. It implements both a USB monitor, which allows VirtualBox to
1161 capture devices when they are plugged in, and a USB device driver to
1162 claim USB devices for a particular virtual machine. As opposed to
1163 VirtualBox versions before 1.4.0, system reboots are no longer necessary
1164 after installing the driver. Also, you no longer need to replug devices
1165 for VirtualBox to claim them.</para>
1166
1167 <para>On newer Linux hosts, VirtualBox accesses USB devices through
1168 special files in the file system. When VirtualBox is installed, these
1169 are made available to all users in the
1170 <computeroutput>vboxusers</computeroutput> system group. In order to be
1171 able to access USB from guest systems, make sure that you are a member
1172 of this group.</para>
1173
1174 <para>On older Linux hosts, USB devices are accessed using the
1175 <computeroutput>usbfs</computeroutput> file system. Therefore, the user
1176 executing VirtualBox needs read and write permission to the USB file
1177 system. Most distributions provide a group (e.g.
1178 <computeroutput>usbusers</computeroutput>) which the VirtualBox user
1179 needs to be added to. Also, VirtualBox can only proxy to virtual
1180 machines USB devices which are not claimed by a Linux host USB driver.
1181 The <computeroutput>Driver=</computeroutput> entry in
1182 <computeroutput>/proc/bus/usb/devices</computeroutput> will show you
1183 which devices are currently claimed. Please refer to <xref
1184 linkend="usb_linux" /> also for details about
1185 <computeroutput>usbfs</computeroutput>.</para>
1186 </sect2>
1187 </sect1>
1188
1189 <sect1>
1190 <title>Shared folders</title>
1191
1192 <para>Shared folders allow you to easily exchange data between a virtual
1193 machine and your host. This feature requires that the VirtualBox Guest
1194 Additions be installed in a virtual machine and is described in detail in
1195 <xref linkend="sharedfolders" />.</para>
1196 </sect1>
1197
1198 <sect1 id="efi">
1199 <title>Alternative firmware (EFI)</title>
1200
1201 <para>Starting with release 3.1, VirtualBox includes experimental support
1202 for the Extensible Firmware Interface (EFI), which is a new industry
1203 standard intended to eventually replace the legacy BIOS as the primary
1204 interface for bootstrapping computers and certain system services
1205 later.</para>
1206
1207 <para>By default, VirtualBox uses the BIOS firmware for virtual machines.
1208 To use EFI for a given virtual machine, you can enable EFI in the
1209 machine's "Settings" dialog (see <xref linkend="settings-motherboard" />).
1210 Alternatively, use the <computeroutput>VBoxManage</computeroutput> command
1211 line interface like this: <screen>VBoxManage modifyvm "VM name" --firmware efi</screen>
1212 To switch back to using the BIOS, use: <screen>VBoxManage modifyvm "VM name" --firmware bios</screen>One
1213 notable user of EFI is Apple's Mac OS X, but recent Linuxes (such as
1214 Fedora 11) and Windows (starting with Vista) can be booted using EFI as
1215 well.</para>
1216
1217 <para>Another possible use of EFI in VirtualBox is development and testing
1218 of EFI applications, without booting any OS.</para>
1219
1220 <para>Note that the VirtualBox EFI support is experimental and will be
1221 enhanced as EFI matures and becomes more widespread. While Mac OS X and
1222 Linux guests are known to work fine, Windows guests are currently unable
1223 to boot using EFI.</para>
1224
1225 <sect2 id="efividmode">
1226 <title>Video modes in EFI</title>
1227
1228 <para>EFI provides two distinct video interfaces: GOP (Graphics Output
1229 Protocol) and UGA (Universal Graphics Adapter). Mac OS X uses GOP, while
1230 Linux tends to use UGA. VirtualBox provides a configuration option to
1231 control the framebuffer size for both interfaces.</para>
1232
1233 <para>To control GOP, use the following
1234 <computeroutput>VBoxManage</computeroutput> command: <screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N</screen>
1235 Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600,
1236 1024x768, 1280x1024, 1440x900 screen resolution respectively.</para>
1237
1238 <para>To change the UGA resolution: <screen>VBoxManage setextradata "VM name" VBoxInternal2/UgaHorizontalResolution 1440
1239VBoxManage setextradata "VM name" VBoxInternal2/UgaVerticalResolution 900</screen></para>
1240
1241 <para>The video mode for both GOP and UGA can only be changed when the
1242 VM is powered off and remains persistent until changed.</para>
1243 </sect2>
1244 </sect1>
1245</chapter>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette