Where does the Host store the documents used in a Virtual Machine? - virtual-machine

Is there a folder in the Host where the files used in the Guest are stored? Specifically, I refer to documents, text files et similia.
I found several posts about file sharing between the two OSs, but they do not answer this question. Actually, on the Host I found only the VM configuration files.
I mean, it is a VM, ok, but they have to physically stay somewhere on the Host HD! What if I want to access them without starting the WM?
My usual config:
W10 - Host;
Lubuntu - Guest.

It really depends on what kind of virtual disk you use VDI, VMDK, VHD, or HDD.
VDI is an issue. The only way i've found so far is to use a USB drive to copy things off and on, or create a network share.
If you're using VMDK, Vmware has a tool I believe is called VMware disk mount as a part of their VDDK, and you should be able to use it to mount VMDK disks as hard drives. https://developercenter.vmware.com/web/dp/sdk/55/vddk
Windows VHD is the easiest one to work with. You can use "Computer Management" on your windows PC to mount the VHD as an external drive using this tutorial. http://notebooks.com/2011/02/25/how-to-browse-and-copy-files-from-a-vhd-system-image-backup/
I'm really not sure about HDD.

Related

How to access the windows subsystem for linux 2 filesystem from another computer?

I know that I can access the wsl2 filesystem by just opening \\wsl$ on the local computer. Can I somehow expose this to another computer in the same network? The goal is to just have a network drive on a remote computer where I drop files to copy them directly to wsl2.
EDIT: While it is not exactly what I wanted, I just noticed I can run a FTP server inside wsl2 and just transfer files in and out that way. I am still leaving the question open though as there might be a simpler solution to this.
You can find your home folder of wsl on c drive (its in AppData) and use ordinary windows folder sharing.
You can mount your network storage directly into WSL like in a particular Linux.
Example for Ubuntu and SMB: https://askubuntu.com/a/1050499

QEMU Virtual Machine: Creating a shared folder between Windows 10 (host) and Solaris 2.7 (guest)

I was wondering if anyone could give me wisdom on how to create a shared folder between my host machine (running Windows 10) and the virtual machine I created in qemu which is running Solaris 2.7. I need a way to get files in and out of the VM.
I've managed to "plug in" a folder as a virtual drive into the VM, using
-drive file=fat:rw:[folder],bus=0,unit=1,if=scsi,format=raw,media=disk
in the VM invocation. Solaris sees this as a disk, but I'm unsure where to go from here. I can't seem to format it because I don't know the "disk" geometry (apparently Solaris was very particular about this). I tried mounting the unformatted drive in Solaris but it wasn't able to do that either. I even tried giving it an entry in /etc/vfstab to see if I could get it to automount, but that didn't work either.
Is there a different way I should be mounting it? Or is there a trick to getting Solaris to use this virtual drive? I'm also open to other alternatives people are aware of for transferring files in/out of my VM, but since Solaris 2.7 is a rather old operating system, things like networking (for example) aren't trivial to set up (and even basic things like ssh are missing).
Any help would be appreciated!

How do I extend memory for my Dynamically allocated storage in "VirtualBox" of Type - "VMDK"

I am quite new to the VM related configurations. I tried searching Internet for this and found most of the places where having examples for VDI type of storage and couldnt find a good solution for VMDK type of storage.
Also my current disk is Dynamically allocated storage.
My setup is to run the VirtualBox from my Windows machine to have Linux machine in VM's
vmdk is the originally VMWare file format. May be VirtualBox just doesn't know how to do this :)
You can download free VMware Workstation Player and expand your vitrual disk there.
pic

How to backup and restore Virtual machine OS?

In VM ware Virtual machine i have installed the Centos in Window 7.Now i want to re install my Window 7 but i do not want to loose my virtual machine Centos. I Google many time for this topic but did not find any helpful information.
Any help?
Thanks
Your virtual machine is saved under the form of multiple files, which you can easily back-up on an external hard-drive, or in the cloud. If you are using VMWare, then your machine will be split into .vmdk, .vmx, .vmxf, .vmsd and .nvram files, depending on your VM configuration.
Just check where you store the VM files, and back them up before re-installing the host system. Afterwards, just import the .vmx file back into VMWare.
In VMWare Player right-click on your VM, go to Settings, then Options, and under Working Directory you should see where your VM files are stored. Just back-up that entire folder before reinstalling.

How to effectively use a VirtualBox VM on multiple computers?

My IDE is Eclipse, running in Ubuntu 12.10 inside a VirtualBox VM. I currently work in two locations - one office has a Windows 7 PC, the other has a Mac. It seemed most efficient to move my VM onto a high-speed USB flash drive, then carry it between offices. It hasn't worked out.
I used the PC to copy the VM to the flash drive, and tested it there. It worked. I took it to the other office, plugged it into the Mac, started VirtualBox and tried to boot the VM. It said 'can't find drive at E:...' It expected a Windows drive location. So, I tried removing the disk from the VM and re-mounting it on the Mac. That resulted in a 'UUID already in use' error.
Is this transport method possible? I don't want to have to run sethduuid every time I change offices.
The VirtualBox configuration files contain paths for the virtual hard disks, so copying them to another host is problematic. The simplest solution would be to create two similar configurations, one on each host and just copying the disk file to the external flash drive. Configure the paths to the disk file on each host independently so they fit your platform.
The drawback is, that you have to maintain two configurations. But they shouldn't change that often anyway.
The UUID error happens, if try to add another disk image to the virtual media manager with a UUID that match an already existing disk image. This might be because you copied a disk image in the past without replacing the UUID. Check your disk files for duplicate UUIDs.