Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2012, 11:01 PM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default Shared folders on virtualbox
I have installed Xubuntu Linux under virtualbox.

Guest Additions have been installed.

I have shared my PCBSD Documents folder in the Virtual Machine.

I want to know how to access the folder from Xubuntu.
Reply With Quote
  #2  
Old 08-04-2012, 12:33 AM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default
Now virtualbox wont start :




Failed to create the VirtualBox COM object.

The application will now terminate.



Runtime error opening '/home/tux/.VirtualBox/VirtualBox.xml' for reading: -38 (Access denied.).

/usr/wrkdirprefix/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.8_OSE/src/VBox/Main/src-server/VirtualBoxImpl.cpp[485] (nsresult VirtualBox::init()).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
Reply With Quote
  #3  
Old 08-08-2012, 11:49 PM
SeanSeymour SeanSeymour is offline
Junior Member
 
Join Date: Jul 2012
Posts: 23
Thanks: 4
Thanked 2 Times in 2 Posts
Default
Hi john_rambo,

I don't think virtual folders work yet in BSD. See the FreeBSD wiki page which states as a Todo: "Guest Additions: Implement vboxsf (shared folders)". Not sure if that's up to date.

As far as your issue launching VirtualBox, how are you launching it? I also had weird errors launching which ended up being the way I was trying to run it. I got errors trying to launch via the command line or the "Alt-F2" launcher. I finally got it working by using the desktop shortcut, which looks like it runs as root, or with elevated privileges? Because I noticed the path had sbin in it.
Reply With Quote
  #4  
Old 08-09-2012, 01:23 AM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default
The issue is solved. Now I can mount shared folders on the Xubuntu VM.

Thanks for your reply
Reply With Quote
  #5  
Old 09-09-2012, 04:02 PM
fnj666 fnj666 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Originally Posted by john_rambo View Post
The issue is solved. Now I can mount shared folders on the Xubuntu VM.

Thanks for your reply
Since the FreeBSD wiki page doesn't have a clue that shared folders work, would you mind sharing with us how you got it to work?
Reply With Quote
  #6  
Old 09-09-2012, 04:40 PM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default
Originally Posted by fnj666 View Post
Since the FreeBSD wiki page doesn't have a clue that shared folders work, would you mind sharing with us how you got it to work?
In the Linux guest do the following

Code:
sudo apt-get install build-essential linux-headers-$(uname -r)
Then install Vbox guest additions.

Share a folder. You can do it while the VM is running.

Read this :

http://www.virtualbox.org/manual/ch0...#sharedfolders
__________________
PCBSD 9.1 (64)
Athlon 64 X 2 5600+ RAM 2GB
Reply With Quote
  #7  
Old 10-06-2012, 07:06 PM
SeanSeymour SeanSeymour is offline
Junior Member
 
Join Date: Jul 2012
Posts: 23
Thanks: 4
Thanked 2 Times in 2 Posts
Default
I can also confirm that Shared Folders works with a Windows guest as well. I installed VirtualBox from AppCafe, as well as VirtualBoxGuest from Control Panel > System Manager > System Packages > Misc.

Launched my Windows guest in Virtualbox then selected Devices > Install Guest Additions. During the install, I had a message pop up where the installer asked if I wanted to overwrite the mouse driver with an "older version" Wasn't sure why it did but I chose yes to make sure it was the same version. Doesn't seem to have affected anything.

After Windows rebooted (prompted by the installer), I created the shared folder from within the guest Also created a drive mapping for convenience. Everything works great!
Reply With Quote
Reply

Tags
virtualbox

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:19 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.