Location of VirtualBox Files

Discussions related to using VirtualBox on Mac OS X hosts.

Location of VirtualBox Files

Postby paultilling » 15. Oct 2011, 17:40

I tried to upgrade VirtualBox 4.04 to VirtualBox 4.14. The upgrade failed so I restored the VirtualBox v4.04 application file using Time Machine, however the restored version will not run.

Can anyone please tell me where the other files of Virtual Box are located? I assume the upgrade somehow corrupted the supporting files and I need to locate them to restore them as well.

Any advice would be tremendously appreciated.
Paul (Macbook, MaxOs Leopard).
paultilling
 
Posts: 15
Joined: 12. Jul 2009, 15:26
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows XP

Re: Location of VirtualBox Files

Postby Sasquatch » 15. Oct 2011, 23:22

Why did you use TimeMachine to revert to a previous version? For programs, that's the most illogical choice. You always remove the application and then install the older version. Check the downloads page, you can find older releases there.
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Location of VirtualBox Files

Postby paultilling » 16. Oct 2011, 13:50

Thanks very much, I was not aware of this. How can I now re-install an older version as you suggest but without losing the custom contents, ie Snapshots etc.? Does it have a special file like a text file or something tucked away, and if so where please?

Paul Tilling
paultilling
 
Posts: 15
Joined: 12. Jul 2009, 15:26
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows XP

Re: Location of VirtualBox Files

Postby Sasquatch » 16. Oct 2011, 13:58

Applications are stored separately from the user settings. That's why you can remove MS Office without loosing your settings or documents.
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Location of VirtualBox Files

Postby paultilling » 16. Oct 2011, 16:21

Yes, but I am trying to find out where these settings are actually located so that I can back them up. I am afraid that if I de-install my Virtualbox v4.14 then it might also de-install my settings, or when I re-install the new (old) v1.04 program it might replace my settings with an empty set.

Paul
paultilling
 
Posts: 15
Joined: 12. Jul 2009, 15:26
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows XP

Re: Location of VirtualBox Files

Postby rpmurray » 16. Oct 2011, 18:41

paultilling wrote:Yes, but I am trying to find out where these settings are actually located so that I can back them up.


You don't suppose there may be something in the User Manual about it? OMG! There is! Right on page 162 there is a section called "Where VirtualBox stores its files". How about that! I would never have expected that to be right there in the documentation that nobody seems to read. Amazing!
rpmurray
Volunteer
 
Posts: 749
Joined: 3. Mar 2009, 00:29
Location: Between Heaven and Hell
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows Server 2003 SP2, Windows XP SP3, Windows 7, Windows Server 2008 R2

Re: Location of VirtualBox Files

Postby Sasquatch » 16. Oct 2011, 20:05

Adding to rpmmurray's surprise, I can't believe it was all in my signature! How about that, it was noted several times where to look first. Can you believe it?
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Location of VirtualBox Files

Postby paultilling » 16. Oct 2011, 21:49

Thank you, yes of course i should have tried the manual first, but this manual has not been written with the novice in mind. It refers to an 'XML settings file' with a .vbox extension in a common folder called 'virtualBox VMs', in the 'current system user's home directory (I presume they mean users/username/documents or library).
Well on my machine there is no such folder or file, anywhere on the disk! So I am back to square one. It goes on to say about a log file with a snapshots subfolder but I find nothing. As you see the manual is not very helpful to the layman.

Paul
paultilling
 
Posts: 15
Joined: 12. Jul 2009, 15:26
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows XP

Re: Location of VirtualBox Files

Postby Sasquatch » 16. Oct 2011, 22:11

Check /Users/yourusername/LIbrary/VirtualBox or similar. You got spotlight, to search on your hard drive. You can just search for parts of the program name and you should get what you're after. If you already have a VM, simply searching for the VM name will do fine as well.
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Location of VirtualBox Files

Postby theDaniel » 17. Oct 2011, 01:54

By default Spotlight won't look for system files or hidden/invisible files. So, (for Snow Leopard and Lion) you may want to look in /private/var/db/receipts/
Continuing, try in:
/Library/Extensions/
/usr/bin/
/Library/Startup Items/

-Daniel
theDaniel
 
Posts: 39
Joined: 12. Oct 2011, 16:44
Location: Eastern Most County in USA
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Wind-does-blow XP (Xtra Porous), ReactOS

Re: Location of VirtualBox Files

Postby rpmurray » 17. Oct 2011, 14:55

paultilling wrote:It refers to an 'XML settings file' with a .vbox extension in a common folder called 'virtualBox VMs', in the 'current system user's home directory (I presume they mean users/username/documents or library).


By default VirtualBox will place the VBox application settings in the path:

[hard drive]/Users/[your account]/Library/VirtualBox/

the files will consist of:

compreg.dat
VirtualBox.xml
VirtualBox.xml-prev
xpti.dat

If you did not tell it to store the guests that it creates somewhere else then there will also be a folder called "VirtualBox VMs" that will contain the guest hard drives that you created and their individual settings files. The VirtualBox application itself will always need to be in the Applications folder in order to run.
rpmurray
Volunteer
 
Posts: 749
Joined: 3. Mar 2009, 00:29
Location: Between Heaven and Hell
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows Server 2003 SP2, Windows XP SP3, Windows 7, Windows Server 2008 R2

Re: Location of VirtualBox Files

Postby theDaniel » 18. Oct 2011, 17:03

If one installs an older version over a newer version, will the older version overwrite the newer version files? i.e. kexts.
theDaniel
 
Posts: 39
Joined: 12. Oct 2011, 16:44
Location: Eastern Most County in USA
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Wind-does-blow XP (Xtra Porous), ReactOS

Re: Location of VirtualBox Files

Postby Sasquatch » 18. Oct 2011, 19:49

theDaniel wrote:If one installs an older version over a newer version, will the older version overwrite the newer version files? i.e. kexts.

Your question belongs on an Apple forum, not here. Kext files are part of the OS, we don't discuss the OS here.
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Location of VirtualBox Files

Postby rpmurray » 18. Oct 2011, 23:12

theDaniel wrote:If one installs an older version over a newer version, will the older version overwrite the newer version files? i.e. kexts.


They should, but if you want to make sure you can run the uninstaller for the newer version before re-installing the older version.
rpmurray
Volunteer
 
Posts: 749
Joined: 3. Mar 2009, 00:29
Location: Between Heaven and Hell
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows Server 2003 SP2, Windows XP SP3, Windows 7, Windows Server 2008 R2

Re: Location of VirtualBox Files

Postby theDaniel » 19. Oct 2011, 15:51

Sasquatch wrote:Kext files are part of the OS, we don't discuss the OS here.

Are you saying VirtualBox does not install kernel extensions?

System Kext (kernel extension) files are in /System/Library/Extensions/. They include both Apple system extensions and some third party extensions, like LittleSnitch, too.

VirtualBox kext files along with some other third party kexts are located in /Library/Extensions/. Namely, they are:
VBoxDrv.kext
VBoxNetAdp.kext
VBoxNetFit.kext
VBoxUSB.kext

These have changed when updating from 4.0.4 to 4.1.4, this, according to the Mac's Get Info panel.

-Daniel
theDaniel
 
Posts: 39
Joined: 12. Oct 2011, 16:44
Location: Eastern Most County in USA
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Wind-does-blow XP (Xtra Porous), ReactOS

Next

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 26 guests