PDA

View Full Version : [SOLVED] virtualbox shared folders....?



kamitsukai
November 30th, 2007, 10:15 PM
How do u set-up shared folders with virtual box running xp and ubuntu 7.10? i cant find any info in he manual but his could just be me being dence....

thnx in advance

forestpixie
November 30th, 2007, 10:19 PM
Start settings in virtualbox, go to shared folders and browse to the folder you want to share

kamitsukai
November 30th, 2007, 10:47 PM
ok thnx but now i have done that i cant find out how to access the folder from windows!?.....

forestpixie
November 30th, 2007, 11:03 PM
which is running as a virtual - I have win as a virtual and accessed my shared folder in ubuntu as a network folder in windows

kamitsukai
November 30th, 2007, 11:13 PM
windows is the virtual and ubuntu is the host

forestpixie
November 30th, 2007, 11:37 PM
I have win as a virtual and accessed my shared folder in ubuntu as a network folder in windows that's how it worked for me

StuipedandUgly
December 2nd, 2007, 12:10 AM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

He|iX
December 4th, 2007, 12:26 AM
How do you mount the windows share in ubuntu if ubuntu is the VM?

mersonmathew
February 9th, 2008, 11:45 PM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out


Thanks! I was stuck trying to access the hard disk partitions. Just one thing to add. On clicking Devises->Install Guest Additions I felt nothing was happening. But actually the install script was being mounted as a virtual cdrom.

daniel3ub
August 30th, 2008, 05:06 AM
Well, didn't work for me :(
Any idea? Do I have to do something in Ubuntu to make this work?

akikoo
September 3rd, 2008, 09:42 AM
I also had problems with shared folder on WinXP guest (on Ubuntu Hardy 8.04 host) - I couldn't see my shared folder at all on the guest. Just reinstalling Guest Additions solved it!

jimmysheldon
September 3rd, 2008, 11:00 PM
hello, just tried this


here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

but when i type 'net use t: \\vboxsvr\shared' (my folder is called shared) i get: "System error 53. Network path not found."

can anyone help out with this? not sure i've set the folder up right.

pyjamashark
November 29th, 2008, 07:22 PM
worked like a charm for me - thanks

ImpelGD
December 6th, 2008, 12:53 AM
hello, just tried this



but when i type 'net use t: \\vboxsvr\shared' (my folder is called shared) i get: "System error 53. Network path not found."

can anyone help out with this? not sure i've set the folder up right.

I'm finding the same.

I've installed Guest Additions from Google Code (VirtualBox couldn't download it) and set up my folder in VB shared folders. But Windows (the virtual host in Ubuntu VirtualBox) can't mount or see it.

Windows can access the internet, so the network adapter is working in case that's required.

bodhi.zazen
December 6th, 2008, 01:19 AM
I'm finding the same.

I've installed Guest Additions from Google Code (VirtualBox couldn't download it) and set up my folder in VB shared folders. But Windows (the virtual host in Ubuntu VirtualBox) can't mount or see it.

Windows can access the internet, so the network adapter is working in case that's required.

You have to install the Additions on the Windows XP guest.

You should use the additions that came with Virtualbox. It is in the menu Install Additions.

ImpelGD
December 6th, 2008, 01:38 AM
You have to install the Additions on the Windows XP guest.

You should use the additions that came with Virtualbox. It is in the menu Install Additions.

Hi and thanks for the reply.

I did install the Guest Additions in the XP guest. I couldn't simply use the menu because it showed as 0 bytes and wouldn't download. Timed out.

Special mouse integration etc. is working fine.

bodhi.zazen
December 6th, 2008, 05:46 AM
Well, they patched the Additions to fix your problem so you need the patched version.

Shut down windows XP.

Make sure there is nothing loaded, no iso, in the CD slot.

Make sure the OS type listed is Windows XP

Fire the windows guest back up.

Log into windows.

In the Virtualbox window with the XP guest use the menu

Devices -> Install Guest additions.

This should then mount a "CD" in the Windows guest, on the CD are the .exe ;)

ImpelGD
December 6th, 2008, 02:50 PM
The download doesn't work directly, but I'm downloading the 2.0.4 in FF and will try that - thanks.

Edit: the new version works. :) Thanks again.

This was it:

http://dlc-cdn-rd.sun.com/c1/virtualbox/2.0.4/VBoxGuestAdditions_2.0.4.iso

Don't know why VirtualBox couldn't download it itself.

I downloaded it to my Ubuntu desktop, mounted it as the CD drive in Windows XP guest and installed.

mitch_feaster
December 23rd, 2008, 07:37 PM
How do you mount the windows share in ubuntu if ubuntu is the VM?


mount -t vboxsf share mount_point

frankieus
January 31st, 2009, 01:34 PM
Use the "Add Network Place Wizard" in Windows. Follow the wizard and look for you shared folder, add it and you're done. ;)

Pixel
February 20th, 2009, 09:21 PM
hello, just tried this



but when i type 'net use t: \\vboxsvr\shared' (my folder is called shared) i get: "System error 53. Network path not found."

can anyone help out with this? not sure i've set the folder up right.
If you open up windoes explorer, then click the folders button, from there click "My Network Places -> Entire Network -> VirtualBox Shared Folders". You should then be able to see your shared folders in the there.

To make it easier, once you find your folders, right click on the and click on map drive, this will let you map a network drive (such as Z:), to the folder, so that it's easier to get to next time.

Robertjm
February 22nd, 2009, 08:52 PM
Since the "Thanks" icon isn't readily visible I'll post a Thanks! for the answer on the first page.

I'm running VBox 2.14 on Intrepid Ibex host w/Windows 7 Beta client and the instructions from StuipedandUgly to share worked like a charm.

Robert

dbsoundman
March 10th, 2009, 12:21 AM
I'm on a Windows 7 client but I can't get it to work for the life of me! I actually did have a network share for a short time using my regular samba server on this computer in Ubuntu, but now that doesn't work, and the \\vboxsrv\share thing never has worked. I have the most recent copy of the Virtual Box Additions (2.0.4) on an iso file which I have installed and reinstalled on the client, but no change. Any ideas?

-Dan

bodhi.zazen
March 10th, 2009, 04:25 AM
I'm on a Windows 7 client but I can't get it to work for the life of me! I actually did have a network share for a short time using my regular samba server on this computer in Ubuntu, but now that doesn't work, and the \\vboxsrv\share thing never has worked. I have the most recent copy of the Virtual Box Additions (2.0.4) on an iso file which I have installed and reinstalled on the client, but no change. Any ideas?

-Dan

I do not know about a shared folder may I suggest an alternate ?

Personally I use network share protocols, Samba, ssh (scp), or if you are behind a router, ftp.

dbsoundman
March 10th, 2009, 04:29 AM
I have a samba share on the server machine (which is the same machine that the client is on), but the Windows client doesn't "see" the samba share, and when I manually enter the address it fails. It worked initially for a short time, but doesn't anymore, and I don't know why. I do have a router but since both machines are on the same computer I didn't think it was an issue.

-Dan

bcerge
March 11th, 2009, 11:51 PM
Use the "Add Network Place Wizard" in Windows. Follow the wizard and look for you shared folder, add it and you're done. ;)

wow, after spending hours searching through forums...this worked first shot, thnx man!

mezhaka
April 16th, 2009, 03:10 PM
How do you mount the windows share in ubuntu if ubuntu is the VM?

have you found the solution?
i run ubuntu VM inside WinXp. have set up the folder to share through virtualbox. but don't know how to find it inside of my ubuntu VM. should i mount something?

meka4996
May 8th, 2009, 04:29 AM
Try this...
http://ubuntuforums.org/showthread.php?p=7236471#post7236471

n3had
May 9th, 2009, 08:06 AM
check my video tutorial

http://www.youtube.com/watch?v=75FeKOkpSKk&feature=PlayList&p=512E30EA478B12D9&index=18

peace out

switch10
May 13th, 2009, 03:11 AM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out


Thank You!! It's been a few years since you posted this, but it's the only thing that worked for me.

slyboots
June 2nd, 2009, 12:56 PM
For me works!

Swerve1000
June 30th, 2009, 10:21 PM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

Hi, should this definetly be a t: drive or could it be another?

I still keep getting "System error 53. Network path not found."

I tried:


Use the "Add Network Place Wizard" in Windows. Follow the wizard and look for you shared folder, add it and you're done.


but when I view this folder, none of the folders I created to share appear, it's just empty.

EDIT:
I found THIS (http://showmedo.com/videotutorials/video?name=3650010&fromSeriesID=365#) video tutorial on the matter and it works well. But nore that you need to install Guest Additions before following the video tutorial, then I use a folder called vb on the Desktop of Ubuntu, I right clicked on it and then selected... can't quite remember now, but that worked.

m3alnemer
July 15th, 2009, 09:56 AM
check my video tutorial

http://www.youtube.com/watch?v=75FeKOkpSKk&feature=PlayList&p=512E30EA478B12D9&index=18

peace out

thank you brother. It really helped me

elitefox
August 8th, 2009, 01:39 PM
Hi, should this definetly be a t: drive or could it be another?

I still keep getting "System error 53. Network path not found."

I tried:


but when I view this folder, none of the folders I created to share appear, it's just empty.

EDIT:
I found THIS (http://showmedo.com/videotutorials/video?name=3650010&fromSeriesID=365#) video tutorial on the matter and it works well. But nore that you need to install Guest Additions before following the video tutorial, then I use a folder called vb on the Desktop of Ubuntu, I right clicked on it and then selected... can't quite remember now, but that worked.

This is my experience with Ubuntu Hardy and virtualbox-3.0
1) Install Guest additions
2) instead of \\vboxsvr\shared, try instead of \\vboxsvr\shared\

it work for me :D

gOLdenHaWK3D
August 16th, 2009, 02:23 PM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

Thanks a ton. :P

mad-bee:)
August 21st, 2009, 12:48 AM
-first Install Guest Additions.It is under the Devices menu on VirtualBox
-add which folder you want to share from Shared Folders option on Virtualbox
-open My Network Places on XP click to View workgroup computers
(it can be different if you changed the default network name)
-look down to links with the header Other Places
-you will see Microsoft Windows Network.Click it
-you will see the Entire Network link and click it
-look at the page you will see VirtualBox Shared Folder
:)
it was easy :)

joebeasley
August 30th, 2009, 09:43 PM
After installing the additions on the ubuntu guest, start the services. (/etc/init.d/vboxadd start) Then mount with mount -t vboxsf sharename /mountpoint.

mathend99
September 8th, 2009, 01:04 PM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out
Thank you very much, I finally solved my problem.

cnbiz850
October 15th, 2009, 04:44 AM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

This only works for me to some extent. OK, I can share files by copy/cut etc between Windows and Ubuntu. But what I can't do is that when I have some .exe file in the folder and try to execute it in Windows and Windows complain that the path doesn't exist. Some other .exe files works this way though. I wonder what is going on?

cnbiz850
October 15th, 2009, 08:03 AM
This only works for me to some extent. OK, I can share files by copy/cut etc between Windows and Ubuntu. But what I can't do is that when I have some .exe file in the folder and try to execute it in Windows and Windows complain that the path doesn't exist. Some other .exe files works this way though. I wonder what is going on?

Sorry, if I access it through //vboxsvr/VM then it is OK. But if I mount it to a network drive like Z: then it is as what I mentioned above.

il pepe
October 15th, 2009, 11:37 AM
PROBLEM:
I did all the things as written down in this forum.

All things work, and i have a shared folder.

XP is guest, Ubuntu jaunty the host.
The only problem i have that all files that make in XP are locked in Ubuntu.
the reason i think is the following: the files made in XP are made as root.
Is there a way to automatically change those the permissions?

utnubu001
December 8th, 2009, 08:46 AM
i have an ubuntu system, with another ubuntu system in VirtualBox.
I shared my /media directory through virtualbox so i can access my hard drives..
How do i access the shared folder inside virtualbox?

TWO
December 10th, 2009, 02:44 PM
Use the "Add Network Place Wizard" in Windows. Follow the wizard and look for you shared folder, add it and you're done. ;)

I don't know what happened to the 'thank' button, but THANK YOU frankieus! Your method worked first time and is the simplest of the lot! :D

unc0nn3ct3d
December 29th, 2009, 10:31 PM
Just wanted to stop by and send my thanks, worked like a charm for me and I'm also enjoying all of the awesome addons that comes with the guest additions. W00t w00t

plink
January 3rd, 2010, 04:33 PM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

I'm writing about installing Win Xp as a guest on a Karmic host.

The above is a great start, and it helped me a lot. But I still had other items to deal with, and I'm listing them here. (Most are very obvious.) Many of these I picked up in this thread, and some on my own.

a. In Synaptic, install the virtualbox guest additions, utilities, etc. before trying above steps.
b. Start up Win XP guest as a Windows admin-level user. (I do most of my Windows work as a Power User to minimize viruses, so I had problems until I switched to an admin account.)
c. For step 2, realize that this only sets up the iso file, and does not complete the install.
d. After step 2, go into Win Explorer, find the Guest Additions drive, right-click and pick Auto-Play. That will trigger the actual install, with the typical Windows install dialogs.
e. For step 4, go to top menu, Devices...Shared Folders.
f. For step 6, I think that the key thing is the Folder Name that you selected in the shared folders setup. My path was /home/pete/videos, but the Folder Name was Videos, so I ran
net use t: \\vboxsvr\Videos and that worked fine.
g. When step 6 is done, you should be able to see the new drives in Win Explorer, plus the small folder icon on the bottom of the virtual session.

Hope this helps save someone some time and hassle.

Thanks to all the others who posted to this thread.

rany
January 4th, 2010, 11:22 PM
How do you mount the windows share in ubuntu if ubuntu is the VM?
i have the same problem, so far i could view the shared folder from win xp(the host) on ubuntu (guest) but i cant get full access ,eg. acant save any files on it or delete
,,,
all u need to do is on vm ,when ubuntu is turned off(vm is off) goto option ,u will see 2 tabs,devices and options
under options , the 3rd row says shared files(disabled) double click on it and enable it
then after u power on in network under places in ubuntu u suppose to see it , but it seems that is not enough cos u will need also to install vmtools , u can find alot of posts to install it and THE MOST IMPORTANT HINT U MUST 1ST LOG IN AS ROOT NOT AS REGULER USER TO UBUNTU WHEN U START TO INSTALL IT
most of this posts dont mention that ,then u get problems, if u need more details fellow up and i will do my best
still my problem cant edit or save any files on the shared folders, still trying

nortexoid
January 6th, 2010, 06:19 PM
i have an ubuntu system, with another ubuntu system in VirtualBox.
I shared my /media directory through virtualbox so i can access my hard drives..
How do i access the shared folder inside virtualbox?

I have the same question and nothing here has solved it. I'm running Kubuntu 9.10 inside Ubuntu 9.10 and I've selected folders to share, but I don't know how to access them in Kubuntu. It's as easy as pie in my XP host!

UPDATE: I found the solution here: http://www.google.co.uk/url?q=http://www.giannistsakiris.com/index.php/2008/04/09/virtualbox-access-windows-host-shared-folders-from-ubuntu-guest/&ei=PsZES8icBY2s4QbZxcWqCA&sa=X&oi=spellmeleon_result&resnum=1&ct=result&ved=0CAcQhgIwAA&usg=AFQjCNGqrUqddKhOBm3KXKGEleLaaadSCw

sync00
February 16th, 2010, 01:02 AM
After installing the additions on the ubuntu guest, start the services. (/etc/init.d/vboxadd start) Then mount with mount -t vboxsf sharename /mountpoint.
Is it possible to do this without using Terminal?

bodhi.zazen
February 16th, 2010, 02:25 AM
Is it possible to do this without using Terminal?

If you add an entry to fstab it should automatically mount.

smuwanga
March 13th, 2010, 08:30 AM
Hey man,

-After installing those networking addins so to speak, go into your Guest OS, like Windows Vista.

-Click on the start menu, navigate to Computer and Right-Click .
-You should see a quick-menu. Click on Map Network Drive
-type the following
\\vboxsrv\NameOfSharedFolder
For instance, if Shared Desktop (/Users/username/Desktop) then use
In Windows Vista, Map Network Drive Z: to \\vboxsrv\Desktop

It worked for me.
I picked the solution from http://www.ideaexcursion.com/2009/01/15/windows-7-in-virtualbox-shared-folders-workaround/
Simon.

carra
April 19th, 2010, 08:19 AM
Use the "Add Network Place Wizard" in Windows. Follow the wizard and look for you shared folder, add it and you're done. ;)

Frankieus' hint did the trick for me!

TheFu
April 20th, 2010, 12:15 PM
VirtualBox has a way to share host file directories with client VMs. Under Windows, it is fairly intuitive. Under Linux client OSes, the steps are less than clear. I don’t know whether they are documented in the users guide or not. I don’t recall it however.


Load the Client OS Extensions.
In Linux Client VM, verify that `lsmod | grep vbox` shows the vboxfs module.
Host: Configure the extension to export a directory – I told it to share d:\Data from my Win7-x64 host as “Data”
Client: sudo mount -t vboxsf Data /Data – yes, the device is just the plain “Data” and it doesn’t show up in /dev like it should.

Run that last command and BAM, it mounted. I updated the /etc/fstab with the necessary info, dismounted the drive and ran `mount -a` to test it. Joy. The hardest part was learning that vbox doesn't honor the /dev/ directories for the device and that the device name isn't intuitively named (the last 2 characters seem backwards to me).


This worked for VirtualBox v2.0.4 - v3.x.

frncz
April 20th, 2010, 03:03 PM
here's a quick guide
1. start up virtual box then start up xp
2. go to the top panel click Devices-->Install Guest Editions
3. Download and install Guest Editions
4. Set up your shared folders in virtual box. Example share folder home/Crimthinc
5. start up windows go to Start-->Run enter cmd and press enter
6. once in the dos console deal type net use t: \\vboxsvr\Crimethinc(only put in the last folders name on the end of the command for example if you selected a folder under home/Crimthinc/music the command would be net use t: \\vboxsvr\music)

This should work this is exactly what i did to get mine working its surprising how frustrated I got figuring this out

Many thanks StuipedandUgly. Worked fine

Mike

CeltaWeb
May 2nd, 2010, 10:39 AM
After installing the additions on the ubuntu guest, start the services. (/etc/init.d/vboxadd start) Then mount with mount -t vboxsf sharename /mountpoint.

Thanks for this i needed to know the mount prefix of vboxsf to mount the drive in Linux.

uhappo
June 24th, 2010, 05:40 AM
-first Install Guest Additions.It is under the Devices menu on VirtualBox
-add which folder you want to share from Shared Folders option on Virtualbox
-open My Network Places on XP click to View workgroup computers
(it can be different if you changed the default network name)
-look down to links with the header Other Places
-you will see Microsoft Windows Network.Click it
-you will see the Entire Network link and click it
-look at the page you will see VirtualBox Shared Folder
:)
it was easy :)

THANKS ALOT!!! So easy with this method

quatrecouleurs
July 23rd, 2010, 02:48 AM
Far more simple is that solution :
https://www.giannistsakiris.com/index.php/2007/09/28/virtualbox-access-shared-folders-from-windows-xp-guest-os/
Just select the folder in the virtualbox shared folders settings dialog box, then use the windows explorer to navigate to browse to entire network > VirtualBox shared folders > \\Vboxsvr > then you can expand all your previously configured shared folders here.

goltoof
August 19th, 2010, 06:08 PM
>> Added shared folder "home\me\localhost"
>> installed guest additions / restarted
>> mapped the shared folder "\\vboxsvr\localhost" as a network drive.

Presto.

michalurban
September 12th, 2011, 05:14 PM
I know its been a while but (after being unable to make EOS Utility to use the network share, even if it was mounted) I finally ended up with another solution - my netbook I use when controlling the camera in the field is running WinXP, EOSutil saves pictures within the guest machine and after finishing the work, I have a .bat file moving the photos to the host machine. Not charming, but it works ...