Linux 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
/sbin/mount.vboxsf: Mounting Failed With The Error: No Such File Or Directory
more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges virtualbox symlink protocol error Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a virtualbox unmount shared folder 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 How to mount a VirtualBox shared folder? [closed] up vote 58 down https://forums.virtualbox.org/viewtopic.php?f=1&t=15497 vote favorite 62 What is the procedure for mounting a VirtualBox 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 http://serverfault.com/questions/674974/how-to-mount-a-virtualbox-shared-folder this site, so please do not use it as evidence that you can ask similar questions here. 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
failed with the error: Protocol error [Solution] I use Oracle's virtual machine, Virtualbox to run the Linux operating system from my Windows machine. It's the most simple way to have two operating system in your laptop or http://javarevisited.blogspot.com/2015/12/sbinmountvboxsf-mounting-failed-with-error-protocol-virtual-box-error.html PC. Since I run most of Java program in Linux, VirtualBox gives me https://linuxacademy.com/community/posts/show/topic/4764-error-mounting-the-shared-folder-on-cent-os-virtual-boxprotocol-error a nice interface to run UNIX commands right from Windows box. This blog post is about the mountingof shared folder failed error in Oracle's Virtualbox VM. It was working fine day before yesterday and now, after I restarted my virtual box and tried to mount my shared folder, I was greeted by this error: "/sbin/mount.vboxsf: protocol error mounting failed with the error: Protocol error". I was using the following command to mount my shared folder on VirtualBox: $ mount -t vboxsf mountfolder /home/devInHost/mountfolder I was running Oracle's VirtualBox 4.1 version with the guest operating system as RedHat Linux and host OS as Windows 8. Solving /sbin/mount.vboxsf: mounting failed with the error: Protocol error VirtualBox There was nothing different I was trying, I had run this command mounting failed with successfully numerous times, but it was not working today. I looked all over the internet for a solution and tried things like running this command after doing $ cd / or $ cd ~ but with no luck. After a bit of struggle, I found that my virtual box has no shared folder. I went to Settings -> Shared Folders and there was nothing on it, even though I had specified shared folder in the previous run. I later realized that I had not made it permanent, that's why when I restarted my VirtualBox, there was no shared folder. Once I specified the shared folder the command ran fine, even without restarting the virtual box. Summary Here is the summary of what happened, what was the root cause of the error and how I fixed it. What I was trying to do: mounting shared folder on Linux guest OS inside Oracle VirtualBox. Command: $ mount -t vboxsf mountfolder /home/devInHost/mountfolder Error: "/sbin/mount.vboxsf: mounting failed with the error: Protocol error" Cause: There was no shared folder. I had before last run but it wasn't permanent so when I restarted the Virtual box, it got reset. You can check this by going to Settings -> Shared Fold
on my guest machine(CENT OS). I installed all the guest additions required for mounting the shared folder, but still i'm getting the error: /sbin/mount.vboxsf: mounting failed with the error: Protocol error I tried changing the names of the shared folder and nothing worked. guest OS: CENT OS virtual box version: 5.0.4 host OS: Windows Your help is appreciated Luke A 10-17-2015 Hi Varun, What command are you using to mount your shred folder in your guest CentOS VM? If I remember correctly it is: mount -t vboxsf share_name mount_point run this as root or sudo and it should work. I've not used vbox for a while so may be a little rusty :) Luke A 10-17-2015 Also, a quick read of vbox FAQs mentions that your shared name must have the same name as the mount point that you are mounting on, so for example: share name = myshare mount point = /mnt/myshare sudo mount -t vboxsf myshare /mnt/myshare https://forums.virtualbox.org/viewtopic.php?f=3&t=15868 Hope this helps. Reply Commit new skills to your local repo Join 82,000+ aspiring & expert engineers who trained at Linux Academy Join Now Features For Teams Library Blog Careers Community Archive About Terms of Service Privacy Policy Log In Join Now © Linux Academy. All rights reserved. Pinehead and the Linux Academy logo® is the registered trademark of Linux Academy in the U.S. and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Questions? Feedback? powered by Olark live chat software