As you may know the free VirtualBox software allows you to run almost any operating system as an 'application' on your current operating environment.

I recently installed VirtualBox on Windows 7 RC and wanted to share files between OpenSolaris running in VirtualBox. Searching Google revealed that the share files facility for OpenSolaris as a guest is a newly supported, and I could not find a quick or easy solution through the SMB or "Places->Connect to a server" route.

Here is how I achieved it:

> Share your files in Windows by right clicking and follow the UI (I shared "My Documents" as "Documents";)
> Select the VirtualBox menu "Devices->Shared Folders"
> The folder path should be formatted as
\\MYPC\Documents
> The folder name I used
Documents
> Then in a terminal type: (I created the /export/home/me/Docs directory first)
pfexec mount -F vboxfs Documents /export/home/me/Docs
>  The folder should now appear on your OpenSolaris desktop and in the filesystem views


Enjoy :-)



Comments:

good job

Posted by shahryar ghazi on May 27, 2009 at 02:04 PM BST #

Post a Comment:
  • HTML Syntax: NOT allowed


Tags


This blog's tags only: , , , , , ,
All Sun blogs' tags: , , , , , ,
Technorati directory: , , , , , ,
Del.icio.us bookmarks: , , , , , ,
IceRocket directory: , , , , , ,
Fav.or.it directory: , , , , , ,


This article copyright 2009 by Matt Hosanee