1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="create-vm-virtual-hard-disk">
|
---|
4 | <title>Specify a Virtual Hard Disk</title>
|
---|
5 | <body>
|
---|
6 | <p>There are a few ways in which <ph conkeyref="vbox-conkeyref-phrases/product-name"/> can provide hard disk space to a VM, see <xref href="storage.dita#storage"/>. In most cases you will use a virtual hard disk, and usually you create a new virtual hard disk when you create a VM.</p>
|
---|
7 | <p>A virtual hard disk is a large image file on your physical hard disk, whose contents <ph conkeyref="vbox-conkeyref-phrases/product-name"/> presents to your VM as if it were a complete hard disk. You can copy this file to another host, and use it with another <ph conkeyref="vbox-conkeyref-phrases/product-name"/> VM if it is no longer in use.</p>
|
---|
8 | <p>To prevent your physical hard disk on the host OS from filling up, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> limits the size of the image file. But the image file must be large enough to hold the contents of the guest OS and the applications you want to install. For a Windows or Linux guest, you will probably need several gigabytes for any serious use. The size limit of the image file can be changed later, see <xref href="../cli_topics/vboxmanage-modifymedium.dita"/>.</p>
|
---|
9 | <section id="section_wql_21r_pbc">
|
---|
10 | <title>Create a New Virtual Hard Disk</title>
|
---|
11 | </section>
|
---|
12 | <p>
|
---|
13 | <ol id="ol_z2h_q5q_pbc">
|
---|
14 | <li>
|
---|
15 | <p>Select <uicontrol>Create a New Virtual Hard Disk</uicontrol>. This creates a new, empty virtual hard disk image, located in the VM folder.</p>
|
---|
16 | </li>
|
---|
17 | <li>
|
---|
18 | <p>Enter the following settings</p>
|
---|
19 | <ul id="ul_i3n_y1r_pbc">
|
---|
20 | <li>
|
---|
21 | <p><uicontrol>Disk Size</uicontrol>. Use the slider to select a maximum size for the hard disk in the new VM.</p>
|
---|
22 | </li>
|
---|
23 | <li>
|
---|
24 | <p><uicontrol>Pre-allocate Full Size</uicontrol>. This setting determines the type of image file used for the disk image. Select this setting to use a <i>fixed-size file</i> for the disk image. Otherwise, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> will use a <i>dynamically allocated file</i> for the disk image.</p>
|
---|
25 | <p>The different types of image file behave as follows.</p>
|
---|
26 | <p><ul id="ul_j3n_y1r_pbc">
|
---|
27 | <li>
|
---|
28 | <p><b outputclass="bold">Dynamically allocated file.</b> This type of image file only grows in size when the guest actually stores data on its virtual hard disk. Therefore, this file is small initially. As the drive is filled with data, the file grows to the specified size.</p>
|
---|
29 | </li>
|
---|
30 | <li>
|
---|
31 | <p><b outputclass="bold">Fixed-size file.</b> This type of image file immediately occupies the file specified, even if only a fraction of that virtual hard disk space is actually in use. </p>
|
---|
32 | </li>
|
---|
33 | </ul>While occupying much more space, a fixed-size file incurs less overhead and is therefore slightly faster than a dynamically allocated file.</p>
|
---|
34 | <p>For more details about the differences, see <xref href="vdidetails.dita#vdidetails"/>. </p>
|
---|
35 | </li>
|
---|
36 | </ul>
|
---|
37 | </li>
|
---|
38 | </ol>
|
---|
39 | </p>
|
---|
40 | <section id="section_bdq_h1r_pbc">
|
---|
41 | <title>Use an Existing Virtual Hard Disk File</title>
|
---|
42 | </section>
|
---|
43 | <p>
|
---|
44 | <note id="note_fzl_3tw_hcc" type="caution">Data on the disk image may be deleted.</note>
|
---|
45 | <ol id="ol_txk_str_pbc">
|
---|
46 | <li>
|
---|
47 | <p>Ensure the image file is in a suitable location (usually the machine folder) and not in use by other VMs.</p>
|
---|
48 | </li>
|
---|
49 | <li>
|
---|
50 | <p>Select <uicontrol>Use an Existing Virtual Hard Disk File</uicontrol></p>
|
---|
51 | </li>
|
---|
52 | <li>
|
---|
53 | <p>Select the image file to use with the new VM, and then click <b outputclass="bold">Add</b>.</p>
|
---|
54 | </li>
|
---|
55 | </ol>
|
---|
56 | </p>
|
---|
57 | <section>
|
---|
58 | <title>Create Virtual Machine Without a Virtual Hard Disk</title>
|
---|
59 | <p>To install a guest operating system you need a virtual hard disk.</p>
|
---|
60 | <p>If you have a specific use case that does not require a hard disk, choose the option <uicontrol>Create Virtual Machine Without a Virtual Hard Disk</uicontrol>. </p>
|
---|
61 | </section>
|
---|
62 | </body>
|
---|
63 | </topic>
|
---|