Saturday, August 8, 2009

Mounting a shared drive in Virtualbox

I wanted to share a directory from my main machine so I could import Second Life logs into my VM development environment. (I could try SL ona VM, but I'm guessing I need all the performance I can get!).

Two things to remember:
  1. Apparently mount doesn't like you naming the share the same as the mountpoint. This was causing mounting failed with the error: Protocol error.
  2. Because you need to run the mount as sudo, the mounted directory is owned by root. I used -o uid=mwgjordan,gid=mwgjordan to get around this.

No comments: