3

I run Windows XP in a Virtual Box on my Ubuntu 14.04 laptop. I've set the shared folder access so I can access (read and write) the files on my ext4 /home partition.

However, I've often wondered how this set up works. To my knowledge, Windows cannot access an ext4 filesystem natively, and even with additional programs, only reading an ext4 partition is considered "safe". So how does the VirtualBox integrate ext4 access to Windows XP so seamlessly?

shortstheory
  • 347
  • 1
  • 3
  • 15

1 Answers1

4

Network accesses must follow some common protocols, in this case Samba, not normal file system formats because different OSes cannot understand each other's specific file systems and they don't have access to the low level sectors of drives on the other systems either

The shared folder appears in my computer's network branch just like a shared folder from windows

http://windows.microsoft.com/en-us/windows/create-shortcut-map-network-drive#1TC=windows-7

map network drive

After powered on the virtual machine you can manually map the drive like in the above picture. Or if you select auto mount when creating the shared folder then it'll be mapped automatically. I haven't used virtualbox for a long time so I'm not really sure about this but indeed VMWare will automatically map the network drive if you select the option

auto mount shared drive

phuclv
  • 30,396
  • 15
  • 136
  • 260