I'm currently use 2 different OS on one computer. One on each partition.
I keep the .virtualbox folder containing the harddisks and machines folder on its onn dedicated partition seperate from each OS, so that both OS's can access this drive for the VM's, This is so I can use the same VMs no matter which Os I am currently using.
However the only problem i have is that if I create a new snap shot in while in one Os' partition, I haev to copy the virtualbox.xml file from that Os and paste it into the other OS partition.
So what I would like to do is change the default location of the virtualbox.xml so that each Os is referencing the same file, instead of its deafult documents and settings directy located in the C: drive. that way no matter what virtual box is always using the correct virtualbox.xml file!
How can I do this?
virtualbox.xml change default location?
-
pistolpete_1980
- Posts: 9
- Joined: 6. Jul 2009, 04:54
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows Xp
virtualbox.xml change default location?
Last edited by pistolpete_1980 on 7. Jul 2009, 23:29, edited 1 time in total.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: virtualbox.xml change default location?
You have to set the environmental variable VBOX_USER_HOME on both installs. You also have to make sure that the shared drive has the same drive letter on both systems. You can't have it called E:\ in the first OS and F:\ in the other. Don't forget to change the global preferences of VB too to reflect the other drive, if you haven't done so already.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
pistolpete_1980
- Posts: 9
- Joined: 6. Jul 2009, 04:54
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows Xp
Re: virtualbox.xml change default location?
Yup both OS's have the same Drive letter for the virtualbox which Partition = I:\.virtualbox
and I've also set the global preferences for HardDisks I:\.virtualbox\harddisks and Machines to I:\.virtualbox\Machines
But im confused as to where i can find this global Variable VBOX_USER_HOME
Thanks!
and I've also set the global preferences for HardDisks I:\.virtualbox\harddisks and Machines to I:\.virtualbox\Machines
But im confused as to where i can find this global Variable VBOX_USER_HOME
Thanks!
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: virtualbox.xml change default location?
You have to create it. See the manual for more info. You change system variables in the System Properties > Advanced tab.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
pistolpete_1980
- Posts: 9
- Joined: 6. Jul 2009, 04:54
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows Xp
Re: virtualbox.xml change default location?
I have searched for hours on the boards, internet and manual about changing the environmental variable VBOX_USER_HOME. I cant find where to do this, can someone please point me in the right direction? or somewhere were this is properly documented?
Re: virtualbox.xml change default location?
Control panel, system properties, see button environment variables.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: virtualbox.xml change default location?
Let me make it more clear to you in case you have poor eyesight.pistolpete_1980 wrote:I have searched for hours on the boards, internet and manual about changing the environmental variable VBOX_USER_HOME. I cant find where to do this, can someone please point me in the right direction? or somewhere were this is properly documented?
Sasquatch wrote:You have to create it. See the manual for more info. You change system variables in the System Properties > Advanced tab.
VirtualBox creates this configuration directory automatically, if necessary. Op-
tionally, you can supply an alternate configuration directory by setting the
VBOX_USER_HOME environment variable.
- Attachments
-
- change environmental variable
- screenshot1.png (45.38 KiB) Viewed 6149 times
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
pistolpete_1980
- Posts: 9
- Joined: 6. Jul 2009, 04:54
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows Xp
Re: virtualbox.xml change default location?
This woudl haev been sufficient thank you, i didnt know you were refering to the windows system variables.vbox4me2 wrote:Control panel, system properties, see button environment variables.