VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/vboxconfigdata-machine-folder.dita@ 107390

Last change on this file since 107390 was 107390, checked in by vboxsync, 7 weeks ago

Docs: bugref:10705. bugref: 10829. The docs build has been modified to split generated refentry dita files and the user manual files and the following commits from doc's team git repo has been applied:

0946136c74dda0483704db891345cb39548b4e28 Started consolidating known issues and troubleshooting information
845b847e6a8e778b38a57867e25ee5e086a73800 Added individual topics for list of known issues, integrated into Troubleshooting section.
bb574836aac775889bd61e4a72f489617fcb7d18 Removed EFI firmware from experimental features for 7.2
6d2e68b244869991e713d170ecd239739d99ba56 Moved known issues into Known Issues section
e2630c896561587718b5c3197c384a38d07014d5 Merge branch 'VBP-1461_experimental-features' into 'main'
0512e2cce51f49ccdc56f3381a2a0c924f2bd278 Feedback on known issues
a77d6c980f6ff5cad9d32b2fb9290990093a03fa Restructured host and guest OS topics
988af5cc9628f5de0806531bc98686f691a911fd Updates with feedbback from Jacob
982a61c9f25b22b745ec483e763e3d88efe59c40 Included feedback from Jacob
93181c8c6cc2d9a26bcccb1145cb0423c0d9f4c9 Updated known issues with feedback from Klaus
8bc369561c383f09b409fe5e44f507440b3735fb Created Legacy Guest OS section
d7932f55accdab7a03666302d58b8c941cd48be2 Moved known issues to more appropriate places for the info
2a4aa094ba8a7ac6894d2a777316eabf41746580 Further moving of known issues
baeabd5308c5519a4dc26b4197be9b00e419a85a Updated links to cli_topics

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 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="vboxconfigdata-machine-folder">
4 <title>The Machine Folder</title>
5
6 <body>
7 <p>
8 By default, each virtual machine has a directory on your host
9 computer where all the files of that machine are stored: the XML
10 settings file, with a <filepath>.vbox</filepath> file extension,
11 and its disk images. This is called the <i>machine
12 folder</i>.
13 </p>
14 <p>
15 By default, this machine folder is located in a common folder
16 called <filepath>VirtualBox VMs</filepath>, which <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
17 creates in the current system user's home directory. The
18 location of this home directory depends on the conventions of
19 the host operating system, as follows:
20 </p>
21 <ul>
22 <li>
23 <p>
24 On Windows, this is the location returned by the
25 <codeph>SHGetFolderPath</codeph> function of the Windows
26 system library Shell32.dll, asking for the user profile. A
27 typical location is
28 <filepath>C:\Users\<varname>username</varname>
29 </filepath>.
30 </p>
31 </li>
32 <li>
33 <p>
34 On Linux, macOS, and Oracle Solaris, this is generally
35 taken from the environment variable
36 <filepath>$HOME</filepath>, except for the user
37 <codeph>root</codeph> where it is taken from the account
38 database. This is a workaround for the frequent trouble
39 caused by users using <ph conkeyref="vbox-conkeyref-phrases/product-name"/> in combination with the
40 tool <userinput>sudo</userinput>, which by default does not
41 reset the environment variable <filepath>$HOME</filepath>.
42 </p>
43 <p>
44 A typical location on Linux and Oracle Solaris is
45 <filepath>/home/<varname>username</varname>
46 </filepath>
47 and on macOS is
48 <filepath>/Users/<varname>username</varname>
49 </filepath>.
50 </p>
51 </li>
52 </ul>
53 <p>
54 For simplicity, we abbreviate the location of the home directory
55 as <filepath>$HOME</filepath>. Using that convention, the common
56 folder for all virtual machines is <filepath>$HOME/VirtualBox
57 VMs</filepath>.
58 </p>
59 <p> As an example, when you create a virtual machine called <i>Example VM</i>, <ph
60 conkeyref="vbox-conkeyref-phrases/product-name"/> creates the following: </p>
61 <ul>
62 <li>
63 <p>
64 A machine folder: <filepath>$HOME/VirtualBox VMs/Example
65 VM/</filepath>
66 </p>
67 </li>
68 <li>
69 <p>
70 In the machine folder, a settings file: <filepath>Example
71 VM.vbox</filepath>
72 </p>
73 </li>
74 <li>
75 <p>
76 In the machine folder, a virtual disk image:
77 <filepath>Example VM.vdi</filepath>.
78 </p>
79 </li>
80 </ul>
81 <p>
82 This is the default layout if you use the
83 <b outputclass="bold">Create New Virtual Machine</b>
84 wizard described in <xref href="create-vm-wizard.dita">Creating Your First Virtual Machine</xref>. Once you
85 start working with the VM, additional files are added. Log files
86 are in a subfolder called <filepath>Logs</filepath>, and if you
87 have taken snapshots, they are in a
88 <filepath>Snapshots</filepath> subfolder. For each VM, you can
89 change the location of its snapshots folder in the VM settings.
90 </p>
91 <p> You can change the default machine folder by selecting <b outputclass="bold">Preferences</b> from the <b outputclass="bold">File</b> menu in the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> main window. Then, in the displayed window, click the <b outputclass="bold">General</b> tab. Alternatively, use the <userinput>VBoxManage setproperty machinefolder</userinput> command. See <xref href="../cli_topics/vboxmanage-setproperty.dita"/>.</p>
92 </body>
93
94</topic>
Note: See TracBrowser for help on using the repository browser.

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