VirtualBox

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

Last change on this file was 108599, checked in by vboxsync, 8 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: 3.5 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 VM Folder</title>
5
6 <body>
7 <p>By default, each virtual machine has a directory on your host computer where all the files of that machine are stored: the XML settings file, with a <filepath>.vbox</filepath> file extension, and its disk images. This is called the <uicontrol>VM Folder</uicontrol>.</p>
8 <p>By default, this machine folder is located in a common folder called <filepath>VirtualBox VMs</filepath>, which <ph conkeyref="vbox-conkeyref-phrases/product-name"/> creates in the current system user's home directory. The location of this home directory depends on the conventions of the host operating system, as follows:</p>
9 <ul>
10 <li>
11 <p>On Windows, this is the location returned by the <codeph>SHGetFolderPath</codeph> function of the Windows system library Shell32.dll, asking for the user profile. A typical location is <filepath>C:\Users\<varname>username</varname></filepath>.</p>
12 </li>
13 <li>
14 <p>On Linux, macOS, and Oracle Solaris, this is generally taken from the environment variable <filepath>$HOME</filepath>, except for the user <codeph>root</codeph> where it is taken from the account database. This is a workaround for the frequent trouble caused by users using <ph conkeyref="vbox-conkeyref-phrases/product-name"/> in combination with the tool <userinput>sudo</userinput>, which by default does not reset the environment variable <filepath>$HOME</filepath>.</p>
15 <p>A typical location on Linux and Oracle Solaris is <filepath>/home/<varname>username</varname>
16 </filepath> and on macOS is <filepath>/Users/<varname>username</varname></filepath>.</p>
17 </li>
18 </ul>
19 <p>For simplicity, we abbreviate the location of the home directory as <filepath>$HOME</filepath>. Using that convention, the common folder for all virtual machines is <filepath>$HOME/VirtualBox VMs</filepath>.</p>
20 <p>As an example, when you create a virtual machine called <i>Example VM</i>, <ph conkeyref="vbox-conkeyref-phrases/product-name"/> creates the following:</p>
21 <ul>
22 <li>
23 <p>A VM folder: <filepath>$HOME/VirtualBox VMs/Example VM/</filepath></p>
24 </li>
25 <li>
26 <p>In the VM folder, a settings file: <filepath>Example VM.vbox</filepath></p>
27 </li>
28 <li>
29 <p>In the VM folder, a virtual disk image: <filepath>Example VM.vdi</filepath>.</p>
30 </li>
31 </ul>
32 <p>This is the default layout if you use the <b outputclass="bold">Create New Virtual Machine</b> workflow described in <xref href="create-vm.dita"/>. Once you start working with the VM, additional files are added. Log files are in a subfolder called <filepath>Logs</filepath>, and if you have taken snapshots, they are in a <filepath>Snapshots</filepath> subfolder. For each VM, you can change the location of its snapshots folder in the VM settings.</p>
33 <p>To change the default VM folder:<ol>
34 <li>In <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/>, click <uicontrol>File</uicontrol>, <uicontrol>Preferences</uicontrol>.</li>
35 <li>In <uicontrol>Preferences</uicontrol>, click <uicontrol>General</uicontrol> and change the <uicontrol>Default Machine Folder</uicontrol>.</li>
36 </ol>Alternatively, use the <userinput>VBoxManage setproperty machinefolder</userinput> command. See <xref href="../cli_topics/vboxmanage-setproperty.dita"/>.</p>
37 </body>
38
39</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