VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/create-vm-virtual-hard-disk.dita@ 108750

Last change on this file since 108750 was 108599, checked in by vboxsync, 5 weeks ago

Docs: bugref:10705. The following commits from doc's team git repo has been applied:

ab13e70df1f11d94f5aa74320f3d5bcd09eb0615 Merge branch 'VBP-1524_intro' into 'main'
2d22f9e3961d9af151d8fd68be179fe158ecdbe8 Updated 7.2 NAT topics
db0dea26b24752c0700fe2482c71096e5e34c144 Second draft for review
1ed94a09615e74cbefb40eae15334256716fce3e Updates to User Guide previously made by changesets 166326 and 166288 in vbox repo.
6dd488e154f44f2fe176a5a8b966c53b4dc9bc11 initial changes more to do
c5daadaa4ca2c9566a138d0f8747ac251409a597 more changes still more to do
f6485c3e017173701848468da9411723eeffaa7a Renamed topics and IDs
7ee42f9b5ec05968c90fdc476c2b2d63d9b729c2 Redrafted as two topics
3d44dd223c479bff7e5e7b4ff04551bf3e100a5c Tidied up unattended installation topics and removed duplication, corrected links.
e55738b05d654b7e3ad4e3bf9d085207703188b0 Updated overview of creating VM
168aee91e9dfffc02caaf409f35dd5a4087acfbe Merge branch 'VBP-1276_createVM' into 'main'
b51d42c208d4a5bc5c8cb0fc3a99180446ebe58e Removed obsolete note, and fixed typo
bf979f08427ff1dbb28c8a746789188416ffd137 Updated refs to Global Tools
e505a3f336b2dd2a8fb518b5dd6df4de3aa4e4be Removed unreferenced files
707ad04594a853717261ca66b320caaeb5b9ebbb Draft changes to network setup
ddda752407bad20a499b04206006b95fc1d6466d Restructured and updated network config topics
809714626c61832152b8f6d709abfbf750904af9 Updated topics for configuring vbox

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 KB
Line 
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>
Note: See TracBrowser for help on using the repository browser.

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