Protocol Error Vboxsf
Contents |
Opened 9 years ago Last modified 2 months ago Mounting share directory on Linux host result in Protocol error if default share name is used Reported by: paulsiu Owned by: Priority: /sbin/mount.vboxsf mounting failed with the error protocol error ubuntu minor Component: guest additions Version: VirtualBox 1.5.2 Keywords: Cc: Guest type:
/sbin/mount.vboxsf: Mounting Failed With The Error: Protocol Error Centos
Linux Host type: other Description (last modified by michael) (diff) Host is Ubuntu 7.10. Guest is Linux sf_read_super_aux err=-71 Mint 4.0 I created a new shared directory using the GUI in a machine's setting. The GUI will prompt me to select a host directory for the virtualbox shared folder protocol error writing shared directory. When I select the share directory, a share name is automatically generated. So if I select the directory "/home/paulsiu/vshare", the share name "vshare" is created. If I attempt to mount the vshare using the following command in the Linux Guest I get the following error: sudo mount -t vboxsf vshare /home/paulsiu/share /sbin/mount.vboxsf: mounting failed
Mount.vboxsf Mounting Failed With The Error No Such Device
with the error: Protocol error The syslog will have the error: Oct 8 18:27:09 wxbuilder kernel: vboxvfs: sf_glob_alloc: vboxCallMapFolder failed rc=-102 Oct 8 18:27:09 wxbuilder kernel: sf_read_super_aux err=-71 Now suppose I go back into the GUI and change the "vshare" to "vshare2". The following mount command will work: sudo mount -t vboxsf vshare2 /home/paulsiu/share For some reason, whatever Virtualbox select as the default share name will always fail to mount. If you pick something else, it will work. Change History comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 9 years ago by allentiak Replying to paulsiu: Host is Ubuntu 7.10. Guest is Linux Mint 4.0 It also happened to me. My host is a Debian stable/testing; the guest is Ubuntu 7.10. VirtualBox is also version 1.5.2. I followed your advise and it worked. Thank you for reporting the bug. comment:2 in reply to: ↑ 1 Changed 9 years ago by abitgroggy I followed your advise and it worked. Works okay if you use the mount c
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might /sbin/mount.vboxsf: mounting failed with the error: no such file or directory have Meta Discuss the workings and policies of this site About Us virtualbox unmount shared folder Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
Virtualbox Symlink Protocol Error
us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes https://www.virtualbox.org/ticket/928 a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error mounting VirtualBox shared folders in an Ubuntu guest up vote 37 down vote favorite 25 I have Ubuntu 10 as the guest OS on a Windows 7 machine. I http://askubuntu.com/questions/30396/error-mounting-virtualbox-shared-folders-in-an-ubuntu-guest have been trying to setup shares through VirtualBox, but nothing is working. First, I create the share in VirtualBox and point it to a Windows folder. Then I try to mount the drive in Linux, but I keep getting /sbin/mount.vboxsf: mounting failed with the error: Protocol error I have read so many solutions to this, but none seem to work. I have tried: Using the mount.vboxsf syntax Reinstalling VBox additions Rebooting Enabling and trying as root account I made a share called "Test" in VBox Shared folders. Then I made a directory in ubuntu named "test2". Then I tried to execute this command: sudo mount -t vboxsf Test /mnt/test2 Any other ideas? mount virtualbox share|improve this question edited Jan 3 '14 at 18:00 Braiam 39.2k1693154 asked Mar 14 '11 at 23:18 skaz 4131714 add a comment| 6 Answers 6 active oldest votes up vote 45 down vote accepted In order to use shared folder functionality few prerequisites need to be met: Make sure that Guest Additions are properly installed on th
shared folder Prepare the folder Linux Windows Troubleshooting The name was not valid Ubuntu 10.04 host Introduction This explains how to share files and folders (directories) between host and guest. (Files are shared over a network, in https://help.ubuntu.com/community/VirtualBox/SharedFolders other words, you access remote files. For virtual machines, the network between host and guest is virtual since they are on the same real machine. But the steps you take are similar to setting up file sharing over real networks.) Required: Virtualbox Guest Additions Before sharing folders, you must install Guest Additions. For instructions on how to do this, see protocol error Guest Additions. Creating a shared folder Create a folder on the Host computer (ubuntu) that you would like to share, for example ~/share Boot the Guest operating system in VirtualBox. Select Devices -> Shared Folders... Choose the 'Add' button. Select ~/share Optionally select the 'Make permanent' option Prepare the folder Linux With a shared folder named share, as above, the folder mounting failed with can be mounted as the directory ~/host with the command sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) share ~/host Windows On the Windows Guest, run net use x: \\vboxsvr\shareNow anything placed in this folder should be visible from the host in the ~/share folder. Troubleshooting This can be done more generically with the following: sharename="whatever.you.want.to.call.it"; sudo mkdir /mnt/$sharename sudo chmod 777 /mnt/$sharename sudo mount -t vboxsf -o uid=1000,gid=1000 $sharename /mnt/$sharename ln -s /mnt/$sharename $HOME/Desktop/$sharenameFor the above command if you get the following error: mount: unknown filesystem type 'vboxsf'Then just change the vboxsf to vboxfs If you want to have it mount automatically upon each boot, put the mount command in /etc/rc.local Debian distros (e.g. Ubuntu 10.04 and later) HOWTO Use Shared Folders See Section 4.4 "Folder Sharing" in the VirtualBox documentation. Note: if you want to mount the directory as owned and writable only by root, omit the -ouid=1000,gid=1000 option to the mount command /sbin/mount.vboxsf: mounting failed with the error: Protocol errorThe above error could be one of the following. The name was not valid Make sure you specified