Mount.vboxsf Protocol Error
Contents |
[ DST ] Get VirtualBox Forum powered by phpBB © phpBB Group By any use of this Website, you agree to be bound by these Policies and Terms of Use Sponsored by
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or
/sbin/mount.vboxsf: Mounting Failed With The Error: No Such File Or Directory
posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is virtualbox symlink protocol error a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody virtualbox unmount shared folder can ask a question Anybody can answer The best answers are voted up and rise to the top How to mount a VirtualBox shared folder? [closed] up vote 58 down vote favorite 62 What is the procedure for mounting a VirtualBox https://forums.virtualbox.org/viewtopic.php?f=1&t=15497 shared folder in Linux? I tried variations of the following mount command but I keep getting protocol error or other mount errors. sudo mount -t vboxsf share /home/toto linux virtualbox mount share asked Mar 12 '14 at 4:25 BSalita locked by Michael Hampton♦ May 11 '15 at 1:37 This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. http://serverfault.com/questions/674974/how-to-mount-a-virtualbox-shared-folder/674978 This question and its answers are frozen and cannot be changed. More info: help center. closed as off-topic by Michael Hampton♦ May 11 '15 at 1:37 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – Michael HamptonIf this question can be reworded to fit the rules in the help center, please edit the question. Is this a question? Please rephrase it so that it becomes a question, post your own answer to it, and I'll be more than glad to remove the downvote. –icedwater Mar 12 '14 at 4:26 1 Edited to conform to Q&A standards. –BSalita Mar 12 '14 at 4:52 pls update question what you tried and what error you getting –vinay hunachyal Mar 12 '14 at 4:56 Edited to show non-working command. A common error is protocol error as stated in question. –BSalita Mar 12 '14 at 5:05 I am getting this error any solution to this "mount: unknown filesystem type 'vboxsf'" –sandip divekar Nov 20 '14 at 6:24 comments disabled on deleted / locked posts / reviews| 8 Answers 8 active oldest votes up vote 111 down vote Ok this was a little confusing fo
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 other words, you access remote https://help.ubuntu.com/community/VirtualBox/SharedFolders 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 Guest Additions. Creating a shared folder Create a folder on the protocol error 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 can be mounted as the directory ~/host with the command sudo mount -t vboxsf -o uid=$UID,gid=$(id mounting failed with -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 the right name on the bash commands. If the guest machine is expecting "share" (as we did in the Prepare Host section) and you wrote sharename="donotshare" sudo mkdir /mnt/$sharename sudo chmod 777 /mnt/$s