Where are virtualBox guest data saved in the host system?
-
Where are virtualBox guest data saved in the host system? I'm new to VirtualBox. I installed guest system windows7 and Linux(Luna)on host Mac OSX 10.9. I'm trying to find out where are the application files(like .exe.. ) and user data (like .jpg, .doc, .tar..) created in the guest systems saved relative to the host systems?? What are the absolute path/directory of the virtual C:/ and / ? Or do they even exist and accessible ?? How does the virtualbox work on file systems? To be specific about the question: I backed up the whole mac with virtual machines to an external hard drive using Time Machine, in addition I backed up the Ova file. With this hard drive in hand and a windows computer, can I access the user data created in the guest system (suppose that I have MacDrive installed so I can read the file system on windows )? Can someone shed me some light on this? Thanks very much!
-
Answer:
Short answer: your files are somewhere within the virtual hard drive you installed the operating system on, unless you've done something to enable the guest OS to save to the host OS's filesystem. Longer answer: Virtual Machines don't work the way you think they do. When you use a VM, the VM host fools the guest OS into thinking it has a computer all to itself, with its own hard drive. This virtual hard drive is represented as a single file (typically) in the host OS, and is generally opaque (although there are some programs that can read them, if you look around). Now, to solve your problem: I don't have direct experience with VirtualBox, but it looks like http://helpdeskgeek.com/virtualization/virtualbox-share-folder-host-guest/ should get you started. Note that this will only work while your guest OS is running. If you want to access them offline, Blazecock's answer looks like a good place to start looking.
pack2themoon at Ask.Metafilter.Com Visit the source
Other answers
In your home folder, you have a folder called "VirtualBox VMs", in which are folders for each guest OS. In each guest folder is (usually) a VDI file, which is the container that holds the OS, partitions and everything else. http://computerngeek.blogspot.com/2013/08/how-to-mount-virtualbox-vdi-images-on.html if you are comfortable with the command-line. For your Windows VDI, Mac OS X can read NTFS-formatted partitions. It cannot write to them. For your Linux VDI, OS X cannot read or write ext-formatted partitions, so you'll need to do some extra work. The instructions outline what you'll need to do in this case. For mounting VDIs from within Windows, https://forums.virtualbox.org/viewtopic.php?t=4748.
Blazecock Pileon
Thank you guys!! Blazecock: So does it mean that different VDIs for different operating systems have different disk format(how can it be)? ie., Windows7 VDI has NTFS, Linux VDI has linux format(what is it?), VDIs act like hard drives? kind of like an image, .iso file? sorry I actually don't know how iso file can wraps a disk into a file? Aleyn: you answer helps clarified some concepts, thanks.
pack2themoon
Different OSes often use different disk formats, yes. Windows prefers NTFS. OS X prefers HFS+. Linux likes ext3/4.
Blazecock Pileon
I don't know Virtualbox, but I'll assume it's similar to VMware. As for different filesystems (ie, running EXT4 filesystem on a Linux VM on a physical Windows host), the Windows host (generally) doesn't know anything about the filesystem in the Linux VM's virtual disks. Windows just sees them as a file (or a set of files), and can't see what's inside them, and doesn't need to. The VM is completely responsible for managing, reading and writing to it's virtualised filesystem. As Aleyn said, there are tools you can use to access the VM's filesystem from the physical host, but they're kind of a "hack", for want of a better word, in that they typically require a piece of software in the VM (like VMware Tools) that can see the VMs filesystem, and also talk back out to the physical host.
Diag
Thank you Blazecock and Thank you Diag, that helps a lot!
pack2themoon
Related Q & A:
- Where To Get Online Data Mining Work?Best solution by online.njit.edu
- Where can I host my Python script?Best solution by Quora
- Where can I get speakers for a surround sound system?Best solution by Yahoo! Answers
- Where do I find my incoming /outgoing email host address?Best solution by answers.microsoft.com
- Where are the host files in MSN?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.