Shared folders?

Discussions related to using VirtualBox on Mac OS X hosts.
bordwehr
Posts: 13
Joined: 8. Sep 2008, 19:20

Shared folders?

Post by bordwehr »

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

Thomas
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

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.
bordwehr
Posts: 13
Joined: 8. Sep 2008, 19:20

Post by bordwehr »

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.
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

Have installed Guest Additions?
bordwehr
Posts: 13
Joined: 8. Sep 2008, 19:20

Post by bordwehr »

Yes. I'll try and reinstall

-- didn't help.
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

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.
bordwehr
Posts: 13
Joined: 8. Sep 2008, 19:20

Post by bordwehr »

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
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

Hmmm.

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

Code: Select all

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.
bordwehr
Posts: 13
Joined: 8. Sep 2008, 19:20

Post by bordwehr »

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.
Bjarne
Posts: 1
Joined: 9. Sep 2008, 13:48

Same problem here...

Post by Bjarne »

Something must not be right.
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

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?
bordwehr
Posts: 13
Joined: 8. Sep 2008, 19:20

Post by bordwehr »

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.
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

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

Not sure why the GUI network connection is soooo bugy.
DougR
Posts: 2
Joined: 11. Sep 2008, 05:15

Post by DougR »

Oh man, this was driving me crazy, but the

Code: Select all

net use s: \\vboxsvr\sharename 
did the trick for me, too.

Thanks!
amagine
Volunteer
Posts: 177
Joined: 28. Jul 2008, 19:52

Post by amagine »

DougR -

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


Just wondering if there is a trend here...
Post Reply