Sharing folder between Windows 10 host and Ubuntu virtual box machine












2















I am totally new to Ubuntu and a first timer user and been reading about this subject for a while. I have a folder on Windows that I need to be able to access from my Ubuntu VM on Virtual Box.



I did the following steps:



1- From Virtual Box, I went to Devices > Shared Folders > Shared Folder Settings, added a new Shared folder on my windows desktop named 'ubunto_shared' like the following:



following



2- Then from the Ubuntu VM, I ran the following command:



 sudo mount -t vboxsf ubunto_shared windows_shared


But I got the error:




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




3- so I installed ntfs-3g using: sudo apt-get install ntfs-3g



4- I then ran this command:



sudo mount -t ntfs-3g ubunto_shared windows_shared


but I got the error:




ntfs-3g: Failed to access volume 'ubunto_shared': No such file or
directory




5- I read few articles about how to access that folder, so I ran



sudo /sbin/fdisk -l



I am seeing this and I am not seeing NTFS listed there. How do I handle this issue?










share|improve this question

























  • you should set the virtualbox as share automount in the vm properties

    – cmak.fr
    Jun 9 '18 at 16:20













  • can you please verify what you mean by set vb as share automount? I already specified it as automount as shown in my screenshot, anything else needs to be done?

    – brittany
    Jun 9 '18 at 16:23











  • do you have installed 'guest addition' in the ubuntu vm ?

    – cmak.fr
    Jun 9 '18 at 16:26











  • @cmak.fr no, all things I did, are the ones I mentioned in my question, nothing more.

    – brittany
    Jun 9 '18 at 16:27











  • Are you positive about the name ubunto_shared? Shouldn't it be ubuntu_shared? Did yo create a mount point windows_shared in the guest before mounting? Also see askubuntu.com/questions/161759/… and if that did not help askubuntu.com/questions/30396/…

    – Takkat
    Jun 9 '18 at 20:03


















2















I am totally new to Ubuntu and a first timer user and been reading about this subject for a while. I have a folder on Windows that I need to be able to access from my Ubuntu VM on Virtual Box.



I did the following steps:



1- From Virtual Box, I went to Devices > Shared Folders > Shared Folder Settings, added a new Shared folder on my windows desktop named 'ubunto_shared' like the following:



following



2- Then from the Ubuntu VM, I ran the following command:



 sudo mount -t vboxsf ubunto_shared windows_shared


But I got the error:




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




3- so I installed ntfs-3g using: sudo apt-get install ntfs-3g



4- I then ran this command:



sudo mount -t ntfs-3g ubunto_shared windows_shared


but I got the error:




ntfs-3g: Failed to access volume 'ubunto_shared': No such file or
directory




5- I read few articles about how to access that folder, so I ran



sudo /sbin/fdisk -l



I am seeing this and I am not seeing NTFS listed there. How do I handle this issue?










share|improve this question

























  • you should set the virtualbox as share automount in the vm properties

    – cmak.fr
    Jun 9 '18 at 16:20













  • can you please verify what you mean by set vb as share automount? I already specified it as automount as shown in my screenshot, anything else needs to be done?

    – brittany
    Jun 9 '18 at 16:23











  • do you have installed 'guest addition' in the ubuntu vm ?

    – cmak.fr
    Jun 9 '18 at 16:26











  • @cmak.fr no, all things I did, are the ones I mentioned in my question, nothing more.

    – brittany
    Jun 9 '18 at 16:27











  • Are you positive about the name ubunto_shared? Shouldn't it be ubuntu_shared? Did yo create a mount point windows_shared in the guest before mounting? Also see askubuntu.com/questions/161759/… and if that did not help askubuntu.com/questions/30396/…

    – Takkat
    Jun 9 '18 at 20:03
















2












2








2








I am totally new to Ubuntu and a first timer user and been reading about this subject for a while. I have a folder on Windows that I need to be able to access from my Ubuntu VM on Virtual Box.



I did the following steps:



1- From Virtual Box, I went to Devices > Shared Folders > Shared Folder Settings, added a new Shared folder on my windows desktop named 'ubunto_shared' like the following:



following



2- Then from the Ubuntu VM, I ran the following command:



 sudo mount -t vboxsf ubunto_shared windows_shared


But I got the error:




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




3- so I installed ntfs-3g using: sudo apt-get install ntfs-3g



4- I then ran this command:



sudo mount -t ntfs-3g ubunto_shared windows_shared


but I got the error:




ntfs-3g: Failed to access volume 'ubunto_shared': No such file or
directory




5- I read few articles about how to access that folder, so I ran



sudo /sbin/fdisk -l



I am seeing this and I am not seeing NTFS listed there. How do I handle this issue?










share|improve this question
















I am totally new to Ubuntu and a first timer user and been reading about this subject for a while. I have a folder on Windows that I need to be able to access from my Ubuntu VM on Virtual Box.



I did the following steps:



1- From Virtual Box, I went to Devices > Shared Folders > Shared Folder Settings, added a new Shared folder on my windows desktop named 'ubunto_shared' like the following:



following



2- Then from the Ubuntu VM, I ran the following command:



 sudo mount -t vboxsf ubunto_shared windows_shared


But I got the error:




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




3- so I installed ntfs-3g using: sudo apt-get install ntfs-3g



4- I then ran this command:



sudo mount -t ntfs-3g ubunto_shared windows_shared


but I got the error:




ntfs-3g: Failed to access volume 'ubunto_shared': No such file or
directory




5- I read few articles about how to access that folder, so I ran



sudo /sbin/fdisk -l



I am seeing this and I am not seeing NTFS listed there. How do I handle this issue?







mount virtualbox windows-10 ntfs shared-folders






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 9 '18 at 20:00









Takkat

108k37249377




108k37249377










asked Jun 9 '18 at 15:59









brittanybrittany

1112




1112













  • you should set the virtualbox as share automount in the vm properties

    – cmak.fr
    Jun 9 '18 at 16:20













  • can you please verify what you mean by set vb as share automount? I already specified it as automount as shown in my screenshot, anything else needs to be done?

    – brittany
    Jun 9 '18 at 16:23











  • do you have installed 'guest addition' in the ubuntu vm ?

    – cmak.fr
    Jun 9 '18 at 16:26











  • @cmak.fr no, all things I did, are the ones I mentioned in my question, nothing more.

    – brittany
    Jun 9 '18 at 16:27











  • Are you positive about the name ubunto_shared? Shouldn't it be ubuntu_shared? Did yo create a mount point windows_shared in the guest before mounting? Also see askubuntu.com/questions/161759/… and if that did not help askubuntu.com/questions/30396/…

    – Takkat
    Jun 9 '18 at 20:03





















  • you should set the virtualbox as share automount in the vm properties

    – cmak.fr
    Jun 9 '18 at 16:20













  • can you please verify what you mean by set vb as share automount? I already specified it as automount as shown in my screenshot, anything else needs to be done?

    – brittany
    Jun 9 '18 at 16:23











  • do you have installed 'guest addition' in the ubuntu vm ?

    – cmak.fr
    Jun 9 '18 at 16:26











  • @cmak.fr no, all things I did, are the ones I mentioned in my question, nothing more.

    – brittany
    Jun 9 '18 at 16:27











  • Are you positive about the name ubunto_shared? Shouldn't it be ubuntu_shared? Did yo create a mount point windows_shared in the guest before mounting? Also see askubuntu.com/questions/161759/… and if that did not help askubuntu.com/questions/30396/…

    – Takkat
    Jun 9 '18 at 20:03



















you should set the virtualbox as share automount in the vm properties

– cmak.fr
Jun 9 '18 at 16:20







you should set the virtualbox as share automount in the vm properties

– cmak.fr
Jun 9 '18 at 16:20















can you please verify what you mean by set vb as share automount? I already specified it as automount as shown in my screenshot, anything else needs to be done?

– brittany
Jun 9 '18 at 16:23





can you please verify what you mean by set vb as share automount? I already specified it as automount as shown in my screenshot, anything else needs to be done?

– brittany
Jun 9 '18 at 16:23













do you have installed 'guest addition' in the ubuntu vm ?

– cmak.fr
Jun 9 '18 at 16:26





do you have installed 'guest addition' in the ubuntu vm ?

– cmak.fr
Jun 9 '18 at 16:26













@cmak.fr no, all things I did, are the ones I mentioned in my question, nothing more.

– brittany
Jun 9 '18 at 16:27





@cmak.fr no, all things I did, are the ones I mentioned in my question, nothing more.

– brittany
Jun 9 '18 at 16:27













Are you positive about the name ubunto_shared? Shouldn't it be ubuntu_shared? Did yo create a mount point windows_shared in the guest before mounting? Also see askubuntu.com/questions/161759/… and if that did not help askubuntu.com/questions/30396/…

– Takkat
Jun 9 '18 at 20:03







Are you positive about the name ubunto_shared? Shouldn't it be ubuntu_shared? Did yo create a mount point windows_shared in the guest before mounting? Also see askubuntu.com/questions/161759/… and if that did not help askubuntu.com/questions/30396/…

– Takkat
Jun 9 '18 at 20:03












2 Answers
2






active

oldest

votes


















0














Your VM need the required Guest Additions modules (drivers)

Your Host need the required VM VirtualBox Extension Pack for advanced features


Download and install the VM VirtualBox Extension Pack (if not yet done)

Install the Guest Additions on your VM :

Virtual Machine running, Menu Device > Install Guest Additions

This will mount an ISO as virtual CD and start the install process



if Virtualbox does not mount the Guest Additions ISO, you may need to download the ISO






share|improve this answer































    0














    I faced a similar issue with Lubuntu 18.04/vbox 5.2.1. I did the following: install vbox guest additions, put the user in the vboxsf group. No effect (in versions 16/17 of Ubuntu, usually works).



    During the search for a solution, I found many suggestions of packages to be installed, with no effect.



    The package that solved for me was: virtualbox-guest-x11. Try:



    sudo apt install virtualbox-guest-x11.





    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%2f1045113%2fsharing-folder-between-windows-10-host-and-ubuntu-virtual-box-machine%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









      0














      Your VM need the required Guest Additions modules (drivers)

      Your Host need the required VM VirtualBox Extension Pack for advanced features


      Download and install the VM VirtualBox Extension Pack (if not yet done)

      Install the Guest Additions on your VM :

      Virtual Machine running, Menu Device > Install Guest Additions

      This will mount an ISO as virtual CD and start the install process



      if Virtualbox does not mount the Guest Additions ISO, you may need to download the ISO






      share|improve this answer




























        0














        Your VM need the required Guest Additions modules (drivers)

        Your Host need the required VM VirtualBox Extension Pack for advanced features


        Download and install the VM VirtualBox Extension Pack (if not yet done)

        Install the Guest Additions on your VM :

        Virtual Machine running, Menu Device > Install Guest Additions

        This will mount an ISO as virtual CD and start the install process



        if Virtualbox does not mount the Guest Additions ISO, you may need to download the ISO






        share|improve this answer


























          0












          0








          0







          Your VM need the required Guest Additions modules (drivers)

          Your Host need the required VM VirtualBox Extension Pack for advanced features


          Download and install the VM VirtualBox Extension Pack (if not yet done)

          Install the Guest Additions on your VM :

          Virtual Machine running, Menu Device > Install Guest Additions

          This will mount an ISO as virtual CD and start the install process



          if Virtualbox does not mount the Guest Additions ISO, you may need to download the ISO






          share|improve this answer













          Your VM need the required Guest Additions modules (drivers)

          Your Host need the required VM VirtualBox Extension Pack for advanced features


          Download and install the VM VirtualBox Extension Pack (if not yet done)

          Install the Guest Additions on your VM :

          Virtual Machine running, Menu Device > Install Guest Additions

          This will mount an ISO as virtual CD and start the install process



          if Virtualbox does not mount the Guest Additions ISO, you may need to download the ISO







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 9 '18 at 19:00









          cmak.frcmak.fr

          2,0991021




          2,0991021

























              0














              I faced a similar issue with Lubuntu 18.04/vbox 5.2.1. I did the following: install vbox guest additions, put the user in the vboxsf group. No effect (in versions 16/17 of Ubuntu, usually works).



              During the search for a solution, I found many suggestions of packages to be installed, with no effect.



              The package that solved for me was: virtualbox-guest-x11. Try:



              sudo apt install virtualbox-guest-x11.





              share|improve this answer






























                0














                I faced a similar issue with Lubuntu 18.04/vbox 5.2.1. I did the following: install vbox guest additions, put the user in the vboxsf group. No effect (in versions 16/17 of Ubuntu, usually works).



                During the search for a solution, I found many suggestions of packages to be installed, with no effect.



                The package that solved for me was: virtualbox-guest-x11. Try:



                sudo apt install virtualbox-guest-x11.





                share|improve this answer




























                  0












                  0








                  0







                  I faced a similar issue with Lubuntu 18.04/vbox 5.2.1. I did the following: install vbox guest additions, put the user in the vboxsf group. No effect (in versions 16/17 of Ubuntu, usually works).



                  During the search for a solution, I found many suggestions of packages to be installed, with no effect.



                  The package that solved for me was: virtualbox-guest-x11. Try:



                  sudo apt install virtualbox-guest-x11.





                  share|improve this answer















                  I faced a similar issue with Lubuntu 18.04/vbox 5.2.1. I did the following: install vbox guest additions, put the user in the vboxsf group. No effect (in versions 16/17 of Ubuntu, usually works).



                  During the search for a solution, I found many suggestions of packages to be installed, with no effect.



                  The package that solved for me was: virtualbox-guest-x11. Try:



                  sudo apt install virtualbox-guest-x11.






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 8 '18 at 17:51









                  hiigaran

                  1,447520




                  1,447520










                  answered Aug 8 '18 at 14:54









                  atenorioatenorio

                  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%2f1045113%2fsharing-folder-between-windows-10-host-and-ubuntu-virtual-box-machine%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

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      張江高科駅