VirtualBox stores all the virtual machine files in a folder named VirtualBox VMs. The folder, by default, is within the user's home directory. It contains all the virtual machine's configuration files along with the associated virtual disks.

You can change the default virtual machine directory location to unclutter your home directory or have a bigger and faster disk drive to store the virtual disks.

Steps to change default Virtual Machine directory for Virtualbox:

  1. Create a new folder if you dont already have one.
    $ mkdir -p ~/Workspace/VMs/VirtualBox
  2. Launch VirtualBox.
  3. Click on Tools.
  4. Click on Preferences.
  5. Click on dropdown list of Default Machine Folder option.
  6. Click Other to chose another folder from the list.
  7. Select the default folder for virtual machines.
  8. Click Open to confirm selected folder.
  9. Click OK to save and apply configuration changes.
  10. Move VirtualBox virtual machines to new folder if required.
Discuss the article:

Comment anonymously. Login not required.

Share!