Page 3 of 4

Re: How do I automatically mount my shared folder?

Posted: 21. May 2011, 13:42
by elizabethpwalker
many thanx, the problem is solved)

Re: How do I automatically mount my shared folder?

Posted: 26. May 2011, 19:25
by samdanu
Dear All,

I am currently using Virtualbox 4.0.8 installed on Host Windows 7. I have created a folder 'ubuntudocs' on my Host. I have also added the folder ubuntudocs to my virtualbox tree. Below is the directory on the host as shown in my virtaulbox SETTINGS.

C:\users\bizcomm\documents\ubuntudocs

Please show me how to mount this folder ubuntudocs in my Ubuntu 11.04 Guest from the Terminal window. I want the complete syntax to use. I also want to know how to mount this automatically.

Regards,

Samuel.

Re: How do I automatically mount my shared folder?

Posted: 26. May 2011, 19:29
by Perryg

Re: How do I automatically mount my shared folder?

Posted: 27. May 2011, 15:52
by samdanu
Dear Perryg,

Thanks for the link you sent. I have an issue with adding the shared folder to the Virtualbox settings.

When I add it to the settings, I get the error 'sharedfolderbroken' I always get an error message telling me that the shared folder might not work properly and that the shared folder is broken.

Please help me fix this problem. What do I do to fix this error?

Regards,

Samuel.

Re: How do I automatically mount my shared folder?

Posted: 27. May 2011, 17:32
by Perryg
Tell me exactly (step by step) how you are adding the share to the guest. Screenshots will help as well.
Typically you use the shared folder search to add the location and then use a name that does not have spaces or special characters.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 17:01
by samdanu
Dear Perryg,

Thanks for your reply. I am having some serious issues with this Virtualbox shared folder settings. I have used the shared folder search to add the location on my drive C: The folder path is c:\ubuntushare and the folder name I changed to ubuntudrive. When I clik on save the was WARNING/ERROR message from virtualbox settings. "The Virtual machine execution may run into serious problem. You are advised to take steps to rectify the problem. Broken shared folder" What is causing this problem?

I have also created a folder on my ubuntu guest as 'windowsshare' uising the command 'sudo mkdir /home/samuel/windowsshare' When I run the command 'sudo mount ubuntudrive /home/samuel/windowsshare' I get the error 'special device ubuntudrive does not exist' Why is this so? I am logged into ubuntu as user SAMUEL and I have added the user to the group vboxsf in the System settings.

I hope this information will help rectify the problem.

Regards,

Samuel.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 17:16
by Perryg
For shared folders to work you need:
1) the guest additions installed (in the guest)
2) the hosts folder you are sharing must exist.
3) the name should not have spaces or special characters and Linux is case sensitive.
I have also created a folder on my ubuntu guest as 'windowsshare' uising the command 'sudo mkdir /home/samuel/windowsshare' When I run the command 'sudo mount
If you are using the auto-mount feature of the shared folder you do not need to make a mount point. the mount point will be /media/sf_<share name>

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 17:41
by samdanu
Dear Perryg,

I have already installed the guest additions on the guest. The host folder is located on my drive C. thus C:\ubuntusahre and it exists.

I will try your example now. I will get back to you.

Regards,

Sam.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 18:39
by samdanu
Dear Perryg,

I am still getting errors. I am not successful with the new mount point you gave me, thus /media/sf_<share name> Can you please give me the exact command I need to use to resolve this issue once and for all?

The folder on HOST is C:\ubuntushare

Please use the mount point /media/sf_<share name> and give me the command to use. I am having a tough time doing this.

Regards,

Sam.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 18:55
by Perryg
There is no special command to make the mount if you are using the auto-mount. It is handled by VirtualBox at boot time.
You should have also added your (guest) user name to the (guests) vboxsf group.

My main concern is why are you receiving the original error below:
When I clik on save the was WARNING/ERROR message from virtualbox settings. "The Virtual machine execution may run into serious problem. You are advised to take steps to rectify the problem. Broken shared folder"
This indicates something seriously wrong with the share from the host. Do you still get this message?

Post the guests log file (as an attachment)
As well as from the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use "" if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 19:47
by samdanu
Dear Perryg,

I am still getting the error message. I get it when I click on 'DEVICES' in virtual box and select shared folder and edit and click save.

I have attached the log file here.

I am not able to run the command on the HOST. I get this message. "vboxmanage is not recognised as an internal or external command, operable program or batch file.

Hope to read from you soon.

Regards,

Samuel.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 20:04
by Perryg

Code: Select all

SharedFolders host service: removing host mapping failed with rc=VERR_PERMISSION_DENIED
You need to see what the permission level of the share in Windows is.

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 20:11
by samdanu
What is the acceptable permission level for virtualbox shared folder in windows host?

Re: How do I automatically mount my shared folder?

Posted: 30. May 2011, 20:23
by Perryg
The minimum I think would be user level (same as your account) or select everyone.
When you created this folder were you logged in as you or do you use the admin login?

Re: How do I automatically mount my shared folder?

Posted: 31. May 2011, 19:43
by samdanu
Dear Perryg,

I have set the shared folder in Windows Host to EVERYONE. But when I open virtualbox and run my Guest OS, the folder does not load and I still get the error "The Virtual machine execution may run into serious problem. You are advised to take steps to rectify the problem. Broken shared folder" when I tried to remove and add the shared folder in virtualbox settings.

I think this is a critical issue now. I need you assistance in rectifying the problem please..

Regards,

Samuel.