Share folders Windows(host) to Ubuntu(guest)?

Discussions about using Linux guests in VirtualBox.
Post Reply
Vallard
Posts: 2
Joined: 2. May 2011, 04:39
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 11.04, Arch Linux, Gentoo, Linux Mint

Share folders Windows(host) to Ubuntu(guest)?

Post by Vallard »

Hello guys, every time I that I try share a folder I get this error:

Error ID:
BrokenSharedFolder
Severity:
Warning

And in the guest: Erro: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Anyone know what can I do?
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Share folders Windows(host) to Ubuntu(guest)?

Post by stefan.becker »

Shared folders or Samba? VBOX version on host, vbox version of guest additions in the guest? Who do you mount the shared folders in the guest?
kuntau
Posts: 2
Joined: 7. May 2011, 07:19
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 11.04

Re: Share folders Windows(host) to Ubuntu(guest)?

Post by kuntau »

Hi..

I have the exact same problem.. I can't share any folder from host (win7 64bit) with guest (Ubuntu 11.04) any idea? BTW i'm using the devices --> shared folder menu to share folder. Thx :cry:
hnyman
Posts: 9
Joined: 30. Apr 2011, 10:50
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Ubuntu 21.10

Re: Share folders Windows(host) to Ubuntu(guest)?

Post by hnyman »

Works for me with Win7 x64 host for Virtualbox 4.0.6 & Ubuntu 11.04 guest. I am manually mounting the share from Ubuntu console.

Steps:
1. create the share for Virtualbox in Devices / Shared folders
2. make sure that the mount point exists in Ubuntu's file system (e.g. sudo mkdir /media/ftp )
3. manually mount the share: sudo mount -t vboxsf share_name /media/ftp
(or by using mount.vboxsf from GuestAdditions: sudo mount.vboxsf share_name /media/ftp )
mousethief
Posts: 3
Joined: 25. Jan 2011, 05:02
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win XP

Re: Share folders Windows(host) to Ubuntu(guest)?

Post by mousethief »

I'm having the same problem.
hnyman wrote: 1. create the share for Virtualbox in Devices / Shared folders
This is the step where the error is reported. I can't do this step to go on to the others.

Thanks,
mt
kuntau
Posts: 2
Joined: 7. May 2011, 07:19
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 11.04

Re: Share folders Windows(host) to Ubuntu(guest)?

Post by kuntau »

mousethief wrote:I'm having the same problem.
hnyman wrote: 1. create the share for Virtualbox in Devices / Shared folders
This is the step where the error is reported. I can't do this step to go on to the others.

Thanks,
mt
Hi, I manage to solve the problem perhaps I can help you.

There is bug after you eject the GuestAdditions on drive. IIRC simply reload the GuestAdditions won't solve the problem then you must delete the VM and recreate it.

After that boot your VM and install GuestAdditions. Don't eject then create the shared folder.

Hopefully that will solve your problem.

And with the shared folder didn't appear, you need to edit vbox user group and add your login/account there
Post Reply