Shared folders?

Discussions related to using VirtualBox on Mac OS X hosts.

Shared folders?

Postby bordwehr » 8. Sep 2008, 19:24

Hi. Perhaps someone here can help me. Where on a Windows (Vista) guest do I access the shared folders I've specified?

Thomas
bordwehr
 
Posts: 13
Joined: 8. Sep 2008, 19:20

Postby amagine » 8. Sep 2008, 21:31

The User Manual descibes this nicely.

Section 4.6 Shared Folders
• In a Windows guest, starting with VirtualBox 1.5.0, shared folders are
browseable and are therefore visible in Windows Explorer. So, to attach the host’s shared folder to your Windows guest, open Windows Explorer and look for it under “My Networking Places” -> “Entire Network” -> “VirtualBox Shared Folders”. By right-clicking on a shared folder and selecting “Map network drive” from the menu that pops up, you can assign a drive letter to that shared folder. Alternatively, on the Windows command line, use the following:

net use x: \\vboxsvr\sharename

While vboxsvr is a ?xed name (note that vboxsrv would also work), replace “x:“ with the drive letter that you want to use for the share, and sharename with the share name speci?ed with VBoxManage.


It is actually a really good User Manual, easy to read.
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Postby bordwehr » 8. Sep 2008, 21:45

Thanks! I've read that part. However, in Vista there's no 'My Networking Places', and under 'Network' there's no 'VirtualBox Shared Folders'. I've done a search but with no result.
bordwehr
 
Posts: 13
Joined: 8. Sep 2008, 19:20

Postby amagine » 8. Sep 2008, 21:50

Have installed Guest Additions?
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Postby bordwehr » 8. Sep 2008, 21:55

Yes. I'll try and reinstall

-- didn't help.
bordwehr
 
Posts: 13
Joined: 8. Sep 2008, 19:20

Postby amagine » 8. Sep 2008, 23:12

Okay, well to be honest, (and some people would nail me to a X for this) I have not been impressed with Vista's networking, find it very slow. That being said, with enough shaking of the rubber chicken I would usually get it working.

- Document your entire setup. (look at my sig post below).

- Is this your first VirtualMachine? If not, what has been your success before.
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Postby bordwehr » 9. Sep 2008, 09:49

This is my first virtual machine on VirtualBox, I've tried VMware and Virtual PC earlier (they are both rather slow).

My setup is this.

Host:
MacBook Pro 2.33 / 2 GB RAM
OS X 10.5.4


Guest:
VirtualBox 2.0

General
Name: Windows Vista
OS Type: Windows Vista
Base Memory: 512 MB
Video Memory: 8 MB
Boot Order: Floppy, CD/DVD-ROM, Hard Disk
ACPI: Enabled
IO APIC: Disabled
VT-x/AMD-V: Disabled
PAE/NX: Disabled

Hard Disks
IDE Primary Master: WindowsVista.vdi [Normal, 20.00 GB]

CD/DVD-ROM
Image: VBoxGuestAdditions.iso

Floppy: Not mounted

Audio: Disabled

Network
Adapter 1: PCnet-FAST III (NAT)

Serial Ports: Disabled

USB: Disabled

Shared Folders
Shared Folders: 2

Remote Display: Disabled
bordwehr
 
Posts: 13
Joined: 8. Sep 2008, 19:20

Postby amagine » 9. Sep 2008, 10:08

Hmmm.

Perhaps have a go at mapping your shared folder as a network drive from the windows command line:

Code: Select all   Expand viewCollapse view
net use s: \\vboxsvr\nameoffolderyoushared


take from the user manual:

While vboxsvr is a ?xed name (note that vboxsrv would also work), replace “s:“ with the drive letter that you want to use for the share

....

Now I always use the Intel PRO/1000 T Server Network adapter instead of the AMD PCnet-FAST as Vista does not supply drivers for this card, although I believe the Guest Additions install drivers so the argument is negligible in your case.

There has been a few bugs with VirtualBox 2.0, so unless this is simply somehow user error in finding shares in Vista, or/and no other solution works, perhaps drop back to 1.6.6 which is what I consider the latest stable/production version of VirtualBox.
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Postby bordwehr » 9. Sep 2008, 12:53

Thanks for your suggestions! I've tried both the Intel PRO/1000 settings and I've tried version 1.6.6 (incl. guest additions), but no luck. I haven't been able to try the command -- for some reason I can't access the backslash key (it's like the Alt key doesn't work). I see I'm not the only one with this problem.
bordwehr
 
Posts: 13
Joined: 8. Sep 2008, 19:20

Same problem here...

Postby Bjarne » 9. Sep 2008, 13:57

Something must not be right.
Bjarne
 
Posts: 1
Joined: 9. Sep 2008, 13:48

Postby amagine » 9. Sep 2008, 19:20

Something must not be right.
:lol:

Setting up your keyboard try a re-mapper:

http://www.vtardia.com/blog/keyboard-la ... acbook/en/

This is sounding more and more like Vista Voodoo. (protecting yourself from yourself so yourself cannot do what yourself wants to do)

If the COMMAND does not work, then perhaps try a SMB share.

Mac:

System Preferences / File Sharing / Options / checkbox SMB

Setup with your mac username and password (read warnings etc...)

Setup all the folders you want to share in the prefpane.

I rarely use Vista so I'm not the best to answer SMB setup there.

Vista Guru's?
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Postby bordwehr » 10. Sep 2008, 00:08

Thanks for all your help! I finally got it working. The "net use s: \\vboxsvr\nameoffolderyoushared" command did it. I found out that I could write a backslash by using the Tablet PC Input Panel.
bordwehr
 
Posts: 13
Joined: 8. Sep 2008, 19:20

Postby amagine » 10. Sep 2008, 00:11

Good to know, and I suspected it was a Vista issue.

Not sure why the GUI network connection is soooo bugy.
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Postby DougR » 11. Sep 2008, 05:21

Oh man, this was driving me crazy, but the
Code: Select all   Expand viewCollapse view
net use s: \\vboxsvr\sharename
did the trick for me, too.

Thanks!
DougR
 
Posts: 2
Joined: 11. Sep 2008, 05:15

Postby amagine » 11. Sep 2008, 07:05

DougR -

Is your Guest Vista also?
what version of VBox?
Host?


Just wondering if there is a trend here...
amagine
Volunteer
 
Posts: 177
Joined: 28. Jul 2008, 19:52

Next

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: No registered users and 14 guests