LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-01-2007, 08:36 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
virtualbox shared folder


OK, I know there are some brief instructions in Virtualbox as to how to set up the shared folder, but, i don't really understand. The shared folder is in /home/phantom/unrealtourn I am trying to share it with WinXP. (Debian host, XP virtual) I don't know if the "net use x:..." command is to be used in the windows command prompt or what. I'm not familiar with setting up a lot of windows crap.

I simply need one folder to be accessable from XP to the unrealtourn folder in Debian. How do I do it? And please be specific.

Thanks!
 
Old 08-01-2007, 11:26 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
In a Windows guest, use the following command:

net use x: \\vboxsvr\shareDirectory

vboxsvr is a fixed name, replace "x:" with the drive letter that you want to use for the share, and "shareDirectory" with the share name specified with VBoxManage. The space after the x: is needed!!
 
Old 08-02-2007, 07:59 AM   #3
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
OK...that still doesn't work, but I'm probably doing something wrong.

I open command prompt in the guest account (guest, not limited user) and type:
Quote:
net use e: \\vboxsvr\unrealtourn
What is wrong?
 
Old 08-02-2007, 09:35 PM   #4
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
Tried just about everything, renaming the file, etc. Given the folder is designated by virtualbox, do i need a pathname? (i.e. /home/phantomcyph/unrealtourn) to use in Windows? Is there some bs rule that you have to register Windows first before setting this up?

<edit>

Here is an exact copy of what the command prompt is telling me:
Quote:
MICROSOFT WINDOWS XP [VERSION 5.1.2600]
<C> COPYRIGHT 1985-2001 Microsoft Corp.

C:\Documents and Settings\test>net use e: \\vboxsvr\shared
System error 53 has occurred.

The network path was not found.

C:\Documents and Settings\test>
Note that "test" is a limited account, not guest, not admin.

Last edited by phantom_cyph; 08-02-2007 at 09:57 PM.
 
Old 08-05-2007, 07:21 PM   #5
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
Still not working, USB doesn't mount even when enabled,can read but not copy files from CD, I really need a shared folder set up, anyone have ideas?
 
Old 08-08-2007, 07:53 PM   #6
david.hilton
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
This maps a network drive on Windows.
I only received this error when I misspelled the path.

Good luck!

David
 
Old 08-08-2007, 08:11 PM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I tried that and didn't get anywhere.Did get it to share folders but they always would disappear after reboot of the guest.After fiddling around I just got tired of the whole thing and setup samba to share between host and guest - works w/o any trouble.

Almost forgot - as with everything involving MS reboot at any oportunity.

Last edited by crashmeister; 08-08-2007 at 08:14 PM.
 
Old 08-09-2007, 08:44 AM   #8
david.hilton
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Getting it to load at every boot up is as simple as Clicking on My Computer, Tools, Map Network Drive, setting the drive letter, and entering the path.

Of course you could do that with any network share.

David
 
Old 08-09-2007, 12:17 PM   #9
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by david.hilton
Getting it to load at every boot up is as simple as Clicking on My Computer, Tools, Map Network Drive, setting the drive letter, and entering the path.

Of course you could do that with any network share.

David
Just tried that. Named "b", then entered "\\vboxsvr\shared", and it tried to connect but couldn't. Any suggestions?
 
Old 08-09-2007, 12:40 PM   #10
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Which version of VirtualBox are you using? If it's at least 1.38 there should be an option under the VM settings to set certain paths as shared folders. Earlier versions has to manually use the vboxmanage command before starting the daemon. After that mapping the network drive should work ok. The net use command never worked for me but the menu option does and there is a checkbox for "Reconnect at logon".

How did you get it working using Samba? That sounds interesting.
 
Old 08-09-2007, 01:14 PM   #11
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Quote:
Originally Posted by dracolich
How did you get it working using Samba? That sounds interesting.
Just install samba on the host and xp should find the shared folders if the permissions are ok.

The only trouble I ran into was that I forgot to reboot xp in the vm.I don't know if it is strictly required but just editing the samba config,restarting samba and trying to find the folders in xp didn't work before a reboot.

Thats the config I used:

[global]
netbios name = kaiser
workgroup = GRUPO
security = user
[data]
path = /data2
read only = Yes
guest ok = Yes
browseable = yes
writeable = yes
[virt]
path = /vdata
read only = no
guest ok = yes
browseable = yes
writeable = yes
[nokia]
path = /media/1
read-only = no
guest ok = yes
browseable = yes
writeable = yes

Of course this is not the safest setup in the world but I live on the edge
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can not open the user folder in home and write in a shared folder jorge_ivan Linux - General 8 08-02-2006 11:28 AM
Shared Folder salmanucit Linux - Software 2 06-11-2006 08:27 AM
how can i move this folder of music from /root/Shared to /home/coffee/Shared ? thx mr_coffee Linux - Newbie 9 01-23-2006 06:50 AM
shared folder varun_saa Mandriva 1 06-07-2005 01:42 AM
Cant add folder into my shared folder? amer_58 Linux - Newbie 2 04-03-2005 11:35 AM


All times are GMT -5. The time now is 12:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration