![]() If you use VirtualBox's "Shared Folders" feature, you can allow the VM to directly access files on Windows. There are exceptions to all of this, however. vdi files keep track of which parts of the virtual HDD haven't been written yet, which is why they start off a lot smaller than the actual "30 GB" allocation.) iso image, only containing an HDD instead of a CD. ![]() vdi file which VirtualBox pretends is a 30 GB HDD. Your entire 30 GB disk space allocation is just this one. ![]() To find it, you can right-click a VM and select "Show in Explorer".Īfter opening that location, you should find a file Ubuntu.vdi or similar – it contains the entire "disk image" of your VM (with the MBR, the partition table, the filesystem, and everything). Specifically, with VirtualBox, the virtual machine's data is stored in the ~\VirtualBox\ directory within your Windows account 1 (e.g. Ubuntu doesn't tell VirtualBox to store individual files it only talks to the virtual HDD in terms of sectors (the virtual disk has its own MBR, its own partitions, etc) – and much like a real HDD, VirtualBox has no idea what each sector means, it just stores them all in a single giant file. Virtual machines work like real machines, in that the OS running inside the VM still thinks it has an actual HDD attached to it. You can see the data on your Windows laptop, but not as individual files – only as a whole disk. Then I should be able to find that directory of the file on windows. If helloworld.c is saved, it is saved at some point of allocated 30GB HDD.
0 Comments
Leave a Reply. |