I cannot mount the shared folder between host windows machine and virtualbox guest linux












5















So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share



Then I log into the terminal of guest linux to type in the following commands:



$ sudo mount -t vboxsf VM-share ~/share/


It gives me the following error message:



mount: wrong fs type, bad option, bad superblock on VM-share,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.


So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?



to install both the "sudo apt install nfs-common" and "sudo apt install cifs-utils"



However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/" It still gives me the same error message as before. I typed in "dmesg | tail", the following is the message:



[    8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 9.633147] floppy0: no floppy controllers found
[ 9.633209] work still pending
[ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
[ 3128.376457] sf_read_super_aux err=-22
[ 5762.008076] sf_read_super_aux err=-22
[ 6052.591669] sf_read_super_aux err=-22
[ 6138.926441] sf_read_super_aux err=-22


So How should I do to mount the shared folder?










share|improve this question



























    5















    So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share



    Then I log into the terminal of guest linux to type in the following commands:



    $ sudo mount -t vboxsf VM-share ~/share/


    It gives me the following error message:



    mount: wrong fs type, bad option, bad superblock on VM-share,
    missing codepage or helper program, or other error

    In some cases useful info is found in syslog - try
    dmesg | tail or so.


    So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?



    to install both the "sudo apt install nfs-common" and "sudo apt install cifs-utils"



    However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/" It still gives me the same error message as before. I typed in "dmesg | tail", the following is the message:



    [    8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
    [ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
    [ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
    [ 9.633147] floppy0: no floppy controllers found
    [ 9.633209] work still pending
    [ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
    [ 3128.376457] sf_read_super_aux err=-22
    [ 5762.008076] sf_read_super_aux err=-22
    [ 6052.591669] sf_read_super_aux err=-22
    [ 6138.926441] sf_read_super_aux err=-22


    So How should I do to mount the shared folder?










    share|improve this question

























      5












      5








      5








      So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share



      Then I log into the terminal of guest linux to type in the following commands:



      $ sudo mount -t vboxsf VM-share ~/share/


      It gives me the following error message:



      mount: wrong fs type, bad option, bad superblock on VM-share,
      missing codepage or helper program, or other error

      In some cases useful info is found in syslog - try
      dmesg | tail or so.


      So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?



      to install both the "sudo apt install nfs-common" and "sudo apt install cifs-utils"



      However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/" It still gives me the same error message as before. I typed in "dmesg | tail", the following is the message:



      [    8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
      [ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
      [ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
      [ 9.633147] floppy0: no floppy controllers found
      [ 9.633209] work still pending
      [ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
      [ 3128.376457] sf_read_super_aux err=-22
      [ 5762.008076] sf_read_super_aux err=-22
      [ 6052.591669] sf_read_super_aux err=-22
      [ 6138.926441] sf_read_super_aux err=-22


      So How should I do to mount the shared folder?










      share|improve this question














      So in the setting of virtualbox shared folder, I already has the click the set-up: auto mount and make permanent. My shared folder is named as VM-share



      Then I log into the terminal of guest linux to type in the following commands:



      $ sudo mount -t vboxsf VM-share ~/share/


      It gives me the following error message:



      mount: wrong fs type, bad option, bad superblock on VM-share,
      missing codepage or helper program, or other error

      In some cases useful info is found in syslog - try
      dmesg | tail or so.


      So I googled it and follow the instructions on this page: Why do I get "wrong fs type, bad option, bad superblock" error?



      to install both the "sudo apt install nfs-common" and "sudo apt install cifs-utils"



      However,when I repeat the command "$ sudo mount -t vboxsf VM-share ~/share/" It still gives me the same error message as before. I typed in "dmesg | tail", the following is the message:



      [    8.743003] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
      [ 8.745374] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
      [ 8.752152] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
      [ 9.633147] floppy0: no floppy controllers found
      [ 9.633209] work still pending
      [ 3128.376259] vboxsf: Successfully loaded version 5.1.16_Ubuntu (interface 0x00010004)
      [ 3128.376457] sf_read_super_aux err=-22
      [ 5762.008076] sf_read_super_aux err=-22
      [ 6052.591669] sf_read_super_aux err=-22
      [ 6138.926441] sf_read_super_aux err=-22


      So How should I do to mount the shared folder?







      mount virtualbox shared-folders






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 14 '17 at 19:43









      Joy Joy

      66115




      66115






















          2 Answers
          2






          active

          oldest

          votes


















          4














          It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:




          1. https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/


          2. Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/


          3. Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.



          I hope it helps people who might come across the same issue as I did.






          share|improve this answer

































            0














            cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:



            cd /media
            sudo mkdir nameOfMySharedFolder


            mount the folder with the following command:



            sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder


            watch a video for full description of process
            https://www.youtube.com/watch?v=I5cV0V7vLJw
            p.s. the sudo may or may not be necessary






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f964944%2fi-cannot-mount-the-shared-folder-between-host-windows-machine-and-virtualbox-gue%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:




              1. https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/


              2. Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/


              3. Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.



              I hope it helps people who might come across the same issue as I did.






              share|improve this answer






























                4














                It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:




                1. https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/


                2. Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/


                3. Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.



                I hope it helps people who might come across the same issue as I did.






                share|improve this answer




























                  4












                  4








                  4







                  It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:




                  1. https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/


                  2. Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/


                  3. Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.



                  I hope it helps people who might come across the same issue as I did.






                  share|improve this answer















                  It turns out the reason that I could not mount is because I did not install the vboxguestaddition version. So if you follow the steps here:




                  1. https://www.howtogeek.com/189974/how-to-share-your-computers-files-with-a-virtual-machine/


                  2. Ignore the windows part above, then follows the step here to install the guest additon: https://virtualboxes.org/doc/installing-guest-additions-on-ubuntu/


                  3. Then the file will be automatically there, but you might come across permission issue, check this page : https://askubuntu.com/questions/189200/getting-access-to-var-www.



                  I hope it helps people who might come across the same issue as I did.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Feb 19 '18 at 0:08









                  Community

                  1




                  1










                  answered Oct 15 '17 at 19:57









                  Joy Joy

                  66115




                  66115

























                      0














                      cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:



                      cd /media
                      sudo mkdir nameOfMySharedFolder


                      mount the folder with the following command:



                      sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder


                      watch a video for full description of process
                      https://www.youtube.com/watch?v=I5cV0V7vLJw
                      p.s. the sudo may or may not be necessary






                      share|improve this answer




























                        0














                        cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:



                        cd /media
                        sudo mkdir nameOfMySharedFolder


                        mount the folder with the following command:



                        sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder


                        watch a video for full description of process
                        https://www.youtube.com/watch?v=I5cV0V7vLJw
                        p.s. the sudo may or may not be necessary






                        share|improve this answer


























                          0












                          0








                          0







                          cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:



                          cd /media
                          sudo mkdir nameOfMySharedFolder


                          mount the folder with the following command:



                          sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder


                          watch a video for full description of process
                          https://www.youtube.com/watch?v=I5cV0V7vLJw
                          p.s. the sudo may or may not be necessary






                          share|improve this answer













                          cd to the /media folder and create a dir with the same name as the folder you created/shared in the host machine shared folder:



                          cd /media
                          sudo mkdir nameOfMySharedFolder


                          mount the folder with the following command:



                          sudo mount -t vboxsf nameOfMySharedFolder /media/nameOfMySharedFolder


                          watch a video for full description of process
                          https://www.youtube.com/watch?v=I5cV0V7vLJw
                          p.s. the sudo may or may not be necessary







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 15 at 0:51









                          rearThingrearThing

                          11




                          11






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f964944%2fi-cannot-mount-the-shared-folder-between-host-windows-machine-and-virtualbox-gue%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How did Captain America manage to do this?

                              迪纳利

                              南乌拉尔铁路局