By DaveLevy on Oct 13, 2008
I have just upgraded from Virtual Box 1.64 to 2.0.2 and decided the time has come to turn the sound on and install shared folders.
These are both simple configuration changes since the manual is simple, well written and correct. [ User Manual 2.0.2 ]. Just to remind you, I have a windows host and in this case an Ubuntu 8.0 Linux guest.
In the settings panel for the VM, there is a sound tab, and there is a check box, which is defaulted to off. For a windows host, there is a choice of sound drivers. Since one of these is a null driver, its best to choose the other which is "Windows Direct" sound.
There is a another tab for shared folders, with a file system browser. The purpose is to designate a host file system to act as the target for a guest mount and so act as one route to allow data to exit the VM.
This is what I did,
- Create a folder to act as the shared folder.
- Use the Virtual Box control panel to specify the shared folder and its device name. I used a folder in 'My Documents' folder and called it hostfs, for host file system.
- Boot the VM
- Make a mount point, if you want, otherwise use one already there.
- Issue a
mount -t vboxsf share mount_point. The share is the device name declared in the control panel, in my example 'hostfs'. N.B. The fs type is suffixed with 'sf', presumably for shared folder and not fs for file system like many other file system types.
I then unmounted the shared folder, edited /etc/fstab and issued a mount -a command to test that my syntax works.