Mount failure of a Share folder in Ubuntu 10.10
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Mount failure of a Share folder in Ubuntu 10.10
Hello,
I use VirtualBox 3.2.10 on Windows 7 host. The guest runs Ubuntu 10.10, with guest add-ons successfully installed.
In the virtual machine, I defined a Share folder pointing to a directory of the Host.
I would mount this Share.
For this, I do : mount -t vboxsf Share /mnt/Share
the name of the Share is Share and the mouting point Share has been created with rights for all (chmod 777).
The mount fails : /sbin/mount.vboxsf : mounting failde with the error : Protocol error.
How to solve this problem ?
Thank you in advance for your help.
I use VirtualBox 3.2.10 on Windows 7 host. The guest runs Ubuntu 10.10, with guest add-ons successfully installed.
In the virtual machine, I defined a Share folder pointing to a directory of the Host.
I would mount this Share.
For this, I do : mount -t vboxsf Share /mnt/Share
the name of the Share is Share and the mouting point Share has been created with rights for all (chmod 777).
The mount fails : /sbin/mount.vboxsf : mounting failde with the error : Protocol error.
How to solve this problem ?
Thank you in advance for your help.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
What is Share assigned to in the Host? What are you trying to share? This is selected using the shared folder section of VirtualBox.
Does the mount point exist on the guest /mnt/Share?
Does the mount point exist on the guest /mnt/Share?
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
Yes, Perryg, the Share exists in the Host. In VirtualBox Settings, it is well defined in the shared folder section of VirtualBox : name (Share) and location of the directory in the Host.
I want to share this directory Share (which exists in the Host).
As I said in my firt post, the mount point exists on the guest : it is /mnt/Share.
Now, what produces this mount failure ?
Have a good evening.
I want to share this directory Share (which exists in the Host).
As I said in my firt post, the mount point exists on the guest : it is /mnt/Share.
Now, what produces this mount failure ?
Have a good evening.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
I asked to make sure that you did indeed check. You would be surprised how many do not and this saves me time.
Next you say the guest additions are installed. Are you sure they are installed properly? 99% of the time when people have problems they are not.
The next thing and probably the most important is with your mount statement did you use sudo?
Next you say the guest additions are installed. Are you sure they are installed properly? 99% of the time when people have problems they are not.
The next thing and probably the most important is with your mount statement did you use sudo?
Code: Select all
sudo mount -t vboxsf Share /mnt/Share-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
Don't worry, Perryg, I understand perfectly you need to verify all that.
Yes, I am sure that guest additions are properly installed. As a proof of this : I can copy a text of the Ubuntu console and past it in Windows software (it's that I did below about root).
Yes, I performed the mount command being root (sudo su). Look at this command and result of it :
root@claude-VirtualBox:/mnt# mount -t vboxsf PartageVirtualBox /mnt/PartageVirtualBox
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
root@claude-VirtualBox:/mnt#
In my previous posts, I named the share as Share, but it's true name is PartageVirtualBox, as you see above.
Thnak you,Perryg, for your help.
Yes, I am sure that guest additions are properly installed. As a proof of this : I can copy a text of the Ubuntu console and past it in Windows software (it's that I did below about root).
Yes, I performed the mount command being root (sudo su). Look at this command and result of it :
root@claude-VirtualBox:/mnt# mount -t vboxsf PartageVirtualBox /mnt/PartageVirtualBox
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
root@claude-VirtualBox:/mnt#
In my previous posts, I named the share as Share, but it's true name is PartageVirtualBox, as you see above.
Thnak you,Perryg, for your help.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
OK yet another question so I can see if I can isolate the problem.
Did/do you have dkms installed on the guest before you installed the guest additions?
There have been issues reported with ver 3.2.10 if dkms was not installed where some portions were not installed correctly. Mostly it has been associated with X but it might be something to look at.
Did/do you have dkms installed on the guest before you installed the guest additions?
There have been issues reported with ver 3.2.10 if dkms was not installed where some portions were not installed correctly. Mostly it has been associated with X but it might be something to look at.
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
Good morning Perryg,
No, dkms is not installed in the Guest. I verificated with the package manager Synaptic.
So, It was not installed before I installed the guest additions.
Thank you again for your help.
No, dkms is not installed in the Guest. I verificated with the package manager Synaptic.
So, It was not installed before I installed the guest additions.
Thank you again for your help.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
You can install dkms and then install the guest additions again. Reboot and see if it helps.
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
Hello Perryg,
I try to install dkms (with Synaptic) , but I have the message : "virtualbox-ose-dkms is in conflict with virtualbox-ose-guest-dkms, but 3.2.8-dfsg-2ubuntu1 must be installed".
There is no package available for 3.2.8-dfsg-2ubuntu1. There are many for dfsg, but, in the list of these packages, there is not dfsg itself.
What have I to do ? Have I to desinstall the guest additions previously ? If yes, can you say me how to do to desinstall them ?
Thank you.
I try to install dkms (with Synaptic) , but I have the message : "virtualbox-ose-dkms is in conflict with virtualbox-ose-guest-dkms, but 3.2.8-dfsg-2ubuntu1 must be installed".
There is no package available for 3.2.8-dfsg-2ubuntu1. There are many for dfsg, but, in the list of these packages, there is not dfsg itself.
What have I to do ? Have I to desinstall the guest additions previously ? If yes, can you say me how to do to desinstall them ?
Thank you.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
Those packages are for the OSE version of VirtualBox from Ubuntu. The actual package you need is just dkms.
In a terminal type:
Should install the proper package.
Question; when you installed the guest additions, can you tell me how you are doing this? Did you click the devices tab at the top left of the window or did you use the synaptic package manager?
In a terminal type:
Code: Select all
sudo apt-get install dkms Question; when you installed the guest additions, can you tell me how you are doing this? Did you click the devices tab at the top left of the window or did you use the synaptic package manager?
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
To install the guest additions, I click the devices tab at the top left of the window (I don't use Synaptic for this.
Is it the good procedure ?
Is it the good procedure ?
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
I install successfully dkms with apt-get. OK.
I wait for your answer about the procedure (by the devices tab, or by Synaptic), before reinstalling the guest additions.
Thank you in advance.
I wait for your answer about the procedure (by the devices tab, or by Synaptic), before reinstalling the guest additions.
Thank you in advance.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
The proper way (since you are using the PUEL version) is to click the devices tab. My concern was that if you were actually installing the OSE version this would cause the problem you are seeing as they do not match your installed version of VirtualBox.
So at this point reinstall the guest additions, watch the screen closely for a success of all installed packages and then reboot the guest before you try the mount again.
So at this point reinstall the guest additions, watch the screen closely for a success of all installed packages and then reboot the guest before you try the mount again.
-
ordipb
- Posts: 28
- Joined: 7. Nov 2010, 12:03
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Window XP Xubuntu
Re: Mount failure of a Share folder in Ubuntu 10.10
I installed the guest additions by Devices > To install the guest additions, without problem.
I rebooted the guest.
I mounted the share, and, this time, the mount was good.
The problem is solved. Thank you very much for your help.
You say that I use the PUEL version. How do you know this ? (I though I use the OSE version).
My version of VirtualBox is 3.2.10 r66523 for Windows.
Is it a PUEL version ?
Have a good evening.
I rebooted the guest.
I mounted the share, and, this time, the mount was good.
The problem is solved. Thank you very much for your help.
You say that I use the PUEL version. How do you know this ? (I though I use the OSE version).
My version of VirtualBox is 3.2.10 r66523 for Windows.
Is it a PUEL version ?
Have a good evening.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Mount failure of a Share folder in Ubuntu 10.10
If you were using the OSE version you would have had to compile it yourself. On Windows that is real chore. Plus you state it is PUEL in you profile.