Hi Alvaro, thx a lot for your replay. But i've changed all 3 different paths, like described:
1. Vagrant Project: This is on my external disk. But it includes a folder ".vagrant" that has some michine-ids in it, maybe this is the problem 2. VAGRANT_HOME: The Path is changed to my external disc via an system variable in windows 3. Virtual-Box-Path: I also changed this to my external drive This all works fine when i set this up on my first host computer. But if i change all the paths (VAGRANT_HOME and Virtual-Box-Path) on my second host computer, it wants to make a new image :-( So i think there must be something different on each host. Any further help will be appreciated. Best Mucky Am Dienstag, 7. Oktober 2014 22:23:39 UTC+2 schrieb Alvaro Miranda Aguilera: > > Hello, are 3 different PATHs, can you explain with of them do you want to > have in the external disk > > 1. The Vagrant project. This is where the Vagrantfile exits. This is easy, > should work from the external disk. > > 2. The VAGRANT_HOME, this should be a different path than the previous > path. > > 3. Virtualbox path, you can also setup to the external drive, and use a > environment variable, which is VBOX_USER_HOME, this will be the home > where the xml configuration file will be created, so easy trick will be. > > Set this variable. > Open the gui > Change the default path, say W:\VirtualBox VMs\ > close the gui > open the gui and check is still good > > Say your have W: > > You could use: > > W:\vagrant_home > W:\vagrant_projects > W:\vbox_home > W:\VirtualBox VMs > > > So each directory is different, since each folder hold different stuff on > it. > > Hope this helps. > > Alvaro. > > > > On Wed, Oct 8, 2014 at 4:00 AM, Marcus Renz <[email protected] > <javascript:>> wrote: > >> i want to use my vagrant VBox image (Debian) on 2 ore more different >> Windows 7 PCs, because a lot of settings and data (e.g. DB, Vhost) are >> already in place. I'm using the image for different projects and just make >> a new vagrant-vbox-image when i need other OS, PHP etc. versions. >> >> So i installed Vagrant and Virtualbox on both machines, changed the path >> of the Virtualbox-Images to my external disk via Virtualbox Manager and >> also changed the path of /.vagrant.d to the external disk by setting an >> environment variable for VAGRANT_HOME. On both machines. Now it works on >> one machine, but i can't start the image on the other one. >> >> I'm using the latest VBox 4.3.15. i tried to start the image with >> "vagrant up", but this tries to install me a new image from the box defined >> and gives me this error: >> >> Stderr: VBoxManage.exe: error: Could not rename the directory 'W:\VirtualBox >> VMs\boxes_default_1383360377_1408558738514_43554' to 'W:\VirtualBox >> VMs\dev_deb720' to save the settings file (VERR_ALREADY_EXISTS) >> >> And adding the existing image to the VBox Manger by just clicking in >> the .vbox and then starting it from there just brings up an error: >> >> Fehlercode:E_FAIL (0x80004005) Komponente:Machine Interface:IMachine >> {480cf695-2d8d-4256-9c7c-cce4184fa048} >> >> >> Some informations still seems to be on the host computer, maybe the ids. >> But i can't find out why this doesn't work. >> >> So has anyone tried to do the same and can describe how the same >> vagrant-vbox-image can be used on different machines? Or some hints? >> >> FYI: >> I've posted this question before at stackoverflow, but didn't get a >> working answer or example. >> >> http://stackoverflow.com/questions/25412077/running-vagrant-from-external-disk-on-2-different-computers/25415642 >> >> Thanks in advance! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Vagrant" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
