Sound and shares with Virtual Box

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.

virtual box sound tab

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,

  1. Create a folder to act as the shared folder.
  2. 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.
  3. Boot the VM
  4. Make a mount point, if you want, otherwise use one already there.
  5. 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.

tags:

Comments:

Post a Comment:
Comments are closed for this entry.
About

DaveLevy

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today