How to navigate to a network drive when using Ubuntu via the Windows Subsystem for Linux





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I installed Ubuntu on my Windows 10 laptop via the Windows Subsystem for Linux.



I have a NAS drive connected to my home Wi-Fi network. There's a "share" on it, accessible at \MYCLOUDEX2ULTRAHome that I've also mounted in Windows as my Z: drive.



When I start up the Ubuntu console, if I go to /mnt/ I can see c and d directories there (for my laptop's local hard drives), but how can I navigate to my Z Drive?










share|improve this question





























    0















    I installed Ubuntu on my Windows 10 laptop via the Windows Subsystem for Linux.



    I have a NAS drive connected to my home Wi-Fi network. There's a "share" on it, accessible at \MYCLOUDEX2ULTRAHome that I've also mounted in Windows as my Z: drive.



    When I start up the Ubuntu console, if I go to /mnt/ I can see c and d directories there (for my laptop's local hard drives), but how can I navigate to my Z Drive?










    share|improve this question

























      0












      0








      0








      I installed Ubuntu on my Windows 10 laptop via the Windows Subsystem for Linux.



      I have a NAS drive connected to my home Wi-Fi network. There's a "share" on it, accessible at \MYCLOUDEX2ULTRAHome that I've also mounted in Windows as my Z: drive.



      When I start up the Ubuntu console, if I go to /mnt/ I can see c and d directories there (for my laptop's local hard drives), but how can I navigate to my Z Drive?










      share|improve this question














      I installed Ubuntu on my Windows 10 laptop via the Windows Subsystem for Linux.



      I have a NAS drive connected to my home Wi-Fi network. There's a "share" on it, accessible at \MYCLOUDEX2ULTRAHome that I've also mounted in Windows as my Z: drive.



      When I start up the Ubuntu console, if I go to /mnt/ I can see c and d directories there (for my laptop's local hard drives), but how can I navigate to my Z Drive?







      networking mount windows-subsystem-for-linux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 at 23:40









      osullicosullic

      101




      101






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I tried this and it worked for me



          sudo mkdir /mnt/mydesktopC


          followed by



          mount -t drvfs '\mydesktopC$' /mnt/mydesktopC


          I used my C drive as a shared drive but I suppose you could do it for any share...






          share|improve this answer
























          • when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

            – osullic
            Feb 16 at 0:15











          • C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

            – Eric Mamet
            Feb 16 at 14:26











          • OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

            – osullic
            Feb 16 at 23:59













          • I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

            – Eric Mamet
            Feb 17 at 16:17












          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%2f1118645%2fhow-to-navigate-to-a-network-drive-when-using-ubuntu-via-the-windows-subsystem-f%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          I tried this and it worked for me



          sudo mkdir /mnt/mydesktopC


          followed by



          mount -t drvfs '\mydesktopC$' /mnt/mydesktopC


          I used my C drive as a shared drive but I suppose you could do it for any share...






          share|improve this answer
























          • when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

            – osullic
            Feb 16 at 0:15











          • C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

            – Eric Mamet
            Feb 16 at 14:26











          • OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

            – osullic
            Feb 16 at 23:59













          • I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

            – Eric Mamet
            Feb 17 at 16:17
















          0














          I tried this and it worked for me



          sudo mkdir /mnt/mydesktopC


          followed by



          mount -t drvfs '\mydesktopC$' /mnt/mydesktopC


          I used my C drive as a shared drive but I suppose you could do it for any share...






          share|improve this answer
























          • when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

            – osullic
            Feb 16 at 0:15











          • C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

            – Eric Mamet
            Feb 16 at 14:26











          • OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

            – osullic
            Feb 16 at 23:59













          • I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

            – Eric Mamet
            Feb 17 at 16:17














          0












          0








          0







          I tried this and it worked for me



          sudo mkdir /mnt/mydesktopC


          followed by



          mount -t drvfs '\mydesktopC$' /mnt/mydesktopC


          I used my C drive as a shared drive but I suppose you could do it for any share...






          share|improve this answer













          I tried this and it worked for me



          sudo mkdir /mnt/mydesktopC


          followed by



          mount -t drvfs '\mydesktopC$' /mnt/mydesktopC


          I used my C drive as a shared drive but I suppose you could do it for any share...







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 15 at 23:52









          Eric MametEric Mamet

          617




          617













          • when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

            – osullic
            Feb 16 at 0:15











          • C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

            – Eric Mamet
            Feb 16 at 14:26











          • OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

            – osullic
            Feb 16 at 23:59













          • I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

            – Eric Mamet
            Feb 17 at 16:17



















          • when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

            – osullic
            Feb 16 at 0:15











          • C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

            – Eric Mamet
            Feb 16 at 14:26











          • OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

            – osullic
            Feb 16 at 23:59













          • I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

            – Eric Mamet
            Feb 17 at 16:17

















          when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

          – osullic
          Feb 16 at 0:15





          when I try the same mount command, I get mount: only root can use "--types" option and when I try it with sudo, I get mount: /mnt/z: special device \MYCLOUDEX2ULTRAHome$ does not exist.

          – osullic
          Feb 16 at 0:15













          C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

          – Eric Mamet
          Feb 16 at 14:26





          C$ is a default administrative share on Windows (there is one for each local drive). Is Home$ a shared folder you have defined yourself? Typically, I would not expect these shared folders to finish in $, other than the default administrative shares. If you type \MYCLOUDEX2ULTRA within Windows Explorer, it should show you the shared folders defined

          – Eric Mamet
          Feb 16 at 14:26













          OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

          – osullic
          Feb 16 at 23:59







          OK sorry, I'm not a Unix or networking expert so I was just following your lead with the $. I tried again without the dollar symbol, and now get mount: /mnt/z: can't find in /etc/fstab. In /etc/fstab, there is just one line: LABEL=cloudimg-rootfs / ext4 defaults 0 0

          – osullic
          Feb 16 at 23:59















          I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

          – Eric Mamet
          Feb 17 at 16:17





          I am not a Unix and/or network expert either! Welcome... I would try to use "sudo" in front of mount. In my ubuntu machine, I have the same content as you in /etc/fstab

          – Eric Mamet
          Feb 17 at 16:17


















          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%2f1118645%2fhow-to-navigate-to-a-network-drive-when-using-ubuntu-via-the-windows-subsystem-f%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?

          張江高科駅