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="Introduction">
|
---|
8 |
|
---|
9 | <title>First Steps</title>
|
---|
10 |
|
---|
11 | <para>
|
---|
12 | Welcome to Oracle VM VirtualBox.
|
---|
13 | </para>
|
---|
14 |
|
---|
15 | <para>
|
---|
16 | VirtualBox is a cross-platform virtualization application. What does
|
---|
17 | that mean? For one thing, it installs on your existing Intel or
|
---|
18 | AMD-based computers, whether they are running Windows, Mac, Linux or
|
---|
19 | Solaris operating systems. Secondly, it extends the capabilities of
|
---|
20 | your existing computer so that it can run multiple operating
|
---|
21 | systems, inside multiple virtual machines, at the same time. So, for
|
---|
22 | example, you can run Windows and Linux on your Mac, run Windows
|
---|
23 | Server 2008 on your Linux server, run Linux on your Windows PC, and
|
---|
24 | so on, all alongside your existing applications. You can install and
|
---|
25 | run as many virtual machines as you like. The only practical limits
|
---|
26 | are disk space and memory.
|
---|
27 | </para>
|
---|
28 |
|
---|
29 | <para>
|
---|
30 | VirtualBox is deceptively simple yet also very powerful. It can run
|
---|
31 | everywhere from small embedded systems or desktop class machines all
|
---|
32 | the way up to datacenter deployments and even Cloud environments.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | <para>
|
---|
36 | The following screenshot shows how VirtualBox, installed on a Mac
|
---|
37 | computer, is running Windows 8 in a virtual machine window:
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | <mediaobject>
|
---|
41 | <imageobject>
|
---|
42 | <imagedata align="center" fileref="images/vm-vista-running.png"
|
---|
43 | width="14cm" />
|
---|
44 | </imageobject>
|
---|
45 | </mediaobject>
|
---|
46 |
|
---|
47 | <para>
|
---|
48 | In this User Manual, we will begin simply with a quick introduction
|
---|
49 | to virtualization and how to get your first virtual machine running
|
---|
50 | with the easy-to-use VirtualBox graphical user interface. Subsequent
|
---|
51 | chapters will go into much more detail covering more powerful tools
|
---|
52 | and features, but fortunately, it is not necessary to read the
|
---|
53 | entire User Manual before you can use VirtualBox.
|
---|
54 | </para>
|
---|
55 |
|
---|
56 | <para>
|
---|
57 | You can find a summary of VirtualBox's capabilities in
|
---|
58 | <xref
|
---|
59 | linkend="features-overview" />. For existing VirtualBox
|
---|
60 | users who just want to see what is new in this release, there is a
|
---|
61 | detailed list in <xref
|
---|
62 | linkend="ChangeLog" />.
|
---|
63 | </para>
|
---|
64 |
|
---|
65 | <sect1 id="virt-why-useful">
|
---|
66 |
|
---|
67 | <title>Why is Virtualization Useful?</title>
|
---|
68 |
|
---|
69 | <para>
|
---|
70 | The techniques and features that VirtualBox provides are useful in
|
---|
71 | the following scenarios:
|
---|
72 | </para>
|
---|
73 |
|
---|
74 | <itemizedlist>
|
---|
75 |
|
---|
76 | <listitem>
|
---|
77 | <para>
|
---|
78 | <emphasis role="bold">Running multiple operating systems
|
---|
79 | simultaneously.</emphasis> VirtualBox allows you to run more
|
---|
80 | than one operating system at a time. This way, you can run
|
---|
81 | software written for one operating system on another, such as
|
---|
82 | Windows software on Linux or a Mac, without having to reboot
|
---|
83 | to use it. Since you can configure what kinds of "virtual"
|
---|
84 | hardware should be presented to each such operating system,
|
---|
85 | you can install an old operating system such as DOS or OS/2
|
---|
86 | even if your real computer's hardware is no longer supported
|
---|
87 | by that operating system.
|
---|
88 | </para>
|
---|
89 | </listitem>
|
---|
90 |
|
---|
91 | <listitem>
|
---|
92 | <para>
|
---|
93 | <emphasis role="bold">Easier software
|
---|
94 | installations.</emphasis> Software vendors can use virtual
|
---|
95 | machines to ship entire software configurations. For example,
|
---|
96 | installing a complete mail server solution on a real machine
|
---|
97 | can be a tedious task. With VirtualBox, such a complex setup,
|
---|
98 | often called an "appliance", can be packed into a virtual
|
---|
99 | machine. Installing and running a mail server becomes as easy
|
---|
100 | as importing such an appliance into VirtualBox.
|
---|
101 | </para>
|
---|
102 | </listitem>
|
---|
103 |
|
---|
104 | <listitem>
|
---|
105 | <para>
|
---|
106 | <emphasis role="bold">Testing and disaster
|
---|
107 | recovery.</emphasis> Once installed, a virtual machine and its
|
---|
108 | virtual hard disks can be considered a "container" that can be
|
---|
109 | arbitrarily frozen, woken up, copied, backed up, and
|
---|
110 | transported between hosts.
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | On top of that, with the use of another VirtualBox feature
|
---|
115 | called "snapshots", one can save a particular state of a
|
---|
116 | virtual machine and revert back to that state, if necessary.
|
---|
117 | This way, one can freely experiment with a computing
|
---|
118 | environment. If something goes wrong , such as prolems after
|
---|
119 | installing software or infecting the guest with a virus, you
|
---|
120 | can easily switch back to a previous snapshot and avoid the
|
---|
121 | need of frequent backups and restores.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | Any number of snapshots can be created, allowing you to travel
|
---|
126 | back and forward in virtual machine time. You can delete
|
---|
127 | snapshots while a VM is running to reclaim disk space.
|
---|
128 | </para>
|
---|
129 | </listitem>
|
---|
130 |
|
---|
131 | <listitem>
|
---|
132 | <para>
|
---|
133 | <emphasis role="bold">Infrastructure consolidation.</emphasis>
|
---|
134 | Virtualization can significantly reduce hardware and
|
---|
135 | electricity costs. Most of the time, computers today only use
|
---|
136 | a fraction of their potential power and run with low average
|
---|
137 | system loads. A lot of hardware resources as well as
|
---|
138 | electricity is thereby wasted. So, instead of running many
|
---|
139 | such physical computers that are only partially used, one can
|
---|
140 | pack many virtual machines onto a few powerful hosts and
|
---|
141 | balance the loads between them.
|
---|
142 | </para>
|
---|
143 | </listitem>
|
---|
144 |
|
---|
145 | </itemizedlist>
|
---|
146 |
|
---|
147 | </sect1>
|
---|
148 |
|
---|
149 | <sect1 id="virtintro">
|
---|
150 |
|
---|
151 | <title>Some Terminology</title>
|
---|
152 |
|
---|
153 | <para>
|
---|
154 | When dealing with virtualization, and also for understanding the
|
---|
155 | following chapters of this documentation, it helps to acquaint
|
---|
156 | oneself with a bit of crucial terminology, especially the
|
---|
157 | following terms:
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <itemizedlist>
|
---|
161 |
|
---|
162 | <listitem>
|
---|
163 | <para>
|
---|
164 | <emphasis role="strong">Host operating system (host
|
---|
165 | OS).</emphasis> This is the operating system of the physical
|
---|
166 | computer on which VirtualBox was installed. There are versions
|
---|
167 | of VirtualBox for Windows, Mac OS X, Linux and Solaris hosts.
|
---|
168 | See <xref linkend="hostossupport" />.
|
---|
169 | </para>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | Most of the time, this manual discusses all VirtualBox
|
---|
173 | versions together. There may be platform-specific differences
|
---|
174 | which we will point out where appropriate.
|
---|
175 | </para>
|
---|
176 | </listitem>
|
---|
177 |
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | <emphasis role="strong"> Guest operating system (guest
|
---|
181 | OS).</emphasis> This is the operating system that is running
|
---|
182 | inside the virtual machine. Theoretically, VirtualBox can run
|
---|
183 | any x86 operating system. such as DOS, Windows, OS/2, FreeBSD,
|
---|
184 | and OpenBSD. But to achieve near-native performance of the
|
---|
185 | guest code on your machine, we had to go through a lot of
|
---|
186 | optimizations that are specific to certain operating systems.
|
---|
187 | So while your favorite operating system
|
---|
188 | <emphasis>may</emphasis> run as a guest, we officially support
|
---|
189 | and optimize for a select few, which include the most common
|
---|
190 | operating systems.
|
---|
191 | </para>
|
---|
192 |
|
---|
193 | <para>
|
---|
194 | See <xref linkend="guestossupport" />.
|
---|
195 | </para>
|
---|
196 | </listitem>
|
---|
197 |
|
---|
198 | <listitem>
|
---|
199 | <para>
|
---|
200 | <emphasis role="strong">Virtual machine (VM).</emphasis> This
|
---|
201 | is the special environment that VirtualBox creates for your
|
---|
202 | guest operating system while it is running. In other words,
|
---|
203 | you run your guest operating system "in" a VM. Normally, a VM
|
---|
204 | will be shown as a window on your computer's desktop, but
|
---|
205 | depending on which of the various frontends of VirtualBox you
|
---|
206 | use, it can be displayed in full screen mode or remotely on
|
---|
207 | another computer.
|
---|
208 | </para>
|
---|
209 |
|
---|
210 | <para>
|
---|
211 | In a more abstract way, internally, VirtualBox thinks of a VM
|
---|
212 | as a set of parameters that determine its behavior. They
|
---|
213 | include hardware settings, such as: how much memory the VM
|
---|
214 | should have, what hard disks VirtualBox should virtualize
|
---|
215 | through which container files, what CDs are mounted. They also
|
---|
216 | include state information, such as: whether the VM is
|
---|
217 | currently running, saved, if the VM has snapshots. These
|
---|
218 | settings are mirrored in the VirtualBox Manager window as well
|
---|
219 | as the <computeroutput>VBoxManage</computeroutput> command
|
---|
220 | line program. See <xref linkend="vboxmanage" />. In other
|
---|
221 | words, a VM is also what you can see in its settings dialog.
|
---|
222 | </para>
|
---|
223 | </listitem>
|
---|
224 |
|
---|
225 | <listitem>
|
---|
226 | <para>
|
---|
227 | <emphasis role="strong">Guest Additions.</emphasis> This
|
---|
228 | refers to special software packages which are shipped with
|
---|
229 | VirtualBox but designed to be installed
|
---|
230 | <emphasis>inside</emphasis> a VM to improve performance of the
|
---|
231 | guest OS and to add extra features. See
|
---|
232 | <xref
|
---|
233 | linkend="guestadditions" />.
|
---|
234 | </para>
|
---|
235 | </listitem>
|
---|
236 |
|
---|
237 | </itemizedlist>
|
---|
238 |
|
---|
239 | </sect1>
|
---|
240 |
|
---|
241 | <sect1 id="features-overview">
|
---|
242 |
|
---|
243 | <title>Features Overview</title>
|
---|
244 |
|
---|
245 | <para>
|
---|
246 | The following is a brief outline of VirtualBox's main features:
|
---|
247 | </para>
|
---|
248 |
|
---|
249 | <itemizedlist>
|
---|
250 |
|
---|
251 | <listitem>
|
---|
252 | <para>
|
---|
253 | <emphasis role="bold">Portability.</emphasis> VirtualBox runs
|
---|
254 | on a large number of 32-bit and 64-bit host operating systems
|
---|
255 | See <xref linkend="hostossupport" />.
|
---|
256 | </para>
|
---|
257 |
|
---|
258 | <para>
|
---|
259 | VirtualBox is a so-called <emphasis>hosted</emphasis>
|
---|
260 | hypervisor, sometimes referred to as a <emphasis>type
|
---|
261 | 2</emphasis> hypervisor. Whereas a
|
---|
262 | <emphasis>bare-metal</emphasis> or <emphasis>type 1</emphasis>
|
---|
263 | hypervisor would run directly on the hardware, VirtualBox
|
---|
264 | requires an existing operating system to be installed. It can
|
---|
265 | thus run alongside existing applications on that host.
|
---|
266 | </para>
|
---|
267 |
|
---|
268 | <para>
|
---|
269 | To a very large degree, VirtualBox is functionally identical
|
---|
270 | on all of the host platforms, and the same file and image
|
---|
271 | formats are used. This allows you to run virtual machines
|
---|
272 | created on one host on another host with a different host
|
---|
273 | operating system. For example, you can create a virtual
|
---|
274 | machine on Windows and then run it under Linux.
|
---|
275 | </para>
|
---|
276 |
|
---|
277 | <para>
|
---|
278 | In addition, virtual machines can easily be imported and
|
---|
279 | exported using the Open Virtualization Format (OVF), an
|
---|
280 | industry standard created for this purpose. You can even
|
---|
281 | import OVFs that were created with a different virtualization
|
---|
282 | software. See <xref
|
---|
283 | linkend="ovf" />.
|
---|
284 | </para>
|
---|
285 | </listitem>
|
---|
286 |
|
---|
287 | <listitem>
|
---|
288 | <para>
|
---|
289 | <emphasis role="bold">No hardware virtualization
|
---|
290 | required.</emphasis> For many scenarios, VirtualBox does not
|
---|
291 | require the processor features built into newer hardware like
|
---|
292 | Intel VT-x or AMD-V. As opposed to many other virtualization
|
---|
293 | solutions, you can therefore use VirtualBox even on older
|
---|
294 | hardware where these features are not present. See
|
---|
295 | <xref
|
---|
296 | linkend="hwvirt" />.
|
---|
297 | </para>
|
---|
298 | </listitem>
|
---|
299 |
|
---|
300 | <listitem>
|
---|
301 | <para>
|
---|
302 | <emphasis role="bold">Guest Additions: shared folders,
|
---|
303 | seamless windows, 3D virtualization.</emphasis> The VirtualBox
|
---|
304 | Guest Additions are software packages which can be installed
|
---|
305 | <emphasis>inside</emphasis> of supported guest systems to
|
---|
306 | improve their performance and to provide additional
|
---|
307 | integration and communication with the host system. After
|
---|
308 | installing the Guest Additions, a virtual machine will support
|
---|
309 | automatic adjustment of video resolutions, seamless windows,
|
---|
310 | accelerated 3D graphics and more. See
|
---|
311 | <xref
|
---|
312 | linkend="guestadditions" />.
|
---|
313 | </para>
|
---|
314 |
|
---|
315 | <para>
|
---|
316 | In particular, Guest Additions provide for "shared folders",
|
---|
317 | which let you access files from the host system from within a
|
---|
318 | guest machine. See <xref
|
---|
319 | linkend="sharedfolders" />.
|
---|
320 | </para>
|
---|
321 | </listitem>
|
---|
322 |
|
---|
323 | <listitem>
|
---|
324 | <para>
|
---|
325 | <emphasis role="bold">Great hardware support.</emphasis> Among
|
---|
326 | others, VirtualBox supports the following:
|
---|
327 | </para>
|
---|
328 |
|
---|
329 | <itemizedlist>
|
---|
330 |
|
---|
331 | <listitem>
|
---|
332 | <para>
|
---|
333 | <emphasis role="bold">Guest multiprocessing
|
---|
334 | (SMP).</emphasis> VirtualBox can present up to 32 virtual
|
---|
335 | CPUs to each virtual machine, irrespective of how many CPU
|
---|
336 | cores are physically present on your host.
|
---|
337 | </para>
|
---|
338 | </listitem>
|
---|
339 |
|
---|
340 | <listitem>
|
---|
341 | <para>
|
---|
342 | <emphasis role="bold">USB device support.</emphasis>
|
---|
343 | VirtualBox implements a virtual USB controller and allows
|
---|
344 | you to connect arbitrary USB devices to your virtual
|
---|
345 | machines without having to install device-specific drivers
|
---|
346 | on the host. USB support is not limited to certain device
|
---|
347 | categories. See <xref linkend="settings-usb" />.
|
---|
348 | </para>
|
---|
349 | </listitem>
|
---|
350 |
|
---|
351 | <listitem>
|
---|
352 | <para>
|
---|
353 | <emphasis role="bold">Hardware compatibility.</emphasis>
|
---|
354 | VirtualBox virtualizes a vast array of virtual devices,
|
---|
355 | among them many devices that are typically provided by
|
---|
356 | other virtualization platforms. That includes IDE, SCSI
|
---|
357 | and SATA hard disk controllers, several virtual network
|
---|
358 | cards and sound cards, virtual serial and parallel ports
|
---|
359 | and an Input/Output Advanced Programmable Interrupt
|
---|
360 | Controller (I/O APIC), which is found in many modern PC
|
---|
361 | systems. This eases cloning of PC images from real
|
---|
362 | machines and importing of third-party virtual machines
|
---|
363 | into VirtualBox.
|
---|
364 | </para>
|
---|
365 | </listitem>
|
---|
366 |
|
---|
367 | <listitem>
|
---|
368 | <para>
|
---|
369 | <emphasis role="bold">Full ACPI support.</emphasis> The
|
---|
370 | Advanced Configuration and Power Interface (ACPI) is fully
|
---|
371 | supported by VirtualBox. This eases cloning of PC images
|
---|
372 | from real machines or third-party virtual machines into
|
---|
373 | VirtualBox. With its unique <emphasis>ACPI power status
|
---|
374 | support</emphasis>, VirtualBox can even report to
|
---|
375 | ACPI-aware guest operating systems the power status of the
|
---|
376 | host. For mobile systems running on battery, the guest can
|
---|
377 | thus enable energy saving and notify the user of the
|
---|
378 | remaining power, for example in full screen modes.
|
---|
379 | </para>
|
---|
380 | </listitem>
|
---|
381 |
|
---|
382 | <listitem>
|
---|
383 | <para>
|
---|
384 | <emphasis role="bold">Multiscreen resolutions.</emphasis>
|
---|
385 | VirtualBox virtual machines support screen resolutions
|
---|
386 | many times that of a physical screen, allowing them to be
|
---|
387 | spread over a large number of screens attached to the host
|
---|
388 | system.
|
---|
389 | </para>
|
---|
390 | </listitem>
|
---|
391 |
|
---|
392 | <listitem>
|
---|
393 | <para>
|
---|
394 | <emphasis role="bold">Built-in iSCSI support.</emphasis>
|
---|
395 | This unique feature allows you to connect a virtual
|
---|
396 | machine directly to an iSCSI storage server without going
|
---|
397 | through the host system. The VM accesses the iSCSI target
|
---|
398 | directly without the extra overhead that is required for
|
---|
399 | virtualizing hard disks in container files. See
|
---|
400 | <xref
|
---|
401 | linkend="storage-iscsi" />.
|
---|
402 | </para>
|
---|
403 | </listitem>
|
---|
404 |
|
---|
405 | <listitem>
|
---|
406 | <para>
|
---|
407 | <emphasis role="bold">PXE Network boot.</emphasis> The
|
---|
408 | integrated virtual network cards of VirtualBox fully
|
---|
409 | support remote booting via the Preboot Execution
|
---|
410 | Environment (PXE).
|
---|
411 | </para>
|
---|
412 | </listitem>
|
---|
413 |
|
---|
414 | </itemizedlist>
|
---|
415 | </listitem>
|
---|
416 |
|
---|
417 | <listitem>
|
---|
418 | <para>
|
---|
419 | <emphasis role="bold">Multigeneration branched
|
---|
420 | snapshots.</emphasis> VirtualBox can save arbitrary snapshots
|
---|
421 | of the state of the virtual machine. You can go back in time
|
---|
422 | and revert the virtual machine to any such snapshot and start
|
---|
423 | an alternative VM configuration from there, effectively
|
---|
424 | creating a whole snapshot tree. See
|
---|
425 | <xref linkend="snapshots" />. You can create and delete
|
---|
426 | snapshots while the virtual machine is running.
|
---|
427 | </para>
|
---|
428 | </listitem>
|
---|
429 |
|
---|
430 | <listitem>
|
---|
431 | <para>
|
---|
432 | <emphasis role="bold">VM groups.</emphasis> VirtualBox
|
---|
433 | provides a groups feature that enables the user to organize
|
---|
434 | and control virtual machines collectively, as well as
|
---|
435 | individually. In addition to basic groups, it is also possible
|
---|
436 | for any VM to be in more than one group, and for groups to be
|
---|
437 | nested in a hierarchy. This means you can have groups of
|
---|
438 | groups. In general, the operations that can be performed on
|
---|
439 | groups are the same as those that can be applied to individual
|
---|
440 | VMs: Start, Pause, Reset, Close (Save state, Send Shutdown,
|
---|
441 | Poweroff), Discard Saved State, Show in fileSystem, Sort.
|
---|
442 | </para>
|
---|
443 | </listitem>
|
---|
444 |
|
---|
445 | <listitem>
|
---|
446 | <para>
|
---|
447 | <emphasis role="bold">Clean architecture; unprecedented
|
---|
448 | modularity.</emphasis> VirtualBox has an extremely modular
|
---|
449 | design with well-defined internal programming interfaces and a
|
---|
450 | clean separation of client and server code. This makes it easy
|
---|
451 | to control it from several interfaces at once. For example,
|
---|
452 | you can start a VM simply by clicking on a button in the
|
---|
453 | VirtualBox graphical user interface and then control that
|
---|
454 | machine from the command line, or even remotely. See
|
---|
455 | <xref linkend="frontends" />.
|
---|
456 | </para>
|
---|
457 |
|
---|
458 | <para>
|
---|
459 | Due to its modular architecture, VirtualBox can also expose
|
---|
460 | its full functionality and configurability through a
|
---|
461 | comprehensive <emphasis role="bold">software development kit
|
---|
462 | (SDK),</emphasis> which allows for integrating every aspect of
|
---|
463 | VirtualBox with other software systems. See
|
---|
464 | <xref linkend="VirtualBoxAPI" />.
|
---|
465 | </para>
|
---|
466 | </listitem>
|
---|
467 |
|
---|
468 | <listitem>
|
---|
469 | <para>
|
---|
470 | <emphasis role="bold">Remote machine display.</emphasis> The
|
---|
471 | VirtualBox Remote Desktop Extension (VRDE) allows for
|
---|
472 | high-performance remote access to any running virtual machine.
|
---|
473 | This extension supports the Remote Desktop Protocol (RDP)
|
---|
474 | originally built into Microsoft Windows, with special
|
---|
475 | additions for full client USB support.
|
---|
476 | </para>
|
---|
477 |
|
---|
478 | <para>
|
---|
479 | The VRDE does not rely on the RDP server that is built into
|
---|
480 | Microsoft Windows; instead, it is plugged directly into the
|
---|
481 | virtualization layer. As a result, it works with guest
|
---|
482 | operating systems other than Windows, even in text mode, and
|
---|
483 | does not require application support in the virtual machine
|
---|
484 | either. The VRDE is described in detail in
|
---|
485 | <xref linkend="vrde" />.
|
---|
486 | </para>
|
---|
487 |
|
---|
488 | <para>
|
---|
489 | On top of this special capacity, VirtualBox offers you more
|
---|
490 | unique features:
|
---|
491 | </para>
|
---|
492 |
|
---|
493 | <itemizedlist>
|
---|
494 |
|
---|
495 | <listitem>
|
---|
496 | <para>
|
---|
497 | <emphasis role="bold">Extensible RDP
|
---|
498 | authentication.</emphasis> VirtualBox already supports
|
---|
499 | Winlogon on Windows and PAM on Linux for RDP
|
---|
500 | authentication. In addition, it includes an easy-to-use
|
---|
501 | SDK which allows you to create arbitrary interfaces for
|
---|
502 | other methods of authentication. See
|
---|
503 | <xref linkend="vbox-auth" />.
|
---|
504 | </para>
|
---|
505 | </listitem>
|
---|
506 |
|
---|
507 | <listitem>
|
---|
508 | <para>
|
---|
509 | <emphasis role="bold">USB over RDP.</emphasis> Via RDP
|
---|
510 | virtual channel support, VirtualBox also allows you to
|
---|
511 | connect arbitrary USB devices locally to a virtual machine
|
---|
512 | which is running remotely on a VirtualBox RDP server. See
|
---|
513 | <xref
|
---|
514 | linkend="usb-over-rdp" />.
|
---|
515 | </para>
|
---|
516 | </listitem>
|
---|
517 |
|
---|
518 | </itemizedlist>
|
---|
519 | </listitem>
|
---|
520 |
|
---|
521 | </itemizedlist>
|
---|
522 |
|
---|
523 | </sect1>
|
---|
524 |
|
---|
525 | <sect1 id="hostossupport">
|
---|
526 |
|
---|
527 | <title>Supported Host Operating Systems</title>
|
---|
528 |
|
---|
529 | <para>
|
---|
530 | Currently, VirtualBox runs on the following host operating
|
---|
531 | systems:
|
---|
532 | </para>
|
---|
533 |
|
---|
534 | <itemizedlist>
|
---|
535 |
|
---|
536 | <listitem>
|
---|
537 | <para>
|
---|
538 | <emphasis role="bold">Windows hosts:</emphasis>
|
---|
539 |
|
---|
540 | <footnote>
|
---|
541 |
|
---|
542 | <para>
|
---|
543 | Support for 64-bit Windows was added with VirtualBox 1.5.
|
---|
544 | Support for Windows XP was removed with VirtualBox 5.0.
|
---|
545 | Support for Windows Vista was removed with VirtualBox 5.2.
|
---|
546 | </para>
|
---|
547 |
|
---|
548 | </footnote>
|
---|
549 | </para>
|
---|
550 |
|
---|
551 | <itemizedlist>
|
---|
552 |
|
---|
553 | <listitem>
|
---|
554 | <para>
|
---|
555 | Windows Server 2008 (64-bit)
|
---|
556 | </para>
|
---|
557 | </listitem>
|
---|
558 |
|
---|
559 | <listitem>
|
---|
560 | <para>
|
---|
561 | Windows Server 2008 R2 (64-bit)
|
---|
562 | </para>
|
---|
563 | </listitem>
|
---|
564 |
|
---|
565 | <listitem>
|
---|
566 | <para>
|
---|
567 | Windows 7 (32-bit and 64-bit)
|
---|
568 | </para>
|
---|
569 | </listitem>
|
---|
570 |
|
---|
571 | <listitem>
|
---|
572 | <para>
|
---|
573 | Windows 8 (32-bit and 64-bit)
|
---|
574 | </para>
|
---|
575 | </listitem>
|
---|
576 |
|
---|
577 | <listitem>
|
---|
578 | <para>
|
---|
579 | Windows 8.1 (32-bit and 64-bit)
|
---|
580 | </para>
|
---|
581 | </listitem>
|
---|
582 |
|
---|
583 | <listitem>
|
---|
584 | <para>
|
---|
585 | Windows 10 RTM build 10240 (32-bit and 64-bit)
|
---|
586 | </para>
|
---|
587 | </listitem>
|
---|
588 |
|
---|
589 | <listitem>
|
---|
590 | <para>
|
---|
591 | Windows Server 2012 (64-bit)
|
---|
592 | </para>
|
---|
593 | </listitem>
|
---|
594 |
|
---|
595 | <listitem>
|
---|
596 | <para>
|
---|
597 | Windows Server 2012 R2 (64-bit)
|
---|
598 | </para>
|
---|
599 | </listitem>
|
---|
600 |
|
---|
601 | <listitem>
|
---|
602 | <para>
|
---|
603 | Windows Server 2016 (64-bit)
|
---|
604 | </para>
|
---|
605 | </listitem>
|
---|
606 |
|
---|
607 | </itemizedlist>
|
---|
608 | </listitem>
|
---|
609 |
|
---|
610 | <listitem>
|
---|
611 | <para>
|
---|
612 | <emphasis role="bold">Mac OS X hosts (64-bit):</emphasis>
|
---|
613 |
|
---|
614 | <footnote>
|
---|
615 |
|
---|
616 | <para>
|
---|
617 | Preliminary Mac OS X support (beta stage) was added with
|
---|
618 | VirtualBox 1.4, full support with 1.6. Mac OS X 10.4
|
---|
619 | (Tiger) support was removed with VirtualBox 3.1. Support
|
---|
620 | for Mac OS X 10.7 (Lion) and earlier was removed with
|
---|
621 | VirtualBox 5.0. Support for Mac OS X 10.8 (Mountain Lion)
|
---|
622 | was removed with VirtualBox 5.1. Support for Mac OS X 10.9
|
---|
623 | (Mavericks) was removed with VirtualBox 5.2.
|
---|
624 | </para>
|
---|
625 |
|
---|
626 | </footnote>
|
---|
627 | </para>
|
---|
628 |
|
---|
629 | <itemizedlist>
|
---|
630 |
|
---|
631 | <listitem>
|
---|
632 | <para>
|
---|
633 | 10.10 (Yosemite)
|
---|
634 | </para>
|
---|
635 | </listitem>
|
---|
636 |
|
---|
637 | <listitem>
|
---|
638 | <para>
|
---|
639 | 10.11 (El Capitan)
|
---|
640 | </para>
|
---|
641 | </listitem>
|
---|
642 |
|
---|
643 | <listitem>
|
---|
644 | <para>
|
---|
645 | 10.12 (Sierra)
|
---|
646 | </para>
|
---|
647 | </listitem>
|
---|
648 |
|
---|
649 | <listitem>
|
---|
650 | <para>
|
---|
651 | 10.13 (High Sierra)
|
---|
652 | </para>
|
---|
653 | </listitem>
|
---|
654 |
|
---|
655 | </itemizedlist>
|
---|
656 |
|
---|
657 | <para>
|
---|
658 | Intel hardware is required. See also
|
---|
659 | <xref
|
---|
660 | linkend="KnownIssues" />.
|
---|
661 | </para>
|
---|
662 | </listitem>
|
---|
663 |
|
---|
664 | <listitem>
|
---|
665 | <para>
|
---|
666 | <emphasis role="bold">Linux hosts (32-bit and 64-bit).
|
---|
667 | Includes the following:</emphasis>
|
---|
668 |
|
---|
669 | <footnote>
|
---|
670 |
|
---|
671 | <para>
|
---|
672 | Support for 64-bit Linux was added with VirtualBox 1.4.
|
---|
673 | </para>
|
---|
674 |
|
---|
675 | </footnote>
|
---|
676 | </para>
|
---|
677 |
|
---|
678 | <itemizedlist>
|
---|
679 |
|
---|
680 | <listitem>
|
---|
681 | <para>
|
---|
682 | Ubuntu 14.04 LTS, 16.04 LTS, and 17.04
|
---|
683 | </para>
|
---|
684 | </listitem>
|
---|
685 |
|
---|
686 | <listitem>
|
---|
687 | <para>
|
---|
688 | Debian GNU/Linux 7 ("Wheezy"), 8 ("Jessie"), and 9
|
---|
689 | ("Stretch")
|
---|
690 | </para>
|
---|
691 | </listitem>
|
---|
692 |
|
---|
693 | <listitem>
|
---|
694 | <para>
|
---|
695 | Oracle Enterprise Linux 5, Oracle Linux 6, and 7
|
---|
696 | </para>
|
---|
697 | </listitem>
|
---|
698 |
|
---|
699 | <listitem>
|
---|
700 | <para>
|
---|
701 | Redhat Enterprise Linux 5, 6, and 7
|
---|
702 | </para>
|
---|
703 | </listitem>
|
---|
704 |
|
---|
705 | <listitem>
|
---|
706 | <para>
|
---|
707 | Fedora 25 and 26
|
---|
708 | </para>
|
---|
709 | </listitem>
|
---|
710 |
|
---|
711 | <listitem>
|
---|
712 | <para>
|
---|
713 | Gentoo Linux
|
---|
714 | </para>
|
---|
715 | </listitem>
|
---|
716 |
|
---|
717 | <listitem>
|
---|
718 | <para>
|
---|
719 | openSUSE 13.2
|
---|
720 | </para>
|
---|
721 | </listitem>
|
---|
722 |
|
---|
723 | </itemizedlist>
|
---|
724 |
|
---|
725 | <para>
|
---|
726 | It should be possible to use VirtualBox on most systems based
|
---|
727 | on Linux kernel 2.6 or 3.x using either the VirtualBox
|
---|
728 | installer or by doing a manual installation. See
|
---|
729 | <xref linkend="install-linux-host" />. However, the formally
|
---|
730 | tested and supported Linux distributions are those for which
|
---|
731 | we offer a dedicated package.
|
---|
732 | </para>
|
---|
733 |
|
---|
734 | <para>
|
---|
735 | Note that starting with VirtualBox 2.1, Linux 2.4-based host
|
---|
736 | operating systems are no longer supported.
|
---|
737 | </para>
|
---|
738 | </listitem>
|
---|
739 |
|
---|
740 | <listitem>
|
---|
741 | <para>
|
---|
742 | <emphasis role="bold">Solaris hosts (64-bit only).</emphasis>
|
---|
743 | The following versions are supported with the restrictions
|
---|
744 | listed in <xref
|
---|
745 | linkend="KnownIssues" />:
|
---|
746 | </para>
|
---|
747 |
|
---|
748 | <itemizedlist>
|
---|
749 |
|
---|
750 | <listitem>
|
---|
751 | <para>
|
---|
752 | Solaris 11
|
---|
753 | </para>
|
---|
754 | </listitem>
|
---|
755 |
|
---|
756 | <listitem>
|
---|
757 | <para>
|
---|
758 | Solaris 10 (U10 and higher)
|
---|
759 | </para>
|
---|
760 | </listitem>
|
---|
761 |
|
---|
762 | </itemizedlist>
|
---|
763 | </listitem>
|
---|
764 |
|
---|
765 | </itemizedlist>
|
---|
766 |
|
---|
767 | <para>
|
---|
768 | Note that the above list is informal. Oracle support for customers
|
---|
769 | who have a support contract is limited to a subset of the listed
|
---|
770 | host operating systems. Also, any feature which is marked as
|
---|
771 | <emphasis>experimental</emphasis> is not supported. Feedback and
|
---|
772 | suggestions about such features are welcome.
|
---|
773 | </para>
|
---|
774 |
|
---|
775 | </sect1>
|
---|
776 |
|
---|
777 | <sect1 id="hostcpurequirements">
|
---|
778 |
|
---|
779 | <title>Host CPU Requirements</title>
|
---|
780 |
|
---|
781 | <para>
|
---|
782 | SSE2 is required starting with VirtualBox version 5.2.10 and
|
---|
783 | version 5.1.24.
|
---|
784 | </para>
|
---|
785 |
|
---|
786 | </sect1>
|
---|
787 |
|
---|
788 | <sect1 id="intro-installing">
|
---|
789 |
|
---|
790 | <title>Installing VirtualBox and Extension Packs</title>
|
---|
791 |
|
---|
792 | <para>
|
---|
793 | VirtualBox comes in many different packages, and installation
|
---|
794 | depends on your host operating system. If you have installed
|
---|
795 | software before, installation should be straightforward. On each
|
---|
796 | host platform, VirtualBox uses the installation method that is
|
---|
797 | most common and easy to use. If you run into trouble or have
|
---|
798 | special requirements, see <xref linkend="installation" /> for
|
---|
799 | details about the various installation methods.
|
---|
800 | </para>
|
---|
801 |
|
---|
802 | <para>
|
---|
803 | Starting with version 4.0, VirtualBox is split into several
|
---|
804 | components:
|
---|
805 | </para>
|
---|
806 |
|
---|
807 | <orderedlist>
|
---|
808 |
|
---|
809 | <listitem>
|
---|
810 | <para>
|
---|
811 | The base package consists of all open source components and is
|
---|
812 | licensed under the GNU General Public License V2.
|
---|
813 | </para>
|
---|
814 | </listitem>
|
---|
815 |
|
---|
816 | <listitem>
|
---|
817 | <para>
|
---|
818 | Additional extension packs can be downloaded which extend the
|
---|
819 | functionality of the VirtualBox base package. Currently,
|
---|
820 | Oracle provides a single extension pack, available from:
|
---|
821 | <ulink
|
---|
822 | url="http://www.virtualbox.org">http://www.virtualbox.org</ulink>.
|
---|
823 | The extension pack provides the following added functionality:
|
---|
824 | </para>
|
---|
825 |
|
---|
826 | <orderedlist>
|
---|
827 |
|
---|
828 | <listitem>
|
---|
829 | <para>
|
---|
830 | The virtual USB 2.0 (EHCI) device. See
|
---|
831 | <xref
|
---|
832 | linkend="settings-usb" />.
|
---|
833 | </para>
|
---|
834 | </listitem>
|
---|
835 |
|
---|
836 | <listitem>
|
---|
837 | <para>
|
---|
838 | The virtual USB 3.0 (xHCI) device. See
|
---|
839 | <xref
|
---|
840 | linkend="settings-usb" />.
|
---|
841 | </para>
|
---|
842 | </listitem>
|
---|
843 |
|
---|
844 | <listitem>
|
---|
845 | <para>
|
---|
846 | VirtualBox Remote Desktop Protocol (VRDP) support. See
|
---|
847 | <xref linkend="vrde" />.
|
---|
848 | </para>
|
---|
849 | </listitem>
|
---|
850 |
|
---|
851 | <listitem>
|
---|
852 | <para>
|
---|
853 | Host webcam passthrough. See
|
---|
854 | <xref
|
---|
855 | linkend="webcam-passthrough" />.
|
---|
856 | </para>
|
---|
857 | </listitem>
|
---|
858 |
|
---|
859 | <listitem>
|
---|
860 | <para>
|
---|
861 | Intel PXE boot ROM.
|
---|
862 | </para>
|
---|
863 | </listitem>
|
---|
864 |
|
---|
865 | <listitem>
|
---|
866 | <para>
|
---|
867 | Experimental support for PCI passthrough on Linux hosts.
|
---|
868 | See <xref linkend="pcipassthrough" />.
|
---|
869 | </para>
|
---|
870 | </listitem>
|
---|
871 |
|
---|
872 | <listitem>
|
---|
873 | <para>
|
---|
874 | Disk image encryption with AES algorithm. See
|
---|
875 | <xref linkend="diskencryption" />.
|
---|
876 | </para>
|
---|
877 | </listitem>
|
---|
878 |
|
---|
879 | </orderedlist>
|
---|
880 |
|
---|
881 | <para>
|
---|
882 | VirtualBox extension packages have a
|
---|
883 | <computeroutput>.vbox-extpack</computeroutput> file name
|
---|
884 | extension. To install an extension, simply double-click on the
|
---|
885 | package file and a Network Operations Manager window will
|
---|
886 | appear, guiding you through the required steps.
|
---|
887 | </para>
|
---|
888 |
|
---|
889 | <para>
|
---|
890 | To view the extension packs that are currently installed,
|
---|
891 | start the VirtualBox Manager, as shown in
|
---|
892 | <xref linkend="intro-starting"/>. From the
|
---|
893 | <emphasis role="bold">File</emphasis> menu, select
|
---|
894 | <emphasis role="bold">Preferences</emphasis>. In the window
|
---|
895 | that displays, go to the
|
---|
896 | <emphasis role="bold">Extensions</emphasis> category. This
|
---|
897 | shows you the extensions which are currently installed, and
|
---|
898 | enables you to remove a package or add a new package.
|
---|
899 | </para>
|
---|
900 |
|
---|
901 | <para>
|
---|
902 | Alternatively, you can use the VBoxManage command line. See
|
---|
903 | <xref linkend="vboxmanage-extpack" />.
|
---|
904 | </para>
|
---|
905 | </listitem>
|
---|
906 |
|
---|
907 | </orderedlist>
|
---|
908 |
|
---|
909 | </sect1>
|
---|
910 |
|
---|
911 | <sect1 id="intro-starting">
|
---|
912 |
|
---|
913 | <title>Starting VirtualBox</title>
|
---|
914 |
|
---|
915 | <para>
|
---|
916 | After installation, you can start VirtualBox as follows:
|
---|
917 | </para>
|
---|
918 |
|
---|
919 | <itemizedlist>
|
---|
920 |
|
---|
921 | <listitem>
|
---|
922 | <para>
|
---|
923 | On a Windows host, in the Programs menu, click on the item in
|
---|
924 | the <emphasis role="bold">VirtualBox</emphasis> group. On
|
---|
925 | Vista or Windows 7, you can also type
|
---|
926 | <computeroutput>VirtualBox</computeroutput> in the search box
|
---|
927 | of the Start menu.
|
---|
928 | </para>
|
---|
929 | </listitem>
|
---|
930 |
|
---|
931 | <listitem>
|
---|
932 | <para>
|
---|
933 | On a Mac OS X host, in the Finder, double-click on the
|
---|
934 | <emphasis role="bold">VirtualBox</emphasis> item in the
|
---|
935 | "Applications" folder. You may want to drag this item onto
|
---|
936 | your Dock.
|
---|
937 | </para>
|
---|
938 | </listitem>
|
---|
939 |
|
---|
940 | <listitem>
|
---|
941 | <para>
|
---|
942 | On a Linux or Solaris host, depending on your desktop
|
---|
943 | environment, a VirtualBox item may have been placed in either
|
---|
944 | the System or System Tools group of your Applications menu.
|
---|
945 | Alternatively, you can type
|
---|
946 | <computeroutput>VirtualBox</computeroutput> in a terminal.
|
---|
947 | </para>
|
---|
948 | </listitem>
|
---|
949 |
|
---|
950 | </itemizedlist>
|
---|
951 |
|
---|
952 | <para>
|
---|
953 | When you start VirtualBox for the first time, a window like the
|
---|
954 | following is displayed:
|
---|
955 | </para>
|
---|
956 |
|
---|
957 | <mediaobject>
|
---|
958 | <imageobject>
|
---|
959 | <imagedata align="center" fileref="images/virtualbox-main-empty.png"
|
---|
960 | width="10cm" />
|
---|
961 | </imageobject>
|
---|
962 | </mediaobject>
|
---|
963 |
|
---|
964 | <para>
|
---|
965 | This window is called the <emphasis
|
---|
966 | role="bold">"VirtualBox
|
---|
967 | Manager"</emphasis>. On the left, you can see a pane that will
|
---|
968 | later list all your virtual machines. Since you have not created
|
---|
969 | any, the list is empty. A row of buttons above it allows you to
|
---|
970 | create new VMs and work on existing VMs, once you have some. The
|
---|
971 | pane on the right displays the properties of the virtual machine
|
---|
972 | currently selected, if any. Again, since you do not have any
|
---|
973 | machines yet, the pane displays a welcome message.
|
---|
974 | </para>
|
---|
975 |
|
---|
976 | <para>
|
---|
977 | To give you an idea what VirtualBox might look like later, after
|
---|
978 | you have created many machines, here is another example:
|
---|
979 | </para>
|
---|
980 |
|
---|
981 | <mediaobject>
|
---|
982 | <imageobject>
|
---|
983 | <imagedata align="center" fileref="images/virtualbox-main.png"
|
---|
984 | width="10cm" />
|
---|
985 | </imageobject>
|
---|
986 | </mediaobject>
|
---|
987 |
|
---|
988 | </sect1>
|
---|
989 |
|
---|
990 | <sect1 id="gui-createvm">
|
---|
991 |
|
---|
992 | <title>Creating Your First Virtual Machine</title>
|
---|
993 |
|
---|
994 | <para>
|
---|
995 | Click on the <emphasis role="bold">New</emphasis> button at the
|
---|
996 | top of the VirtualBox Manager window. A wizard will pop up to
|
---|
997 | guide you through setting up a new virtual machine (VM):
|
---|
998 | </para>
|
---|
999 |
|
---|
1000 | <para>
|
---|
1001 | <mediaobject>
|
---|
1002 | <imageobject>
|
---|
1003 | <imagedata align="center" fileref="images/create-vm-1.png"
|
---|
1004 | width="10cm" />
|
---|
1005 | </imageobject>
|
---|
1006 | </mediaobject>
|
---|
1007 |
|
---|
1008 | On the following pages, the wizard will ask you for the bare
|
---|
1009 | minimum of information that is needed to create a VM, in
|
---|
1010 | particular:
|
---|
1011 | </para>
|
---|
1012 |
|
---|
1013 | <orderedlist>
|
---|
1014 |
|
---|
1015 | <listitem>
|
---|
1016 | <para>
|
---|
1017 | The <emphasis role="bold">Name</emphasis> of the VM will later
|
---|
1018 | be shown in the VM list of the VirtualBox Manager window, and
|
---|
1019 | it will be used for the VM's files on disk. Even though any
|
---|
1020 | name can be used, bear in mind that if you create a few VMs,
|
---|
1021 | you will appreciate if you have given your VMs rather
|
---|
1022 | informative names."My VM" would thus be less useful than
|
---|
1023 | "Windows XP SP2 with OpenOffice", for example.
|
---|
1024 | </para>
|
---|
1025 | </listitem>
|
---|
1026 |
|
---|
1027 | <listitem>
|
---|
1028 | <para>
|
---|
1029 | For <emphasis role="bold">Operating System Type</emphasis>
|
---|
1030 | select the operating system that you want to install later.
|
---|
1031 | The supported operating systems are grouped. If you want to
|
---|
1032 | install something very unusual that is not listed, select
|
---|
1033 | <emphasis role="bold">Other</emphasis>. Depending on your
|
---|
1034 | selection, VirtualBox will enable or disable certain VM
|
---|
1035 | settings that your guest operating system may require. This is
|
---|
1036 | particularly important for 64-bit guests. See
|
---|
1037 | <xref
|
---|
1038 | linkend="intro-64bitguests" />. It is
|
---|
1039 | therefore recommended to always set it to the correct value.
|
---|
1040 | </para>
|
---|
1041 | </listitem>
|
---|
1042 |
|
---|
1043 | <listitem>
|
---|
1044 | <para>
|
---|
1045 | On the next page, select the <emphasis role="bold">Memory
|
---|
1046 | (RAM)</emphasis> that VirtualBox should allocate every time
|
---|
1047 | the virtual machine is started. The amount of memory given
|
---|
1048 | here will be taken away from your host machine and presented
|
---|
1049 | to the guest operating system, which will report this size as
|
---|
1050 | the virtual computer's installed RAM.
|
---|
1051 | </para>
|
---|
1052 |
|
---|
1053 | <caution>
|
---|
1054 | <para>
|
---|
1055 | Choose this setting carefully. The memory you give to the VM
|
---|
1056 | will not be available to your host OS while the VM is
|
---|
1057 | running, so do not specify more than you can spare. For
|
---|
1058 | example, if your host machine has 1 GB of RAM and you enter
|
---|
1059 | 512 MB as the amount of RAM for a particular virtual
|
---|
1060 | machine, while that VM is running, you will only have 512 MB
|
---|
1061 | left for all the other software on your host. If you run two
|
---|
1062 | VMs at the same time, even more memory will be allocated for
|
---|
1063 | the second VM, which may not even be able to start if that
|
---|
1064 | memory is not available. On the other hand, you should
|
---|
1065 | specify as much as your guest OS and your applications will
|
---|
1066 | require to run properly.
|
---|
1067 | </para>
|
---|
1068 | </caution>
|
---|
1069 |
|
---|
1070 | <para>
|
---|
1071 | A Windows XP guest will require at least a few hundred MB of
|
---|
1072 | RAM to run properly, and Windows Vista will not install with
|
---|
1073 | less than 512 MB. If you want to run graphics-intensive
|
---|
1074 | applications in your VM, you may require even more RAM.
|
---|
1075 | </para>
|
---|
1076 |
|
---|
1077 | <para>
|
---|
1078 | As a rule of thumb, if you have 1 GB of RAM or more in your
|
---|
1079 | host computer, it is usually safe to allocate 512 MB to each
|
---|
1080 | VM. In any case, make sure you always have at least 256 to 512
|
---|
1081 | MB of RAM left on your host operating system. Otherwise you
|
---|
1082 | may cause your host OS to excessively swap out memory to your
|
---|
1083 | hard disk, effectively bringing your host system to a
|
---|
1084 | standstill.
|
---|
1085 | </para>
|
---|
1086 |
|
---|
1087 | <para>
|
---|
1088 | As with the other settings, you can change this setting later,
|
---|
1089 | after you have created the VM.
|
---|
1090 | </para>
|
---|
1091 | </listitem>
|
---|
1092 |
|
---|
1093 | <listitem>
|
---|
1094 | <para>
|
---|
1095 | Next, you must specify a <emphasis role="bold">Virtual Hard
|
---|
1096 | Disk</emphasis> for your VM.
|
---|
1097 | </para>
|
---|
1098 |
|
---|
1099 | <para>
|
---|
1100 | There are many and potentially complicated ways in which
|
---|
1101 | VirtualBox can provide hard disk space to a VM, see
|
---|
1102 | <xref
|
---|
1103 | linkend="storage" />, but the most common way
|
---|
1104 | is to use a large image file on your "real" hard disk, whose
|
---|
1105 | contents VirtualBox presents to your VM as if it were a
|
---|
1106 | complete hard disk. This file represents an entire hard disk
|
---|
1107 | then, so you can even copy it to another host and use it with
|
---|
1108 | another VirtualBox installation.
|
---|
1109 | </para>
|
---|
1110 |
|
---|
1111 | <para>
|
---|
1112 | The wizard displays the following window:
|
---|
1113 | </para>
|
---|
1114 |
|
---|
1115 | <para>
|
---|
1116 | <mediaobject>
|
---|
1117 | <imageobject>
|
---|
1118 | <imagedata align="center" fileref="images/create-vm-2.png"
|
---|
1119 | width="10cm" />
|
---|
1120 | </imageobject>
|
---|
1121 | </mediaobject>
|
---|
1122 | </para>
|
---|
1123 |
|
---|
1124 | <para>
|
---|
1125 | At this screen, you have the following options:
|
---|
1126 | </para>
|
---|
1127 |
|
---|
1128 | <itemizedlist>
|
---|
1129 |
|
---|
1130 | <listitem>
|
---|
1131 | <para>
|
---|
1132 | To create a new, empty virtual hard disk, click the
|
---|
1133 | <emphasis role="bold">New</emphasis> button.
|
---|
1134 | </para>
|
---|
1135 | </listitem>
|
---|
1136 |
|
---|
1137 | <listitem>
|
---|
1138 | <para>
|
---|
1139 | You can pick an
|
---|
1140 | <emphasis
|
---|
1141 | >existing</emphasis> disk image
|
---|
1142 | file.
|
---|
1143 | </para>
|
---|
1144 |
|
---|
1145 | <para>
|
---|
1146 | The drop-down list presented in the window lists all disk
|
---|
1147 | images which are currently remembered by VirtualBox. These
|
---|
1148 | disk images are currently attached to a virtual machine,
|
---|
1149 | or have been attached to a virtual machine.
|
---|
1150 | </para>
|
---|
1151 |
|
---|
1152 | <para>
|
---|
1153 | Alternatively, click on the small
|
---|
1154 | <emphasis
|
---|
1155 | role="bold">folder
|
---|
1156 | icon</emphasis> next to the drop-down list to display a
|
---|
1157 | standard file dialog, where you can select any disk image
|
---|
1158 | file on your host disk.
|
---|
1159 | </para>
|
---|
1160 | </listitem>
|
---|
1161 |
|
---|
1162 | </itemizedlist>
|
---|
1163 |
|
---|
1164 | <para>
|
---|
1165 | If you are using VirtualBox for the first time, you will want
|
---|
1166 | to create a new disk image. Click the
|
---|
1167 | <emphasis role="bold">New</emphasis> button.
|
---|
1168 | </para>
|
---|
1169 |
|
---|
1170 | <para>
|
---|
1171 | This displays another window, the
|
---|
1172 | <emphasis
|
---|
1173 | role="bold">Create New Virtual Disk
|
---|
1174 | Wizard</emphasis>. This wizard helps you to create a new disk
|
---|
1175 | image file in the new virtual machine's folder.
|
---|
1176 | </para>
|
---|
1177 |
|
---|
1178 | <para>
|
---|
1179 | VirtualBox supports the following types of image files:
|
---|
1180 | </para>
|
---|
1181 |
|
---|
1182 | <itemizedlist>
|
---|
1183 |
|
---|
1184 | <listitem>
|
---|
1185 | <para>
|
---|
1186 | A <emphasis role="bold">dynamically allocated
|
---|
1187 | file</emphasis> will only grow in size when the guest
|
---|
1188 | actually stores data on its virtual hard disk. It will
|
---|
1189 | therefore initially be small on the host hard drive and
|
---|
1190 | only later grow to the size specified as it is filled with
|
---|
1191 | data.
|
---|
1192 | </para>
|
---|
1193 | </listitem>
|
---|
1194 |
|
---|
1195 | <listitem>
|
---|
1196 | <para>
|
---|
1197 | A <emphasis role="bold">fixed-size file</emphasis> will
|
---|
1198 | immediately occupy the file specified, even if only a
|
---|
1199 | fraction of the virtual hard disk space is actually in
|
---|
1200 | use. While occupying much more space, a fixed-size file
|
---|
1201 | incurs less overhead and is therefore slightly faster than
|
---|
1202 | a dynamically allocated file.
|
---|
1203 | </para>
|
---|
1204 | </listitem>
|
---|
1205 |
|
---|
1206 | </itemizedlist>
|
---|
1207 |
|
---|
1208 | <para>
|
---|
1209 | For details about the differences, see
|
---|
1210 | <xref
|
---|
1211 | linkend="vdidetails" />.
|
---|
1212 | </para>
|
---|
1213 |
|
---|
1214 | <para>
|
---|
1215 | To prevent your physical hard disk from running full,
|
---|
1216 | VirtualBox limits the size of the image file. Still, it needs
|
---|
1217 | to be large enough to hold the contents of your operating
|
---|
1218 | system and the applications you want to install. For a modern
|
---|
1219 | Windows or Linux guest, you will probably need several
|
---|
1220 | gigabytes for any serious use. The limit of the image file
|
---|
1221 | size can be changed later, see
|
---|
1222 | <xref
|
---|
1223 | linkend="vboxmanage-modifyvdi"/>.
|
---|
1224 | </para>
|
---|
1225 |
|
---|
1226 | <mediaobject>
|
---|
1227 | <imageobject>
|
---|
1228 | <imagedata align="center" fileref="images/create-vdi-1.png"
|
---|
1229 | width="10cm" />
|
---|
1230 | </imageobject>
|
---|
1231 | </mediaobject>
|
---|
1232 |
|
---|
1233 | <para>
|
---|
1234 | After having selected or created your image file, again click
|
---|
1235 | <emphasis role="bold">Next</emphasis> to go to the next page.
|
---|
1236 | </para>
|
---|
1237 | </listitem>
|
---|
1238 |
|
---|
1239 | <listitem>
|
---|
1240 | <para>
|
---|
1241 | After clicking on <emphasis role="bold">Finish</emphasis>
|
---|
1242 | button, your new virtual machine is created. The virtual
|
---|
1243 | machine is displayed in the list on the left side of the
|
---|
1244 | Manager window, with the name that you entered initially.
|
---|
1245 | </para>
|
---|
1246 | </listitem>
|
---|
1247 |
|
---|
1248 | </orderedlist>
|
---|
1249 |
|
---|
1250 | <note>
|
---|
1251 | <para>
|
---|
1252 | After becoming familiar with the use of wizards, consider using
|
---|
1253 | the Expert Mode available in some wizards. Where available, this
|
---|
1254 | is selectable using a button, and speeds up the process of using
|
---|
1255 | wizards.
|
---|
1256 | </para>
|
---|
1257 | </note>
|
---|
1258 |
|
---|
1259 | </sect1>
|
---|
1260 |
|
---|
1261 | <sect1 id="intro-running">
|
---|
1262 |
|
---|
1263 | <title>Running Your Virtual Machine</title>
|
---|
1264 |
|
---|
1265 | <para>
|
---|
1266 | To start a virtual machine, you have several options:
|
---|
1267 | </para>
|
---|
1268 |
|
---|
1269 | <itemizedlist>
|
---|
1270 |
|
---|
1271 | <listitem>
|
---|
1272 | <para>
|
---|
1273 | Double-click on its entry in the list within the Manager
|
---|
1274 | window.
|
---|
1275 | </para>
|
---|
1276 | </listitem>
|
---|
1277 |
|
---|
1278 | <listitem>
|
---|
1279 | <para>
|
---|
1280 | Select its entry in the list in the Manager window, and click
|
---|
1281 | the <emphasis role="bold">Start</emphasis> button at the top.
|
---|
1282 | </para>
|
---|
1283 | </listitem>
|
---|
1284 |
|
---|
1285 | <listitem>
|
---|
1286 | <para>
|
---|
1287 | For virtual machines created with VirtualBox 4.0 or later,
|
---|
1288 | navigate to the <computeroutput>VirtualBox
|
---|
1289 | VMs</computeroutput> folder in your system user's home
|
---|
1290 | directory. Find the subdirectory of the machine you want to
|
---|
1291 | start and double-click on the machine settings file, which has
|
---|
1292 | a <computeroutput>.vbox</computeroutput> file extension.
|
---|
1293 | </para>
|
---|
1294 | </listitem>
|
---|
1295 |
|
---|
1296 | </itemizedlist>
|
---|
1297 |
|
---|
1298 | <para>
|
---|
1299 | Starting a virtual machine displays a new window, and the virtual
|
---|
1300 | machine which you selected will boot up. Everything which would
|
---|
1301 | normally be seen on the virtual system's monitor is shown in the
|
---|
1302 | window. See the screenshot image in
|
---|
1303 | <xref linkend="Introduction"/>.
|
---|
1304 | </para>
|
---|
1305 |
|
---|
1306 | <para>
|
---|
1307 | In general, you can use the virtual machine as you would use a
|
---|
1308 | real computer. There are couple of points worth mentioning
|
---|
1309 | however.
|
---|
1310 | </para>
|
---|
1311 |
|
---|
1312 | <sect2 id="intro-starting-vm-first-time">
|
---|
1313 |
|
---|
1314 | <title>Starting a New VM for the First Time</title>
|
---|
1315 |
|
---|
1316 | <para>
|
---|
1317 | When a VM is started for the first time, the
|
---|
1318 | <emphasis role="bold">First Start Wizard</emphasis>, is
|
---|
1319 | displayed. This wizard helps you to select an installation
|
---|
1320 | medium. Since the VM is created empty, it would otherwise behave
|
---|
1321 | just like a real computer with no operating system installed. It
|
---|
1322 | will do nothing and display an error message that no bootable
|
---|
1323 | operating system was found.
|
---|
1324 | </para>
|
---|
1325 |
|
---|
1326 | <para>
|
---|
1327 | For this reason, the wizard helps you to select a medium to
|
---|
1328 | install an operating system from.
|
---|
1329 | </para>
|
---|
1330 |
|
---|
1331 | <itemizedlist>
|
---|
1332 |
|
---|
1333 | <listitem>
|
---|
1334 | <para>
|
---|
1335 | If you have physical CD or DVD media from which you want to
|
---|
1336 | install your guest operating system, such as a Windows
|
---|
1337 | installation CD or DVD, put the media into your host's CD or
|
---|
1338 | DVD drive.
|
---|
1339 | </para>
|
---|
1340 |
|
---|
1341 | <para>
|
---|
1342 | In the wizard's drop-down list of installation media, select
|
---|
1343 | <emphasis role="bold">Host Drive</emphasis> with the correct
|
---|
1344 | drive letter. In the case of a Linux host, choose a device
|
---|
1345 | file. This will allow your VM to access the media in your
|
---|
1346 | host drive, and you can proceed to install from there.
|
---|
1347 | </para>
|
---|
1348 | </listitem>
|
---|
1349 |
|
---|
1350 | <listitem>
|
---|
1351 | <para>
|
---|
1352 | If you have downloaded installation media from the Internet
|
---|
1353 | in the form of an ISO image file such as with a Linux
|
---|
1354 | distribution, you would normally burn this file to an empty
|
---|
1355 | CD or DVD and proceed as described above. With VirtualBox
|
---|
1356 | however, you can skip this step and mount the ISO file
|
---|
1357 | directly. VirtualBox will then present this file as a CD or
|
---|
1358 | DVD-ROM drive to the virtual machine, much like it does with
|
---|
1359 | virtual hard disk images.
|
---|
1360 | </para>
|
---|
1361 |
|
---|
1362 | <para>
|
---|
1363 | In this case, the wizard's drop-down list contains a list of
|
---|
1364 | installation media that were previously used with
|
---|
1365 | VirtualBox.
|
---|
1366 | </para>
|
---|
1367 |
|
---|
1368 | <para>
|
---|
1369 | If your medium is not in the list, especially if you are
|
---|
1370 | using VirtualBox for the first time, click the small folder
|
---|
1371 | icon next to the drop-down list to display a standard file
|
---|
1372 | dialog. Here you can pick an image file on your host disks.
|
---|
1373 | </para>
|
---|
1374 | </listitem>
|
---|
1375 |
|
---|
1376 | </itemizedlist>
|
---|
1377 |
|
---|
1378 | <para>
|
---|
1379 | After completing the choices in the wizard, you will be able to
|
---|
1380 | install your operating system.
|
---|
1381 | </para>
|
---|
1382 |
|
---|
1383 | </sect2>
|
---|
1384 |
|
---|
1385 | <sect2 id="keyb_mouse_normal">
|
---|
1386 |
|
---|
1387 | <title>Capturing and Releasing Keyboard and Mouse</title>
|
---|
1388 |
|
---|
1389 | <para>
|
---|
1390 | As of version 3.2, VirtualBox provides a virtual USB tablet
|
---|
1391 | device to new virtual machines through which mouse events are
|
---|
1392 | communicated to the guest operating system. If you are running a
|
---|
1393 | modern guest operating system that can handle such devices,
|
---|
1394 | mouse support may work out of the box without the mouse being
|
---|
1395 | <emphasis>captured</emphasis> as described below. See
|
---|
1396 | <xref linkend="settings-motherboard" />.
|
---|
1397 | </para>
|
---|
1398 |
|
---|
1399 | <para>
|
---|
1400 | Otherwise, if the virtual machine only sees standard PS/2 mouse
|
---|
1401 | and keyboard devices, since the operating system in the virtual
|
---|
1402 | machine does not know that it is not running on a real computer,
|
---|
1403 | it expects to have exclusive control over your keyboard and
|
---|
1404 | mouse. But unless you are running the VM in full screen mode,
|
---|
1405 | your VM needs to share keyboard and mouse with other
|
---|
1406 | applications and possibly other VMs on your host.
|
---|
1407 | </para>
|
---|
1408 |
|
---|
1409 | <para>
|
---|
1410 | After installing a guest operating system and before you install
|
---|
1411 | the Guest Additions, described later, either your VM or the rest
|
---|
1412 | of your computer can "own" the keyboard and the mouse. Both
|
---|
1413 | cannot own the keyboard and mouse at the same time. You will see
|
---|
1414 | a <emphasis>second</emphasis> mouse pointer which is always
|
---|
1415 | confined to the limits of the VM window. You activate the VM by
|
---|
1416 | clicking inside it.
|
---|
1417 | </para>
|
---|
1418 |
|
---|
1419 | <para>
|
---|
1420 | To return ownership of keyboard and mouse to your host operating
|
---|
1421 | system, VirtualBox reserves a special key on your keyboard: the
|
---|
1422 | <emphasis role="bold">Host key</emphasis>. By default, this is
|
---|
1423 | the <emphasis>right Ctrl key</emphasis> on your keyboard. On a
|
---|
1424 | Mac host, the default Host key is the left Command key. You can
|
---|
1425 | change this default in the VirtualBox Global Settings. See
|
---|
1426 | <xref
|
---|
1427 | linkend="globalsettings" />. The current setting
|
---|
1428 | for the Host key is always displayed at the bottom right of your
|
---|
1429 | VM window.
|
---|
1430 | </para>
|
---|
1431 |
|
---|
1432 | <mediaobject>
|
---|
1433 | <imageobject>
|
---|
1434 | <imagedata align="center" fileref="images/vm-hostkey.png"
|
---|
1435 | width="7cm" />
|
---|
1436 | </imageobject>
|
---|
1437 | </mediaobject>
|
---|
1438 |
|
---|
1439 | <para>
|
---|
1440 | This means the following:
|
---|
1441 | </para>
|
---|
1442 |
|
---|
1443 | <itemizedlist>
|
---|
1444 |
|
---|
1445 | <listitem>
|
---|
1446 | <para>
|
---|
1447 | Your <emphasis role="bold">keyboard</emphasis> is owned by
|
---|
1448 | the VM if the VM window on your host desktop has the
|
---|
1449 | keyboard focus. If you have many windows open in your guest
|
---|
1450 | operating system, the window that has the focus in your VM
|
---|
1451 | is used. This means that if you want to type within your VM,
|
---|
1452 | click on the title bar of your VM window first.
|
---|
1453 | </para>
|
---|
1454 |
|
---|
1455 | <para>
|
---|
1456 | To release keyboard ownership, press the Host key. As
|
---|
1457 | explained above, this is typically the right Ctrl key.
|
---|
1458 | </para>
|
---|
1459 |
|
---|
1460 | <para>
|
---|
1461 | Note that while the VM owns the keyboard, some key
|
---|
1462 | sequences, such as Alt-Tab, will no longer be seen by the
|
---|
1463 | host, but will go to the guest instead. After you press the
|
---|
1464 | Host key to reenable the host keyboard, all key presses will
|
---|
1465 | go through the host again, so that sequences such as Alt-Tab
|
---|
1466 | will no longer reach the guest. For technical reasons it may
|
---|
1467 | not be possible for the VM to get all keyboard input even
|
---|
1468 | when it does own the keyboard. Examples of this are the
|
---|
1469 | Ctrl-Alt-Del sequence on Windows hosts or single keys
|
---|
1470 | grabbed by other applications on X11 hosts like the GNOME
|
---|
1471 | desktop's "Control key highlights mouse pointer"
|
---|
1472 | functionality.
|
---|
1473 | </para>
|
---|
1474 | </listitem>
|
---|
1475 |
|
---|
1476 | <listitem>
|
---|
1477 | <para>
|
---|
1478 | Your <emphasis role="bold">mouse</emphasis> is owned by the
|
---|
1479 | VM only after you have clicked in the VM window. The host
|
---|
1480 | mouse pointer will disappear, and your mouse will drive the
|
---|
1481 | guest's pointer instead of your normal mouse pointer.
|
---|
1482 | </para>
|
---|
1483 |
|
---|
1484 | <para>
|
---|
1485 | Note that mouse ownership is independent of that of the
|
---|
1486 | keyboard. Even after you have clicked on a titlebar to be
|
---|
1487 | able to type into the VM window, your mouse is not
|
---|
1488 | necessarily owned by the VM yet.
|
---|
1489 | </para>
|
---|
1490 |
|
---|
1491 | <para>
|
---|
1492 | To release ownership of your mouse by the VM, press the Host
|
---|
1493 | key.
|
---|
1494 | </para>
|
---|
1495 | </listitem>
|
---|
1496 |
|
---|
1497 | </itemizedlist>
|
---|
1498 |
|
---|
1499 | <para>
|
---|
1500 | As this behavior can be inconvenient, VirtualBox provides a set
|
---|
1501 | of tools and device drivers for guest systems called the
|
---|
1502 | VirtualBox Guest Additions which make VM keyboard and mouse
|
---|
1503 | operation a lot more seamless. Most importantly, the Additions
|
---|
1504 | will get rid of the second "guest" mouse pointer and make your
|
---|
1505 | host mouse pointer work directly in the guest.
|
---|
1506 | </para>
|
---|
1507 |
|
---|
1508 | <para>
|
---|
1509 | This is described in <xref
|
---|
1510 | linkend="guestadditions" />.
|
---|
1511 | </para>
|
---|
1512 |
|
---|
1513 | </sect2>
|
---|
1514 |
|
---|
1515 | <sect2 id="specialcharacters">
|
---|
1516 |
|
---|
1517 | <title>Typing Special Characters</title>
|
---|
1518 |
|
---|
1519 | <para>
|
---|
1520 | Operating systems expect certain key combinations to initiate
|
---|
1521 | certain procedures. Some of these key combinations may be
|
---|
1522 | difficult to enter into a virtual machine, as there are three
|
---|
1523 | candidates as to who receives keyboard input: the host operating
|
---|
1524 | system, VirtualBox, or the guest operating system. Which of
|
---|
1525 | these three receives keypresses depends on a number of factors,
|
---|
1526 | including the key itself.
|
---|
1527 | </para>
|
---|
1528 |
|
---|
1529 | <itemizedlist>
|
---|
1530 |
|
---|
1531 | <listitem>
|
---|
1532 | <para>
|
---|
1533 | Host operating systems reserve certain key combinations for
|
---|
1534 | themselves. For example, it is impossible to enter the
|
---|
1535 | <emphasis
|
---|
1536 | role="bold">Ctrl+Alt+Delete</emphasis>
|
---|
1537 | combination if you want to reboot the guest operating system
|
---|
1538 | in your virtual machine, because this key combination is
|
---|
1539 | usually hard-wired into the host OS, both Windows and Linux
|
---|
1540 | intercept this, and pressing this key combination will
|
---|
1541 | therefore reboot your <emphasis>host</emphasis>.
|
---|
1542 | </para>
|
---|
1543 |
|
---|
1544 | <para>
|
---|
1545 | On Linux and Solaris hosts, which use the X Window System,
|
---|
1546 | the key combination
|
---|
1547 | <emphasis
|
---|
1548 | role="bold">Ctrl+Alt+Backspace</emphasis>
|
---|
1549 | normally resets the X server and restarts the entire
|
---|
1550 | graphical user interface. As the X server intercepts this
|
---|
1551 | combination, pressing it will usually restart your
|
---|
1552 | <emphasis>host</emphasis> graphical user interface and kill
|
---|
1553 | all running programs, including VirtualBox, in the process.
|
---|
1554 | </para>
|
---|
1555 |
|
---|
1556 | <para>
|
---|
1557 | On Linux hosts supporting virtual terminals, the key
|
---|
1558 | combination <emphasis role="bold">Ctrl+Alt+Fx</emphasis>,
|
---|
1559 | where Fx is one of the function keys from F1 to F12,
|
---|
1560 | normally allows you to switch between virtual terminals. As
|
---|
1561 | with Ctrl+Alt+Delete, these combinations are intercepted by
|
---|
1562 | the host operating system and therefore always switch
|
---|
1563 | terminals on the <emphasis>host</emphasis>.
|
---|
1564 | </para>
|
---|
1565 |
|
---|
1566 | <para>
|
---|
1567 | If, instead, you want to send these key combinations to the
|
---|
1568 | <emphasis>guest</emphasis> operating system in the virtual
|
---|
1569 | machine, you will need to use one of the following methods:
|
---|
1570 | </para>
|
---|
1571 |
|
---|
1572 | <itemizedlist>
|
---|
1573 |
|
---|
1574 | <listitem>
|
---|
1575 | <para>
|
---|
1576 | Use the items in the
|
---|
1577 | <emphasis role="bold">Input</emphasis>,
|
---|
1578 | <emphasis role="bold">Keyboard</emphasis> menu of the
|
---|
1579 | virtual machine window. This menu includes the settings
|
---|
1580 | <emphasis role="bold">Insert Ctrl+Alt+Delete</emphasis>
|
---|
1581 | and <emphasis role="bold">Ctrl+Alt+Backspace</emphasis>.
|
---|
1582 | The latter will only have an effect with Linux or
|
---|
1583 | Solaris guests, however.
|
---|
1584 | </para>
|
---|
1585 | </listitem>
|
---|
1586 |
|
---|
1587 | <listitem>
|
---|
1588 | <para>
|
---|
1589 | Use special key combinations with the Host key, normally
|
---|
1590 | the right Control key. VirtualBox will then translate
|
---|
1591 | these key combinations for the virtual machine:
|
---|
1592 | </para>
|
---|
1593 |
|
---|
1594 | <itemizedlist>
|
---|
1595 |
|
---|
1596 | <listitem>
|
---|
1597 | <para>
|
---|
1598 | <emphasis role="bold">Host key + Del</emphasis> to
|
---|
1599 | send Ctrl+Alt+Del to reboot the guest.
|
---|
1600 | </para>
|
---|
1601 | </listitem>
|
---|
1602 |
|
---|
1603 | <listitem>
|
---|
1604 | <para>
|
---|
1605 | <emphasis role="bold">Host key +
|
---|
1606 | Backspace</emphasis> to send Ctrl+Alt+Backspace to
|
---|
1607 | restart the graphical user interface of a Linux or
|
---|
1608 | Solaris guest.
|
---|
1609 | </para>
|
---|
1610 | </listitem>
|
---|
1611 |
|
---|
1612 | <listitem>
|
---|
1613 | <para>
|
---|
1614 | <emphasis role="bold">Host key + Function
|
---|
1615 | key</emphasis>. For example, to simulate Ctrl+Alt+Fx
|
---|
1616 | to switch between virtual terminals in a Linux
|
---|
1617 | guest.
|
---|
1618 | </para>
|
---|
1619 | </listitem>
|
---|
1620 |
|
---|
1621 | </itemizedlist>
|
---|
1622 | </listitem>
|
---|
1623 |
|
---|
1624 | </itemizedlist>
|
---|
1625 | </listitem>
|
---|
1626 |
|
---|
1627 | <listitem>
|
---|
1628 | <para>
|
---|
1629 | For some other keyboard combinations such as
|
---|
1630 | <emphasis
|
---|
1631 | role="bold">Alt-Tab</emphasis> to switch
|
---|
1632 | between open windows, VirtualBox allows you to configure
|
---|
1633 | whether these combinations will affect the host or the
|
---|
1634 | guest, if a virtual machine currently has the focus. This is
|
---|
1635 | a global setting for all virtual machines and can be found
|
---|
1636 | under "File", "Preferences", "Input".
|
---|
1637 | </para>
|
---|
1638 | </listitem>
|
---|
1639 |
|
---|
1640 | </itemizedlist>
|
---|
1641 |
|
---|
1642 | </sect2>
|
---|
1643 |
|
---|
1644 | <sect2 id="intro-removable-media-changing">
|
---|
1645 |
|
---|
1646 | <title>Changing Removable Media</title>
|
---|
1647 |
|
---|
1648 | <para>
|
---|
1649 | While a virtual machine is running, you can change removable
|
---|
1650 | media in the <emphasis role="bold">Devices</emphasis> menu of
|
---|
1651 | the VM's window. Here you can select in detail what VirtualBox
|
---|
1652 | presents to your VM as a CD, DVD, or floppy.
|
---|
1653 | </para>
|
---|
1654 |
|
---|
1655 | <para>
|
---|
1656 | The settings are the same as would be available for the VM in
|
---|
1657 | the Settings dialog of the VirtualBox main window, but since
|
---|
1658 | that dialog is disabled while the VM is in the "running" or
|
---|
1659 | "saved" state, this extra menu saves you from having to shut
|
---|
1660 | down and restart the VM every time you want to change media.
|
---|
1661 | </para>
|
---|
1662 |
|
---|
1663 | <para>
|
---|
1664 | Hence, in the Devices menu, VirtualBox allows you to attach the
|
---|
1665 | host drive to the guest or select a floppy or DVD image using
|
---|
1666 | the Disk Image Manager, as described in
|
---|
1667 | <xref
|
---|
1668 | linkend="configbasics" />.
|
---|
1669 | </para>
|
---|
1670 |
|
---|
1671 | </sect2>
|
---|
1672 |
|
---|
1673 | <sect2 id="intro-resize-window">
|
---|
1674 |
|
---|
1675 | <title>Resizing the Machine's Window</title>
|
---|
1676 |
|
---|
1677 | <para>
|
---|
1678 | You can resize the virtual machine's window when it is running.
|
---|
1679 | In that case, one of three things will happen:
|
---|
1680 | </para>
|
---|
1681 |
|
---|
1682 | <orderedlist>
|
---|
1683 |
|
---|
1684 | <listitem>
|
---|
1685 | <para>
|
---|
1686 | If you have <emphasis role="bold">scale mode</emphasis>
|
---|
1687 | enabled, then the virtual machine's screen will be scaled to
|
---|
1688 | the size of the window. This can be useful if you have many
|
---|
1689 | machines running and want to have a look at one of them
|
---|
1690 | while it is running in the background. Alternatively, it
|
---|
1691 | might be useful to enlarge a window if the VM's output
|
---|
1692 | screen is very small, for example because you are running an
|
---|
1693 | old operating system in it.
|
---|
1694 | </para>
|
---|
1695 |
|
---|
1696 | <para>
|
---|
1697 | To enable scale mode, press the <emphasis role="bold">Host
|
---|
1698 | key + C</emphasis>, or select <emphasis role="bold">Scale
|
---|
1699 | mode</emphasis> from the
|
---|
1700 | <emphasis role="bold">Machine</emphasis> menu in the VM
|
---|
1701 | window. To leave scale mode, press the Host key + C again.
|
---|
1702 | </para>
|
---|
1703 |
|
---|
1704 | <para>
|
---|
1705 | The aspect ratio of the guest screen is preserved when
|
---|
1706 | resizing the window. To ignore the aspect ratio, press Shift
|
---|
1707 | during the resize operation.
|
---|
1708 | </para>
|
---|
1709 |
|
---|
1710 | <para>
|
---|
1711 | See <xref linkend="KnownIssues" /> for additional remarks.
|
---|
1712 | </para>
|
---|
1713 | </listitem>
|
---|
1714 |
|
---|
1715 | <listitem>
|
---|
1716 | <para>
|
---|
1717 | If you have the Guest Additions installed and they support
|
---|
1718 | automatic <emphasis role="bold">resizing</emphasis>, the
|
---|
1719 | Guest Additions will automatically adjust the screen
|
---|
1720 | resolution of the guest operating system. For example, if
|
---|
1721 | you are running a Windows guest with a resolution of
|
---|
1722 | 1024x768 pixels and you then resize the VM window to make it
|
---|
1723 | 100 pixels wider, the Guest Additions will change the
|
---|
1724 | Windows display resolution to 1124x768.
|
---|
1725 | </para>
|
---|
1726 |
|
---|
1727 | <para>
|
---|
1728 | See <xref linkend="guestadditions" />.
|
---|
1729 | </para>
|
---|
1730 | </listitem>
|
---|
1731 |
|
---|
1732 | <listitem>
|
---|
1733 | <para>
|
---|
1734 | Otherwise, if the window is bigger than the VM's screen, the
|
---|
1735 | screen will be centered. If it is smaller, then scroll bars
|
---|
1736 | will be added to the machine window.
|
---|
1737 | </para>
|
---|
1738 | </listitem>
|
---|
1739 |
|
---|
1740 | </orderedlist>
|
---|
1741 |
|
---|
1742 | </sect2>
|
---|
1743 |
|
---|
1744 | <sect2 id="intro-save-machine-state">
|
---|
1745 |
|
---|
1746 | <title>Saving the State of the Machine</title>
|
---|
1747 |
|
---|
1748 | <para>
|
---|
1749 | When you click on the <emphasis role="bold">Close</emphasis>
|
---|
1750 | button of your virtual machine window, at the top right of the
|
---|
1751 | window, just like you would close any other window on your
|
---|
1752 | system, VirtualBox asks you whether you want to save or power
|
---|
1753 | off the VM. As a shortcut, you can also press Host key + Q.
|
---|
1754 | </para>
|
---|
1755 |
|
---|
1756 | <para>
|
---|
1757 | <mediaobject>
|
---|
1758 | <imageobject>
|
---|
1759 | <imagedata align="center" fileref="images/vm-close.png"
|
---|
1760 | width="11cm" />
|
---|
1761 | </imageobject>
|
---|
1762 | </mediaobject>
|
---|
1763 |
|
---|
1764 | The difference between the three options is crucial. They mean
|
---|
1765 | the following:
|
---|
1766 | </para>
|
---|
1767 |
|
---|
1768 | <itemizedlist>
|
---|
1769 |
|
---|
1770 | <listitem>
|
---|
1771 | <para>
|
---|
1772 | <emphasis role="bold">Save the machine state:</emphasis>
|
---|
1773 | With this option, VirtualBox <emphasis>freezes</emphasis>
|
---|
1774 | the virtual machine by completely saving its state to your
|
---|
1775 | local disk.
|
---|
1776 | </para>
|
---|
1777 |
|
---|
1778 | <para>
|
---|
1779 | When you start the VM again later, you will find that the VM
|
---|
1780 | continues exactly where it was left off. All your programs
|
---|
1781 | will still be open, and your computer resumes operation.
|
---|
1782 | Saving the state of a virtual machine is thus in some ways
|
---|
1783 | similar to suspending a laptop computer by closing its lid.
|
---|
1784 | </para>
|
---|
1785 | </listitem>
|
---|
1786 |
|
---|
1787 | <listitem>
|
---|
1788 | <para>
|
---|
1789 | <emphasis role="bold">Send the shutdown signal.</emphasis>
|
---|
1790 | This will send an ACPI shutdown signal to the virtual
|
---|
1791 | machine, which has the same effect as if you had pressed the
|
---|
1792 | power button on a real computer. So long as the VM is
|
---|
1793 | running a fairly modern operating system, this should
|
---|
1794 | trigger a proper shutdown mechanism from within the VM.
|
---|
1795 | </para>
|
---|
1796 | </listitem>
|
---|
1797 |
|
---|
1798 | <listitem>
|
---|
1799 | <para>
|
---|
1800 | <emphasis role="bold">Power off the machine:</emphasis> With
|
---|
1801 | this option, VirtualBox also stops running the virtual
|
---|
1802 | machine, but <emphasis>without</emphasis> saving its state.
|
---|
1803 | </para>
|
---|
1804 |
|
---|
1805 | <warning>
|
---|
1806 | <para>
|
---|
1807 | This is equivalent to pulling the power plug on a real
|
---|
1808 | computer without shutting it down properly. If you start
|
---|
1809 | the machine again after powering it off, your operating
|
---|
1810 | system will have to reboot completely and may begin a
|
---|
1811 | lengthy check of its virtual system disks. As a result,
|
---|
1812 | this should not normally be done, since it can potentially
|
---|
1813 | cause data loss or an inconsistent state of the guest
|
---|
1814 | system on disk.
|
---|
1815 | </para>
|
---|
1816 | </warning>
|
---|
1817 |
|
---|
1818 | <para>
|
---|
1819 | As an exception, if your virtual machine has any snapshots,
|
---|
1820 | see <xref linkend="snapshots"/>, you can use this option to
|
---|
1821 | quickly <emphasis
|
---|
1822 | role="bold">restore the current
|
---|
1823 | snapshot</emphasis> of the virtual machine. In that case,
|
---|
1824 | powering off the machine will not disrupt its state, but any
|
---|
1825 | changes made since that snapshot was taken will be lost.
|
---|
1826 | </para>
|
---|
1827 | </listitem>
|
---|
1828 |
|
---|
1829 | </itemizedlist>
|
---|
1830 |
|
---|
1831 | <para>
|
---|
1832 | The <emphasis role="bold">Discard</emphasis> button in the
|
---|
1833 | VirtualBox Manager window discards a virtual machine's saved
|
---|
1834 | state. This has the same effect as powering it off, and the same
|
---|
1835 | warnings apply.
|
---|
1836 | </para>
|
---|
1837 |
|
---|
1838 | </sect2>
|
---|
1839 |
|
---|
1840 | </sect1>
|
---|
1841 |
|
---|
1842 | <sect1 id="gui-vmgroups">
|
---|
1843 |
|
---|
1844 | <title>Using VM Groups</title>
|
---|
1845 |
|
---|
1846 | <para>
|
---|
1847 | VM groups enable the user to create ad hoc groups of VMs, and to
|
---|
1848 | manage and perform functions on them collectively, as well as
|
---|
1849 | individually. There are a number of features relating to groups.
|
---|
1850 | </para>
|
---|
1851 |
|
---|
1852 | <orderedlist>
|
---|
1853 |
|
---|
1854 | <listitem>
|
---|
1855 | <para>
|
---|
1856 | Create a group using the GUI. Do one of the following:
|
---|
1857 | </para>
|
---|
1858 |
|
---|
1859 | <itemizedlist>
|
---|
1860 |
|
---|
1861 | <listitem>
|
---|
1862 | <para>
|
---|
1863 | Drag one VM on top of another VM.
|
---|
1864 | </para>
|
---|
1865 | </listitem>
|
---|
1866 |
|
---|
1867 | <listitem>
|
---|
1868 | <para>
|
---|
1869 | Select multiple VMs and select
|
---|
1870 | <emphasis role="bold">Group</emphasis> from the
|
---|
1871 | right-click menu, as shown in the following image.
|
---|
1872 | </para>
|
---|
1873 |
|
---|
1874 | <para>
|
---|
1875 | <mediaobject>
|
---|
1876 | <imageobject>
|
---|
1877 | <imagedata align="center" fileref="images/vm-groups.png"
|
---|
1878 | width="10cm" />
|
---|
1879 | </imageobject>
|
---|
1880 | </mediaobject>
|
---|
1881 | </para>
|
---|
1882 | </listitem>
|
---|
1883 |
|
---|
1884 | </itemizedlist>
|
---|
1885 | </listitem>
|
---|
1886 |
|
---|
1887 | <listitem>
|
---|
1888 | <para>
|
---|
1889 | Create and manage a group using the command line. Do one of
|
---|
1890 | the following:
|
---|
1891 | </para>
|
---|
1892 |
|
---|
1893 | <itemizedlist>
|
---|
1894 |
|
---|
1895 | <listitem>
|
---|
1896 | <para>
|
---|
1897 | Create a group and assign a VM. For example:
|
---|
1898 | </para>
|
---|
1899 |
|
---|
1900 | <screen>VBoxManage modifyvm "Fred" --groups "/TestGroup"</screen>
|
---|
1901 |
|
---|
1902 | <para>
|
---|
1903 | This command creates a group "TestGroup" and attaches the
|
---|
1904 | VM "Fred" to that group.
|
---|
1905 | </para>
|
---|
1906 | </listitem>
|
---|
1907 |
|
---|
1908 | <listitem>
|
---|
1909 | <para>
|
---|
1910 | Detach a VM from the group, and delete the group if empty.
|
---|
1911 | For example:
|
---|
1912 | </para>
|
---|
1913 |
|
---|
1914 | <screen>VBoxManage modifyvm "Fred" --groups ""</screen>
|
---|
1915 |
|
---|
1916 | <para>
|
---|
1917 | This command detaches all groups from the VM "Fred" and
|
---|
1918 | deletes the empty group.
|
---|
1919 | </para>
|
---|
1920 | </listitem>
|
---|
1921 |
|
---|
1922 | </itemizedlist>
|
---|
1923 | </listitem>
|
---|
1924 |
|
---|
1925 | <listitem>
|
---|
1926 | <para>
|
---|
1927 | Create multiple groups. For example:
|
---|
1928 | </para>
|
---|
1929 |
|
---|
1930 | <screen>VBoxManage modifyvm "Fred" --groups "/TestGroup,/TestGroup2"</screen>
|
---|
1931 |
|
---|
1932 | <para>
|
---|
1933 | This command creates the groups "TestGroup" and "TestGroup2",
|
---|
1934 | if they do not exist, and attaches the VM "Fred" to both of
|
---|
1935 | them.
|
---|
1936 | </para>
|
---|
1937 | </listitem>
|
---|
1938 |
|
---|
1939 | <listitem>
|
---|
1940 | <para>
|
---|
1941 | Create nested groups, having a group hierarchy. For example:
|
---|
1942 | </para>
|
---|
1943 |
|
---|
1944 | <screen>VBoxManage modifyvm "Fred" --groups "/TestGroup/TestGroup2"</screen>
|
---|
1945 |
|
---|
1946 | <para>
|
---|
1947 | This command attaches the VM "Fred" to the subgroup
|
---|
1948 | "TestGroup2" of the "TestGroup" group.
|
---|
1949 | </para>
|
---|
1950 | </listitem>
|
---|
1951 |
|
---|
1952 | <listitem>
|
---|
1953 | <para>
|
---|
1954 | The following is a summary of group commands: Start, Pause,
|
---|
1955 | Reset, Close (save state, send shutdown signal, poweroff),
|
---|
1956 | Discard Saved State, Show in File System, Sort.
|
---|
1957 | </para>
|
---|
1958 | </listitem>
|
---|
1959 |
|
---|
1960 | </orderedlist>
|
---|
1961 |
|
---|
1962 | </sect1>
|
---|
1963 |
|
---|
1964 | <sect1 id="snapshots">
|
---|
1965 |
|
---|
1966 | <title>Snapshots</title>
|
---|
1967 |
|
---|
1968 | <para>
|
---|
1969 | With snapshots, you can save a particular state of a virtual
|
---|
1970 | machine for later use. At any later time, you can revert to that
|
---|
1971 | state, even though you may have changed the VM considerably since
|
---|
1972 | then. A snapshot of a virtual machine is thus similar to a machine
|
---|
1973 | in "saved" state, as described above, but there can be many of
|
---|
1974 | them, and these saved states are preserved.
|
---|
1975 | </para>
|
---|
1976 |
|
---|
1977 | <para>
|
---|
1978 | You can see the snapshots of a virtual machine by first selecting
|
---|
1979 | a machine in the VirtualBox Manager and then clicking on the
|
---|
1980 | <emphasis role="bold">Snapshots</emphasis> button at the top
|
---|
1981 | right. Until you take a snapshot of the machine, the list of
|
---|
1982 | snapshots will be empty except for the
|
---|
1983 | <emphasis role="bold">Current State</emphasis> item, which
|
---|
1984 | represents the "now" point in the lifetime of the virtual machine.
|
---|
1985 | </para>
|
---|
1986 |
|
---|
1987 | <sect2 id="snapshots-take-restore-delete">
|
---|
1988 |
|
---|
1989 | <title>Taking, Restoring, and Deleting Snapshots</title>
|
---|
1990 |
|
---|
1991 | <para>
|
---|
1992 | There are three operations related to snapshots, as follows:
|
---|
1993 | </para>
|
---|
1994 |
|
---|
1995 | <orderedlist>
|
---|
1996 |
|
---|
1997 | <listitem>
|
---|
1998 | <para>
|
---|
1999 | <emphasis role="bold">Take a snapshot</emphasis>. This makes
|
---|
2000 | a copy of the machine's current state, to which you can go
|
---|
2001 | back at any given time later.
|
---|
2002 | </para>
|
---|
2003 |
|
---|
2004 | <itemizedlist>
|
---|
2005 |
|
---|
2006 | <listitem>
|
---|
2007 | <para>
|
---|
2008 | If your VM is currently running, select
|
---|
2009 | <emphasis role="bold">Take Snapshot</emphasis> from the
|
---|
2010 | <emphasis role="bold">Machine</emphasis> pull-down menu
|
---|
2011 | of the VM window.
|
---|
2012 | </para>
|
---|
2013 | </listitem>
|
---|
2014 |
|
---|
2015 | <listitem>
|
---|
2016 | <para>
|
---|
2017 | If your VM is currently in either the Saved or the
|
---|
2018 | Powered Off state, as displayed next to the VM in the
|
---|
2019 | VirtualBox main window, click on the
|
---|
2020 | <emphasis role="bold">Snapshots </emphasis>tab on the
|
---|
2021 | top right of the main window. Do one of the following:
|
---|
2022 | </para>
|
---|
2023 |
|
---|
2024 | <itemizedlist>
|
---|
2025 |
|
---|
2026 | <listitem>
|
---|
2027 | <para>
|
---|
2028 | Click on the small camera icon.
|
---|
2029 | </para>
|
---|
2030 | </listitem>
|
---|
2031 |
|
---|
2032 | <listitem>
|
---|
2033 | <para>
|
---|
2034 | Right-click on the <emphasis role="bold">Current
|
---|
2035 | State </emphasis>item in the list and select
|
---|
2036 | <emphasis role="bold">Take Snapshot</emphasis> from
|
---|
2037 | the menu.
|
---|
2038 | </para>
|
---|
2039 | </listitem>
|
---|
2040 |
|
---|
2041 | </itemizedlist>
|
---|
2042 | </listitem>
|
---|
2043 |
|
---|
2044 | </itemizedlist>
|
---|
2045 |
|
---|
2046 | <para>
|
---|
2047 | In either case, a window is displayed prompting you for a
|
---|
2048 | snapshot name. This name is purely for reference purposes to
|
---|
2049 | help you remember the state of the snapshot. For example, a
|
---|
2050 | useful name would be "Fresh installation from scratch, no
|
---|
2051 | Guest Additions", or "Service Pack 3 just installed". You
|
---|
2052 | can also add a longer text in the Description field.
|
---|
2053 | </para>
|
---|
2054 |
|
---|
2055 | <para>
|
---|
2056 | Your new snapshot will then appear in the snapshots list.
|
---|
2057 | Underneath your new snapshot, you will see an item called
|
---|
2058 | Current State, signifying that the current state of your VM
|
---|
2059 | is a variation based on the snapshot you took earlier. If
|
---|
2060 | you later take another snapshot, you will see that they will
|
---|
2061 | be displayed in sequence, and each subsequent snapshot is
|
---|
2062 | derived from an earlier one.
|
---|
2063 | </para>
|
---|
2064 |
|
---|
2065 | <mediaobject>
|
---|
2066 | <imageobject>
|
---|
2067 | <imagedata align="center" fileref="images/snapshots-1.png"
|
---|
2068 | width="12cm" />
|
---|
2069 | </imageobject>
|
---|
2070 | </mediaobject>
|
---|
2071 |
|
---|
2072 | <para>
|
---|
2073 | VirtualBox imposes no limits on the number of snapshots you
|
---|
2074 | can take. The only practical limitation is disk space on
|
---|
2075 | your host. Each snapshot stores the state of the virtual
|
---|
2076 | machine and thus occupies some disk space. See
|
---|
2077 | <xref linkend="snapshots-contents"/> for details on what is
|
---|
2078 | stored in a snapshot.
|
---|
2079 | </para>
|
---|
2080 | </listitem>
|
---|
2081 |
|
---|
2082 | <listitem>
|
---|
2083 | <para>
|
---|
2084 | <emphasis role="bold">Restore a snapshot</emphasis>. You do
|
---|
2085 | this by right-clicking on any snapshot you have taken in the
|
---|
2086 | list of snapshots. By restoring a snapshot, you go back or
|
---|
2087 | forward in time. The current state of the machine is lost,
|
---|
2088 | and the machine is restored to the exact state it was in
|
---|
2089 | when the snapshot was taken.
|
---|
2090 |
|
---|
2091 | <footnote>
|
---|
2092 |
|
---|
2093 | <para>
|
---|
2094 | Both the terminology and the functionality of restoring
|
---|
2095 | snapshots has changed with VirtualBox 3.1. Before that
|
---|
2096 | version, it was only possible to go back to the very
|
---|
2097 | last snapshot taken -- not earlier ones, and the
|
---|
2098 | operation was called "Discard current state" instead of
|
---|
2099 | "Restore last snapshot". The limitation has been lifted
|
---|
2100 | with version 3.1. It is now possible to restore
|
---|
2101 | <emphasis>any</emphasis> snapshot, going backward and
|
---|
2102 | forward in time.
|
---|
2103 | </para>
|
---|
2104 |
|
---|
2105 | </footnote>
|
---|
2106 | </para>
|
---|
2107 |
|
---|
2108 | <note>
|
---|
2109 | <para>
|
---|
2110 | Restoring a snapshot will affect the virtual hard drives
|
---|
2111 | that are connected to your VM, as the entire state of the
|
---|
2112 | virtual hard drive will be reverted as well. This means
|
---|
2113 | also that all files that have been created since the
|
---|
2114 | snapshot and all other file changes <emphasis>will be
|
---|
2115 | lost. </emphasis>In order to prevent such data loss while
|
---|
2116 | still making use of the snapshot feature, it is possible
|
---|
2117 | to add a second hard drive in "write-through" mode using
|
---|
2118 | the <computeroutput>VBoxManage</computeroutput> interface
|
---|
2119 | and use it to store your data. As write-through hard
|
---|
2120 | drives are <emphasis>not</emphasis> included in snapshots,
|
---|
2121 | they remain unaltered when a machine is reverted. See
|
---|
2122 | <xref
|
---|
2123 | linkend="hdimagewrites" />.
|
---|
2124 | </para>
|
---|
2125 | </note>
|
---|
2126 |
|
---|
2127 | <para>
|
---|
2128 | To avoid losing the current state when restoring a snapshot,
|
---|
2129 | you can create a new snapshot before the restore.
|
---|
2130 | </para>
|
---|
2131 |
|
---|
2132 | <para>
|
---|
2133 | By restoring an earlier snapshot and taking more snapshots
|
---|
2134 | from there, it is even possible to create a kind of
|
---|
2135 | alternate reality and to switch between these different
|
---|
2136 | histories of the virtual machine. This can result in a whole
|
---|
2137 | tree of virtual machine snapshots, as shown in the
|
---|
2138 | screenshot above.
|
---|
2139 | </para>
|
---|
2140 | </listitem>
|
---|
2141 |
|
---|
2142 | <listitem>
|
---|
2143 | <para>
|
---|
2144 | <emphasis role="bold">Delete a snapshot</emphasis>. This
|
---|
2145 | does not affect the state of the virtual machine, but only
|
---|
2146 | releases the files on disk that VirtualBox used to store the
|
---|
2147 | snapshot data, thus freeing disk space. To delete a
|
---|
2148 | snapshot, right-click on it in the snapshots tree and select
|
---|
2149 | <emphasis role="bold">Delete</emphasis>. Snapshots can be
|
---|
2150 | deleted even while a machine is running.
|
---|
2151 | </para>
|
---|
2152 |
|
---|
2153 | <note>
|
---|
2154 | <para>
|
---|
2155 | Whereas taking and restoring snapshots are fairly quick
|
---|
2156 | operations, deleting a snapshot can take a considerable
|
---|
2157 | amount of time since large amounts of data may need to be
|
---|
2158 | copied between several disk image files. Temporary disk
|
---|
2159 | files may also need large amounts of disk space while the
|
---|
2160 | operation is in progress.
|
---|
2161 | </para>
|
---|
2162 | </note>
|
---|
2163 |
|
---|
2164 | <para>
|
---|
2165 | There are some situations which cannot be handled while a VM
|
---|
2166 | is running, and you will get an appropriate message that you
|
---|
2167 | need to perform this snapshot deletion when the VM is shut
|
---|
2168 | down.
|
---|
2169 | </para>
|
---|
2170 | </listitem>
|
---|
2171 |
|
---|
2172 | </orderedlist>
|
---|
2173 |
|
---|
2174 | </sect2>
|
---|
2175 |
|
---|
2176 | <sect2 id="snapshots-contents">
|
---|
2177 |
|
---|
2178 | <title>Snapshot Contents</title>
|
---|
2179 |
|
---|
2180 | <para>
|
---|
2181 | Think of a snapshot as a point in time that you have preserved.
|
---|
2182 | More formally, a snapshot consists of the following three
|
---|
2183 | things:
|
---|
2184 | </para>
|
---|
2185 |
|
---|
2186 | <itemizedlist>
|
---|
2187 |
|
---|
2188 | <listitem>
|
---|
2189 | <para>
|
---|
2190 | The snapshot contains a complete copy of the VM settings,
|
---|
2191 | including the hardware configuration, so that when you
|
---|
2192 | restore a snapshot, the VM settings are restored as well.
|
---|
2193 | For example, if you changed the hard disk configuration or
|
---|
2194 | the VM's system settings, that change is undone when you
|
---|
2195 | restore the snapshot.
|
---|
2196 | </para>
|
---|
2197 |
|
---|
2198 | <para>
|
---|
2199 | The copy of the settings is stored in the machine
|
---|
2200 | configuration, an XML text file, and thus occupies very
|
---|
2201 | little space.
|
---|
2202 | </para>
|
---|
2203 | </listitem>
|
---|
2204 |
|
---|
2205 | <listitem>
|
---|
2206 | <para>
|
---|
2207 | The complete state of all the virtual disks attached to the
|
---|
2208 | machine is preserved. Going back to a snapshot means that
|
---|
2209 | all changes that had been made to the machine's disks, file
|
---|
2210 | by file and bit by bit, will be undone as well. Files that
|
---|
2211 | were since created will disappear, files that were deleted
|
---|
2212 | will be restored, changes to files will be reverted.
|
---|
2213 | </para>
|
---|
2214 |
|
---|
2215 | <para>
|
---|
2216 | Strictly speaking, this is only true for virtual hard disks
|
---|
2217 | in "normal" mode. You can configure disks to behave
|
---|
2218 | differently with snapshots, see
|
---|
2219 | <xref
|
---|
2220 | linkend="hdimagewrites" />. Even more
|
---|
2221 | formally and technically correct, it is not the virtual disk
|
---|
2222 | itself that is restored when a snapshot is restored.
|
---|
2223 | Instead, when a snapshot is taken, VirtualBox creates
|
---|
2224 | differencing images which contain only the changes since the
|
---|
2225 | snapshot were taken, and when the snapshot is restored,
|
---|
2226 | VirtualBox throws away that differencing image, thus going
|
---|
2227 | back to the previous state. This is both faster and uses
|
---|
2228 | less disk space. For the details, which can be complex, see
|
---|
2229 | <xref linkend="diffimages" />.
|
---|
2230 | </para>
|
---|
2231 |
|
---|
2232 | <para>
|
---|
2233 | Creating the differencing image as such does not occupy much
|
---|
2234 | space on the host disk initially, since the differencing
|
---|
2235 | image will initially be empty and grow dynamically later
|
---|
2236 | with each write operation to the disk. The longer you use
|
---|
2237 | the machine after having created the snapshot, however, the
|
---|
2238 | more the differencing image will grow in size.
|
---|
2239 | </para>
|
---|
2240 | </listitem>
|
---|
2241 |
|
---|
2242 | <listitem>
|
---|
2243 | <para>
|
---|
2244 | If you took a snapshot while the machine was running, the
|
---|
2245 | memory state of the machine is also saved in the snapshot.
|
---|
2246 | This is in the same way that memory can be saved when you
|
---|
2247 | close a VM window. When you restore such a snapshot,
|
---|
2248 | execution resumes at exactly the point when the snapshot was
|
---|
2249 | taken.
|
---|
2250 | </para>
|
---|
2251 |
|
---|
2252 | <para>
|
---|
2253 | The memory state file can be as large as the memory size of
|
---|
2254 | the virtual machine and will therefore occupy quite some
|
---|
2255 | disk space as well.
|
---|
2256 | </para>
|
---|
2257 | </listitem>
|
---|
2258 |
|
---|
2259 | </itemizedlist>
|
---|
2260 |
|
---|
2261 | </sect2>
|
---|
2262 |
|
---|
2263 | </sect1>
|
---|
2264 |
|
---|
2265 | <sect1 id="configbasics">
|
---|
2266 |
|
---|
2267 | <title>Virtual Machine Configuration</title>
|
---|
2268 |
|
---|
2269 | <para>
|
---|
2270 | When you select a virtual machine from the list in the Manager
|
---|
2271 | window, you will see a summary of that machine's settings on the
|
---|
2272 | right.
|
---|
2273 | </para>
|
---|
2274 |
|
---|
2275 | <para>
|
---|
2276 | Clicking on the <emphasis role="bold">Settings</emphasis> button
|
---|
2277 | in the toolbar at the top brings up a detailed window where you
|
---|
2278 | can configure many of the properties of the selected VM. But be
|
---|
2279 | careful. Even though it is possible to change all VM settings
|
---|
2280 | after installing a guest operating system, certain changes might
|
---|
2281 | prevent a guest operating system from functioning correctly if
|
---|
2282 | done after installation.
|
---|
2283 | </para>
|
---|
2284 |
|
---|
2285 | <note>
|
---|
2286 | <para>
|
---|
2287 | The Settings button is disabled while a VM is either in the
|
---|
2288 | Running or Saved state. This is because the settings dialog
|
---|
2289 | allows you to change fundamental characteristics of the virtual
|
---|
2290 | computer that is created for your guest operating system, and
|
---|
2291 | this operating system may perform well when, for example, half
|
---|
2292 | of its memory is taken away. As a result, if the Settings button
|
---|
2293 | is disabled, shut down the current VM first.
|
---|
2294 | </para>
|
---|
2295 | </note>
|
---|
2296 |
|
---|
2297 | <para>
|
---|
2298 | VirtualBox provides a wide range of parameters that can be changed
|
---|
2299 | for a virtual machine. The various settings that can be changed in
|
---|
2300 | the Settings window are described in detail in
|
---|
2301 | <xref
|
---|
2302 | linkend="BasicConcepts" />. Even more parameters are
|
---|
2303 | available with the VirtualBox command line interface. See
|
---|
2304 | <xref
|
---|
2305 | linkend="vboxmanage" />.
|
---|
2306 | </para>
|
---|
2307 |
|
---|
2308 | </sect1>
|
---|
2309 |
|
---|
2310 | <sect1 id="intro-removing">
|
---|
2311 |
|
---|
2312 | <title>Removing Virtual Machines</title>
|
---|
2313 |
|
---|
2314 | <para>
|
---|
2315 | To remove a virtual machine which you no longer need, right-click
|
---|
2316 | on it in the Manager's VM list and select
|
---|
2317 | <emphasis role="bold">Remove</emphasis>.
|
---|
2318 | </para>
|
---|
2319 |
|
---|
2320 | <para>
|
---|
2321 | A confirmation window is displayed that allows you to select
|
---|
2322 | whether the machine should only be removed from the list of
|
---|
2323 | machines or whether the files associated with it should also be
|
---|
2324 | deleted.
|
---|
2325 | </para>
|
---|
2326 |
|
---|
2327 | <para>
|
---|
2328 | The Remove menu item is disabled while a machine is running.
|
---|
2329 | </para>
|
---|
2330 |
|
---|
2331 | </sect1>
|
---|
2332 |
|
---|
2333 | <sect1 id="clone">
|
---|
2334 |
|
---|
2335 | <title>Cloning Virtual Machines</title>
|
---|
2336 |
|
---|
2337 | <para>
|
---|
2338 | To experiment with a VM configuration, test different guest OS
|
---|
2339 | levels or to simply backup a VM, VirtualBox can create a full or a
|
---|
2340 | linked copy of an existing VM.
|
---|
2341 |
|
---|
2342 | <footnote>
|
---|
2343 |
|
---|
2344 | <para>
|
---|
2345 | Cloning support was introduced with VirtualBox 4.1.
|
---|
2346 | </para>
|
---|
2347 |
|
---|
2348 | </footnote>
|
---|
2349 | </para>
|
---|
2350 |
|
---|
2351 | <para>
|
---|
2352 | A wizard guides you through the clone process.
|
---|
2353 | </para>
|
---|
2354 |
|
---|
2355 | <mediaobject>
|
---|
2356 | <imageobject>
|
---|
2357 | <imagedata align="center" fileref="images/clone-vm.png"
|
---|
2358 | width="10cm" />
|
---|
2359 | </imageobject>
|
---|
2360 | </mediaobject>
|
---|
2361 |
|
---|
2362 | <para>
|
---|
2363 | This wizard can be started from the right-click menu of the
|
---|
2364 | Manager's VM list, by clicking
|
---|
2365 | <emphasis role="bold">Clone</emphasis>, or the
|
---|
2366 | <emphasis role="bold">Snapshots</emphasis> view of the selected
|
---|
2367 | VM. First choose a new name for the clone. When you select
|
---|
2368 | <emphasis
|
---|
2369 | role="bold">Reinitialize the MAC address of all
|
---|
2370 | network cards</emphasis> every network card get a new MAC address
|
---|
2371 | assigned. This is useful when both the source VM and the cloned VM
|
---|
2372 | have to operate on the same network. If you leave this unchanged,
|
---|
2373 | all network cards have the same MAC address like the one in the
|
---|
2374 | source VM. Depending on how you invoke the wizard you have
|
---|
2375 | different choices for the cloning operation. First you need to
|
---|
2376 | decide if the clone should be linked to the source VM or if a
|
---|
2377 | fully independent clone should be created.
|
---|
2378 | </para>
|
---|
2379 |
|
---|
2380 | <itemizedlist>
|
---|
2381 |
|
---|
2382 | <listitem>
|
---|
2383 | <para>
|
---|
2384 | <emphasis role="bold">Full clone:</emphasis> In this mode, all
|
---|
2385 | dependent disk images are copied to the new VM folder. The
|
---|
2386 | clone can fully operate without the source VM.
|
---|
2387 | </para>
|
---|
2388 | </listitem>
|
---|
2389 |
|
---|
2390 | <listitem>
|
---|
2391 | <para>
|
---|
2392 | <emphasis role="bold">Linked clone:</emphasis> In this mode,
|
---|
2393 | new differencing disk images are created where the parent disk
|
---|
2394 | images are the source disk images. If you selected the current
|
---|
2395 | state of the source VM as clone point, a new snapshot will be
|
---|
2396 | created implicitly.
|
---|
2397 | </para>
|
---|
2398 | </listitem>
|
---|
2399 |
|
---|
2400 | </itemizedlist>
|
---|
2401 |
|
---|
2402 | <para>
|
---|
2403 | After selecting the clone mode, you need to decide what exactly
|
---|
2404 | should be cloned. You can always create a clone of the
|
---|
2405 | <emphasis>current state</emphasis> only or
|
---|
2406 | <emphasis>all</emphasis>. When you select
|
---|
2407 | <emphasis>all</emphasis>, the current state and in addition all
|
---|
2408 | snapshots are cloned. If you started from a snapshot which has
|
---|
2409 | additional children, you can also clone the
|
---|
2410 | <emphasis role="italic">current state and all children</emphasis>.
|
---|
2411 | This creates a clone starting with this snapshot and includes all
|
---|
2412 | child snapshots.
|
---|
2413 | </para>
|
---|
2414 |
|
---|
2415 | <para>
|
---|
2416 | The clone operation itself can be a lengthy operation depending on
|
---|
2417 | the size and count of the attached disk images. Also keep in mind
|
---|
2418 | that every snapshot has differencing disk images attached, which
|
---|
2419 | need to be cloned as well.
|
---|
2420 | </para>
|
---|
2421 |
|
---|
2422 | <para>
|
---|
2423 | The Clone menu item is disabled while a machine is running.
|
---|
2424 | </para>
|
---|
2425 |
|
---|
2426 | <para>
|
---|
2427 | To clone a VM from the command line, see
|
---|
2428 | <xref
|
---|
2429 | linkend="vboxmanage-clonevm" />.
|
---|
2430 | </para>
|
---|
2431 |
|
---|
2432 | </sect1>
|
---|
2433 |
|
---|
2434 | <sect1 id="ovf">
|
---|
2435 |
|
---|
2436 | <title>Importing and Exporting Virtual Machines</title>
|
---|
2437 |
|
---|
2438 | <para>
|
---|
2439 | VirtualBox can import and export virtual machines in the
|
---|
2440 | industry-standard Open Virtualization Format (OVF).
|
---|
2441 |
|
---|
2442 | <footnote>
|
---|
2443 |
|
---|
2444 | <para>
|
---|
2445 | OVF support was originally introduced with VirtualBox 2.2 and
|
---|
2446 | has seen major improvements with every version since.
|
---|
2447 | </para>
|
---|
2448 |
|
---|
2449 | </footnote>
|
---|
2450 | </para>
|
---|
2451 |
|
---|
2452 | <para>
|
---|
2453 | OVF is a cross-platform standard supported by many virtualization
|
---|
2454 | products which allows for creating ready-made virtual machines
|
---|
2455 | that can then be imported into a virtualizer such as VirtualBox.
|
---|
2456 | VirtualBox makes OVF import and export easy to access and supports
|
---|
2457 | it from the Manager window as well as its command-line interface.
|
---|
2458 | This allows for packaging so-called <emphasis>virtual
|
---|
2459 | appliances</emphasis>. These are disk images, together with
|
---|
2460 | configuration settings that can be distributed easily. This way
|
---|
2461 | one can offer complete ready-to-use software packages, including
|
---|
2462 | operating systems with applications, that need no configuration or
|
---|
2463 | installation except for importing into VirtualBox.
|
---|
2464 | </para>
|
---|
2465 |
|
---|
2466 | <note>
|
---|
2467 | <para>
|
---|
2468 | The OVF standard is complex, and support in VirtualBox is an
|
---|
2469 | ongoing process. In particular, no guarantee is made that
|
---|
2470 | VirtualBox supports all appliances created by other
|
---|
2471 | virtualization software. For a list of known limitations, see
|
---|
2472 | <xref
|
---|
2473 | linkend="KnownIssues" />.
|
---|
2474 | </para>
|
---|
2475 | </note>
|
---|
2476 |
|
---|
2477 | <para>
|
---|
2478 | Appliances in OVF format can appear in the following variants:
|
---|
2479 | </para>
|
---|
2480 |
|
---|
2481 | <itemizedlist>
|
---|
2482 |
|
---|
2483 | <listitem>
|
---|
2484 | <para>
|
---|
2485 | They can come in several files, as one or several disk images,
|
---|
2486 | typically in the widely-used VMDK format. See
|
---|
2487 | <xref
|
---|
2488 | linkend="vdidetails" />. They also include a
|
---|
2489 | textual description file in an XML dialect with an
|
---|
2490 | <computeroutput>.ovf</computeroutput> extension. These files
|
---|
2491 | must then reside in the same directory for VirtualBox to be
|
---|
2492 | able to import them.
|
---|
2493 | </para>
|
---|
2494 | </listitem>
|
---|
2495 |
|
---|
2496 | <listitem>
|
---|
2497 | <para>
|
---|
2498 | Alternatively, the above files can be packed together into a
|
---|
2499 | single archive file, typically with an
|
---|
2500 | <computeroutput>.ova</computeroutput> extension. Such archive
|
---|
2501 | files use a variant of the TAR archive format and can
|
---|
2502 | therefore be unpacked outside of VirtualBox with any utility
|
---|
2503 | that can unpack standard TAR files.
|
---|
2504 | </para>
|
---|
2505 | </listitem>
|
---|
2506 |
|
---|
2507 | </itemizedlist>
|
---|
2508 |
|
---|
2509 | <para>
|
---|
2510 | To <emphasis role="bold">import an appliance</emphasis> in one of
|
---|
2511 | the above formats, double-click on the OVF/OVA file.
|
---|
2512 |
|
---|
2513 | <footnote>
|
---|
2514 |
|
---|
2515 | <para>
|
---|
2516 | Starting with version 4.0, VirtualBox creates file type
|
---|
2517 | associations for OVF and OVA files on your host operating
|
---|
2518 | system.
|
---|
2519 | </para>
|
---|
2520 |
|
---|
2521 | </footnote>
|
---|
2522 |
|
---|
2523 | Alternatively, select <emphasis role="bold">File</emphasis>,
|
---|
2524 | <emphasis role="bold">Import Appliance</emphasis> from the Manager
|
---|
2525 | window. In the displayed file dialog, navigate to the file with
|
---|
2526 | either the <computeroutput>.ovf</computeroutput> or the
|
---|
2527 | <computeroutput>.ova</computeroutput> file extension.
|
---|
2528 | </para>
|
---|
2529 |
|
---|
2530 | <para>
|
---|
2531 | If VirtualBox can handle the file, a dialog similar to the
|
---|
2532 | following will appear:
|
---|
2533 | </para>
|
---|
2534 |
|
---|
2535 | <mediaobject>
|
---|
2536 | <imageobject>
|
---|
2537 | <imagedata align="center" fileref="images/ovf-import.png"
|
---|
2538 | width="12cm" />
|
---|
2539 | </imageobject>
|
---|
2540 | </mediaobject>
|
---|
2541 |
|
---|
2542 | <para>
|
---|
2543 | This presents the virtual machines described in the OVF file and
|
---|
2544 | allows you to change the virtual machine settings by
|
---|
2545 | double-clicking on the description items. Once you click on
|
---|
2546 | <emphasis
|
---|
2547 | role="bold">"Import"</emphasis>, VirtualBox will
|
---|
2548 | copy the disk images and create local virtual machines with the
|
---|
2549 | settings described in the dialog. These will then show up in the
|
---|
2550 | Manager's list of virtual machines.
|
---|
2551 | </para>
|
---|
2552 |
|
---|
2553 | <para>
|
---|
2554 | Note that since disk images tend to be big, and VMDK images that
|
---|
2555 | come with virtual appliances are typically shipped in a special
|
---|
2556 | compressed format that is unsuitable for being used by virtual
|
---|
2557 | machines directly, the images will need to be unpacked and copied
|
---|
2558 | first, which can take a few minutes.
|
---|
2559 | </para>
|
---|
2560 |
|
---|
2561 | <para>
|
---|
2562 | To import an image using the command line, see
|
---|
2563 | <xref
|
---|
2564 | linkend="vboxmanage-import" />.
|
---|
2565 | </para>
|
---|
2566 |
|
---|
2567 | <para>
|
---|
2568 | To <emphasis role="bold">export virtual machines</emphasis> that
|
---|
2569 | you already have in VirtualBox, select
|
---|
2570 | <emphasis role="bold">File</emphasis>, <emphasis role="bold">
|
---|
2571 | Export Appliance</emphasis>. A dialog window is displayed that
|
---|
2572 | enables you to combine several virtual machines into an OVF
|
---|
2573 | appliance. Select the target location where the target files
|
---|
2574 | should be stored, and the conversion process begins. This can take
|
---|
2575 | a while.
|
---|
2576 | </para>
|
---|
2577 |
|
---|
2578 | <para>
|
---|
2579 | To export an image using the command line, see
|
---|
2580 | <xref
|
---|
2581 | linkend="vboxmanage-export" />.
|
---|
2582 | </para>
|
---|
2583 |
|
---|
2584 | <note>
|
---|
2585 | <para>
|
---|
2586 | OVF cannot describe snapshots that were taken for a virtual
|
---|
2587 | machine. As a result, when you export a virtual machine that has
|
---|
2588 | snapshots, only the current state of the machine will be
|
---|
2589 | exported. The disk images in the export will have a "flattened"
|
---|
2590 | state identical to the current state of the virtual machine.
|
---|
2591 | </para>
|
---|
2592 | </note>
|
---|
2593 |
|
---|
2594 | </sect1>
|
---|
2595 |
|
---|
2596 | <sect1 id="globalsettings">
|
---|
2597 |
|
---|
2598 | <title>Global Settings</title>
|
---|
2599 |
|
---|
2600 | <para>
|
---|
2601 | The Global Settings dialog can be displayed using the
|
---|
2602 | <emphasis role="bold">File</emphasis> menu, by clicking the
|
---|
2603 | <emphasis role="bold">Preferences</emphasis> item. This dialog
|
---|
2604 | offers a selection of settings, most of which apply to all virtual
|
---|
2605 | machines of the current user. The
|
---|
2606 | <emphasis role="bold">Extensions</emphasis> option applies to the
|
---|
2607 | entire system.
|
---|
2608 | </para>
|
---|
2609 |
|
---|
2610 | <para>
|
---|
2611 | The following settings are available:
|
---|
2612 | </para>
|
---|
2613 |
|
---|
2614 | <itemizedlist>
|
---|
2615 |
|
---|
2616 | <listitem>
|
---|
2617 | <para>
|
---|
2618 | <emphasis role="bold">General.</emphasis> Enables the user to
|
---|
2619 | specify the default folder/directory for VM files, and the
|
---|
2620 | VRDP Authentication Library.
|
---|
2621 | </para>
|
---|
2622 | </listitem>
|
---|
2623 |
|
---|
2624 | <listitem>
|
---|
2625 | <para>
|
---|
2626 | <emphasis role="bold">Input.</emphasis> Enables the user to
|
---|
2627 | specify the Host yey. It identifies the key that toggles
|
---|
2628 | whether the cursor is in the focus of the VM or the Host
|
---|
2629 | operating system windows, see
|
---|
2630 | <xref linkend="keyb_mouse_normal"/>, and which is also used to
|
---|
2631 | trigger certain VM actions, see
|
---|
2632 | <xref
|
---|
2633 | linkend="specialcharacters"/>.
|
---|
2634 | </para>
|
---|
2635 | </listitem>
|
---|
2636 |
|
---|
2637 | <listitem>
|
---|
2638 | <para>
|
---|
2639 | <emphasis role="bold">Update.</emphasis> Enables the user to
|
---|
2640 | specify various settings for Automatic Updates.
|
---|
2641 | </para>
|
---|
2642 | </listitem>
|
---|
2643 |
|
---|
2644 | <listitem>
|
---|
2645 | <para>
|
---|
2646 | <emphasis role="bold">Language.</emphasis> Enables the user to
|
---|
2647 | specify the GUI language.
|
---|
2648 | </para>
|
---|
2649 | </listitem>
|
---|
2650 |
|
---|
2651 | <listitem>
|
---|
2652 | <para>
|
---|
2653 | <emphasis role="bold">Display.</emphasis> Enables the user to
|
---|
2654 | specify the screen resolution, and its width and height.
|
---|
2655 | </para>
|
---|
2656 | </listitem>
|
---|
2657 |
|
---|
2658 | <listitem>
|
---|
2659 | <para>
|
---|
2660 | <emphasis role="bold">Network.</emphasis> Enables the user to
|
---|
2661 | configure the details of Host Only Networks.
|
---|
2662 | </para>
|
---|
2663 | </listitem>
|
---|
2664 |
|
---|
2665 | <listitem>
|
---|
2666 | <para>
|
---|
2667 | <emphasis role="bold">Extensions.</emphasis> Enables the user
|
---|
2668 | to list and manage the installed extension packages.
|
---|
2669 | </para>
|
---|
2670 | </listitem>
|
---|
2671 |
|
---|
2672 | <listitem>
|
---|
2673 | <para>
|
---|
2674 | <emphasis role="bold">Proxy.</emphasis> Enables the user to
|
---|
2675 | configure a HTTP Proxy Server.
|
---|
2676 | </para>
|
---|
2677 | </listitem>
|
---|
2678 |
|
---|
2679 | </itemizedlist>
|
---|
2680 |
|
---|
2681 | </sect1>
|
---|
2682 |
|
---|
2683 | <sect1 id="frontends">
|
---|
2684 |
|
---|
2685 | <title>Alternative Front-Ends</title>
|
---|
2686 |
|
---|
2687 | <para>
|
---|
2688 | As briefly mentioned in <xref linkend="features-overview" />,
|
---|
2689 | VirtualBox has a very flexible internal design that allows for
|
---|
2690 | using multiple interfaces to control the same virtual machines.
|
---|
2691 | For example, you can start a virtual machine with the VirtualBox
|
---|
2692 | Manager window and then stop it from the command line. With
|
---|
2693 | VirtualBox's support for the Remote Desktop Protocol (RDP), you
|
---|
2694 | can even run virtual machines remotely on a headless server and
|
---|
2695 | have all the graphical output redirected over the network.
|
---|
2696 | </para>
|
---|
2697 |
|
---|
2698 | <para>
|
---|
2699 | The following front-ends are shipped in the standard VirtualBox
|
---|
2700 | package:
|
---|
2701 | </para>
|
---|
2702 |
|
---|
2703 | <itemizedlist>
|
---|
2704 |
|
---|
2705 | <listitem>
|
---|
2706 | <para>
|
---|
2707 | <computeroutput>VirtualBox</computeroutput> is the VirtualBox
|
---|
2708 | Manager. This graphical user interface uses the Qt toolkit,
|
---|
2709 | and is described throughout this User Manual. While this is
|
---|
2710 | the simplest and easiest front-end to use, some of the more
|
---|
2711 | advanced VirtualBox features are not included.
|
---|
2712 | </para>
|
---|
2713 | </listitem>
|
---|
2714 |
|
---|
2715 | <listitem>
|
---|
2716 | <para>
|
---|
2717 | <computeroutput>VBoxManage</computeroutput> is a command-line
|
---|
2718 | interface for automated and detailed control of every aspect
|
---|
2719 | of VirtualBox. See <xref
|
---|
2720 | linkend="vboxmanage" />.
|
---|
2721 | </para>
|
---|
2722 | </listitem>
|
---|
2723 |
|
---|
2724 | <listitem>
|
---|
2725 | <para>
|
---|
2726 | <computeroutput>VBoxSDL</computeroutput> is an alternative,
|
---|
2727 | simple graphical front-end with an intentionally limited
|
---|
2728 | feature set, designed to only display virtual machines that
|
---|
2729 | are controlled in detail with
|
---|
2730 | <computeroutput>VBoxManage</computeroutput>. This can be used
|
---|
2731 | in environments where displaying all the features of the full
|
---|
2732 | GUI is not feasible. See <xref
|
---|
2733 | linkend="vboxsdl" />.
|
---|
2734 | </para>
|
---|
2735 | </listitem>
|
---|
2736 |
|
---|
2737 | <listitem>
|
---|
2738 | <para>
|
---|
2739 | <computeroutput>VBoxHeadless</computeroutput> is a front-end
|
---|
2740 | that produces no visible output on the host at all, but can
|
---|
2741 | act as a RDP server if the VirtualBox Remote Desktop Extension
|
---|
2742 | (VRDE) is installed and enabled for the VM. As opposed to the
|
---|
2743 | other graphical interfaces, the headless front-end requires no
|
---|
2744 | graphics support. This is useful, for example, if you want to
|
---|
2745 | host your virtual machines on a headless Linux server that has
|
---|
2746 | no X Window system installed. See
|
---|
2747 | <xref
|
---|
2748 | linkend="vboxheadless" />.
|
---|
2749 | </para>
|
---|
2750 | </listitem>
|
---|
2751 |
|
---|
2752 | </itemizedlist>
|
---|
2753 |
|
---|
2754 | <para>
|
---|
2755 | If the above front-ends still do not satisfy your particular
|
---|
2756 | needs, it is possible to create yet another front-end to the
|
---|
2757 | complex virtualization engine that is the core of VirtualBox, as
|
---|
2758 | the VirtualBox core neatly exposes all of its features in a clean
|
---|
2759 | API. See <xref linkend="VirtualBoxAPI" />.
|
---|
2760 | </para>
|
---|
2761 |
|
---|
2762 | </sect1>
|
---|
2763 |
|
---|
2764 | </chapter>
|
---|