20081014 Tuesday October 14, 2008

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:

              

(2008-10-14 03:15:17.0) Permalink

Innovate on OpenSolaris
   in London

  Subscribe to this blog XML

  Now referenced at is.gd,
    http://is.gd/1BW3h

  AddThis Feed Button

  

  See my delicious tag cloud, or
  follow it using a feed reader.

  Also my sun mediacaster page

  Link to my FOAF file

News
Recent & Interesting
All about my site
Recently at del.icio.us
links
Article Index
archives

  2009

  2008

  2007

  2006

  2005

  2004

Blogosphere

Locations of visitors to this page >
referers