Mounting Failed With The Error Protocol Error Fedora
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
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 have Meta Discuss the
Mount.vboxsf Mounting Failed With The Error No Such Device
workings and policies of this site About Us Learn more about Stack
/sbin/mount.vboxsf: Mounting Failed With The Error: No Such File Or Directory
Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users virtualbox symlink protocol error Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it https://forums.virtualbox.org/viewtopic.php?f=1&t=15497 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 have been trying to setup shares through VirtualBox, but nothing is http://askubuntu.com/questions/30396/error-mounting-virtualbox-shared-folders-in-an-ubuntu-guest 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.1k1693154 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 the guest OS. Users in a guest Ubuntu must be in the group vboxsf to be able to access shares. Define a
Sign in Pricing Blog Support Search GitHub This repository Watch 731 Star 13,325 Fork 2,823 mitchellh/vagrant Code Issues 388 Pull requests 43 Projects 0 Wiki Pulse Graphs New https://github.com/mitchellh/vagrant/issues/6169 issue Intermittent problems mounting VirtualBox shared folder #6169 Closed IzakMarais opened this Issue Aug 20, 2015 · 1 comment Projects None yet Labels bug synced-folders/general Milestone No milestone Assignees No one assigned 2 participants IzakMarais commented Aug 20, 2015 Hi all. My shared folder works fine upon first boot (I did install guest additions via the VirtualBox iso and it works). protocol error However after using the VM for a while, I sometimes after calling vagrant halt and vagrant up get the error: Failed to mount folders in Linux guest. This is usually because the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was: mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent mounting failed with group vagrant | cut -d: -f3` shares /shares mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` shares /shares The error output from the last command was: /sbin/mount.vboxsf: mounting failed with the error: Protocol error To get this working again I did vagrant ssh into the machine and removed and recreated the mount target directory: [vagrant@localhost ~]$ ll / total 66 ... drwxr-xr-x. 2 root root 4096 Aug 17 09:17 shares ... [vagrant@localhost ~]$ sudo rm -rf /shares [vagrant@localhost ~]$ sudo mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` shares /shares /sbin/mount.vboxsf: mounting failed with the error: No such file or directory [vagrant@localhost ~]$ mkdir /shares mkdir: cannot create directory ‘/shares’: Permission denied [vagrant@localhost ~]$ sudo mkdir /shares Now it works: [vagrant@localhost ~]$ sudo mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` shares /shares [vagrant@localhost ~]$ cd /shares [vagrant@localhost shares]$ ls ca.crt repos test.txt [vagrant@localhost shares]$ ll / total 62 ... drwxrwxrwx. 1 vagrant vagrant 0 Aug 18 08:55 shares ... Any ideas what could be causing this or how to sort it out permanently? VirutalBox version 3.2.28 r100309 Vagrant version 1.7.2 Host OS: Windows 8 Guest OS: https://vagrantcloud.com/chef/boxes/fedora-