Mount Vboxsf Protocol Error Ubuntu
Contents |
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 /sbin/mount.vboxsf: mounting failed with the error: protocol error Meta Discuss the workings and policies of this site About Us
/sbin/mount.vboxsf: Mounting Failed With The Error: No Such File Or Directory
Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with mount.vboxsf mounting failed with the error no such device 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 virtualbox shared folder protocol error writing 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 have
/sbin/mount.vboxsf: Mounting Failed With The Error: Protocol Error Centos
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.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
[ 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
shared folder MaindotCDecember 10th, 2008, 01:41 AMThe VirtualBox documentation is rather confusing regarding this issue. It would really help if they would accompany an exact https://ubuntuforums.org/archive/index.php/t-1006818.html example. This is from page 62 of the user manual regarding shared folders: The command is as follows: VBoxManage sharedfolder add "VM name" -name "sharename" -hostpath "C:\test" Here's what I http://stackoverflow.com/questions/28328775/virtualbox-mount-vboxsf-mounting-failed-with-the-error-no-such-device did. First, instead of following the directions for the command prompt, I opened VirtalBox, clicked on a Fedora 9 VM, clicked "Shared Folders", clicked "Add a new shared folder", protocol error entered the path on my host OS of the shared folder I created, and clicked "Ok". My shared folder is located at /home/a34lkj2348dsf311/Desktop/shared_folder. Now I have to tell the VM where the shared folder is and where to mount it. So, page 62 continues: In a Linux guest, use the following command: mount -t vboxsf [-o OPTIONS] sharename mountpoint So mounting failed with I created a directory in my Fedora VM. It's in /root/Desktop/fedora_share. Here's what I entered and the associative output: [root@localhost Desktop]# mount -t vboxsf /home/a34lkj2348dsf311/Desktop/shared_folder fedora_share/ /sbin/mount.vboxsf: mounting failed with the error: Protocol error [root@localhost Desktop]# It's difficult for me to pinpoint the problem because if I want to do it via the command line on the host o/s I get the following output: a34lkj2348dsf311@a34lkj2348dsf311-desktop:~$ sudo VBoxManage sharedfolder remove Fedora -name ~/Desktop/shared_folder/ [sudo] password for a34lkj2348dsf311: VirtualBox Command Line Management Interface Version 2.0.6 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. [!] FAILED calling aVirtualBox->FindMachine(Bstr(argv[1]), machine.asOutParam()) at line 7455! [!] Primary RC = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value [!] Full error info present: true , basic error info present: true [!] Result Code = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value [!] Text = Could not find a registered machine named 'Fedora' [!] Component = VirtualBox, Interface: IVirtualBox, {557a07bc-e6ae-4520-a361-4a8493199137} [!] Callee = IVirtualBox, {557a07bc-e6ae-4520-a361-4a8493199137} a34lkj2348dsf311@a34lkj2348dsf311-desktop:~$ I tried it as the regular user and I also tried it as sudo. I tried changing the path of shared_f
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 posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up VirtualBox: mount.vboxsf: mounting failed with the error: No such device up vote 61 down vote favorite 27 I'm using VirtualBox with OS X as host and CentOS on the guest VM. In OS X I created folder myfolder, added it as shared folder to the VM, turned on the VM, in CentOS created folder /home/user/myfolder and typing: sudo mount -t vboxsf myfolder /home/user/myfolder and have output: /sbin/mount.vboxsf: mounting failed with the error: No such device What I'm doing wrong? UPDATED: Guest Additions installed. osx centos virtual-machine virtualbox share|improve this question edited Mar 26 at 8:16 bschlueter 1,077728 asked Feb 4 '15 at 18:32 cnaize 80821126 Make sure Guest Additions is installed properly, you might have to sudo apt-get upgrade ;sudo apt-get install build-essential module-assistant; sudo m-a prepare; You need to see the Guest Aditions module being built... –ntg Jun 3 '15 at 14:46 2 To the random internet surfer who's having this problem: Do yourself a favour and look at the second answer. –jrharshath Dec 17 '15 at 22:35 a tip - sudo mount -t vboxsf sf_folder /home/user/folder, here the sf_folder and folder MUST be different names –cnaize Feb 22 at 16:24 @jrharshath Which one is the "second answer"? Sorting can change. Click on share in the answer to get the permalink. –wisbucky Mar 10 at 18:46 1 modprobe -a vboxguest vboxsf vboxvideo –jrharshath Mar 14 at 7:30 add a comment| 11 Answers 11 active oldest votes up vote 92 down vote My shared folder/clipboard stopped to work for some reason (probably due to a patch installation on my virtual machine). sudo mount -t vboxsf Shared_Folder ~/SF/ Gave following result: VirtualBox: mount.vboxsf: mounting failed with the error: No such device The solution for me was to stop vboxadd and do a setup after that: cd /opt/VBo