#4752 closed defect (worksforme)
Allow virtual machines to be run from multiple locations simultaneously.
Reported by: | omega | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.0.4 |
Keywords: | manager, directories, home folder | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
I use both external and internal drives to store virtual machines. This creates an issue as it appears as though I can only run VMs located in my home directory. Most suggestions I've heard to this issue are to provide a new base directory for vbox to run from, but I want to run virtual machines from two or more separate locations...
Is there any way the vbox UI can enumerate systems from multiple locations, discern when they are "unavailable" (perhaps grey them out?) and allow them to be started from those locations?
Change History (2)
comment:1 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
You could also:
- create a VM in your home directory (using the GUI for example)
- move the VM files to the other drive (mv /home/user/.VirtualBox/Machines/foo /media/external)
- create a symlink in your home directory to the files on the external storage (ln -s /media/external/foo /home/user/.VirtualBox/Machines/)
If the VDI file is stored in another directory, you can do the same (move, then symlink) for the VDI file - or simply move and then attach the VDI from it's new location.
You can do the following:
After that, the data for machine foo will be stored in the directory /home/bar/foo. Make sure that you store the virtual disk there as well. If the directory /home/bar/foo is not available (because the drive is not plugged, you can still start the GUI but it would tell you that you cannot start that specific VM.