Auto mount a disk drive in ubuntu 14.04 LTS (Bookmark directory not found)












3















I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error:



Unable to find the requested file. Please check the spelling and try again.
Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory


But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue?



Edit: Output of lsblk is following: (ubuntu is installed in sda5)



NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 91.3G 0 part
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 24.1G 0 part /
└─sda6 8:6 0 3.8G 0 part [SWAP]
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 93.2G 0 part
├─sdb2 8:18 0 1K 0 part
├─sdb5 8:21 0 93.2G 0 part
├─sdb6 8:22 0 89.3G 0 part
├─sdb7 8:23 0 93.2G 0 part
├─sdb8 8:24 0 93.2G 0 part
└─sdb9 8:25 0 3.8G 0 part
sr0 11:0 1 1024M 0 rom


After opening the disk drive the output of lsblk is bellow:



NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 91.3G 0 part
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 24.1G 0 part /
└─sda6 8:6 0 3.8G 0 part [SWAP]
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 93.2G 0 part
├─sdb2 8:18 0 1K 0 part
├─sdb5 8:21 0 93.2G 0 part
├─sdb6 8:22 0 89.3G 0 part /media/angel/DOC
├─sdb7 8:23 0 93.2G 0 part
├─sdb8 8:24 0 93.2G 0 part
└─sdb9 8:25 0 3.8G 0 part
sr0 11:0 1 1024M 0 rom


The output of sudo blkid gives the following information about sdb6:



/dev/sdb6: LABEL="DOC" UUID="04280A22280A12FA" TYPE="ntfs"









share|improve this question





























    3















    I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error:



    Unable to find the requested file. Please check the spelling and try again.
    Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory


    But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue?



    Edit: Output of lsblk is following: (ubuntu is installed in sda5)



    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 119.2G 0 disk
    ├─sda1 8:1 0 91.3G 0 part
    ├─sda2 8:2 0 1K 0 part
    ├─sda5 8:5 0 24.1G 0 part /
    └─sda6 8:6 0 3.8G 0 part [SWAP]
    sdb 8:16 0 465.8G 0 disk
    ├─sdb1 8:17 0 93.2G 0 part
    ├─sdb2 8:18 0 1K 0 part
    ├─sdb5 8:21 0 93.2G 0 part
    ├─sdb6 8:22 0 89.3G 0 part
    ├─sdb7 8:23 0 93.2G 0 part
    ├─sdb8 8:24 0 93.2G 0 part
    └─sdb9 8:25 0 3.8G 0 part
    sr0 11:0 1 1024M 0 rom


    After opening the disk drive the output of lsblk is bellow:



    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 119.2G 0 disk
    ├─sda1 8:1 0 91.3G 0 part
    ├─sda2 8:2 0 1K 0 part
    ├─sda5 8:5 0 24.1G 0 part /
    └─sda6 8:6 0 3.8G 0 part [SWAP]
    sdb 8:16 0 465.8G 0 disk
    ├─sdb1 8:17 0 93.2G 0 part
    ├─sdb2 8:18 0 1K 0 part
    ├─sdb5 8:21 0 93.2G 0 part
    ├─sdb6 8:22 0 89.3G 0 part /media/angel/DOC
    ├─sdb7 8:23 0 93.2G 0 part
    ├─sdb8 8:24 0 93.2G 0 part
    └─sdb9 8:25 0 3.8G 0 part
    sr0 11:0 1 1024M 0 rom


    The output of sudo blkid gives the following information about sdb6:



    /dev/sdb6: LABEL="DOC" UUID="04280A22280A12FA" TYPE="ntfs"









    share|improve this question



























      3












      3








      3


      2






      I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error:



      Unable to find the requested file. Please check the spelling and try again.
      Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory


      But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue?



      Edit: Output of lsblk is following: (ubuntu is installed in sda5)



      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 119.2G 0 disk
      ├─sda1 8:1 0 91.3G 0 part
      ├─sda2 8:2 0 1K 0 part
      ├─sda5 8:5 0 24.1G 0 part /
      └─sda6 8:6 0 3.8G 0 part [SWAP]
      sdb 8:16 0 465.8G 0 disk
      ├─sdb1 8:17 0 93.2G 0 part
      ├─sdb2 8:18 0 1K 0 part
      ├─sdb5 8:21 0 93.2G 0 part
      ├─sdb6 8:22 0 89.3G 0 part
      ├─sdb7 8:23 0 93.2G 0 part
      ├─sdb8 8:24 0 93.2G 0 part
      └─sdb9 8:25 0 3.8G 0 part
      sr0 11:0 1 1024M 0 rom


      After opening the disk drive the output of lsblk is bellow:



      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 119.2G 0 disk
      ├─sda1 8:1 0 91.3G 0 part
      ├─sda2 8:2 0 1K 0 part
      ├─sda5 8:5 0 24.1G 0 part /
      └─sda6 8:6 0 3.8G 0 part [SWAP]
      sdb 8:16 0 465.8G 0 disk
      ├─sdb1 8:17 0 93.2G 0 part
      ├─sdb2 8:18 0 1K 0 part
      ├─sdb5 8:21 0 93.2G 0 part
      ├─sdb6 8:22 0 89.3G 0 part /media/angel/DOC
      ├─sdb7 8:23 0 93.2G 0 part
      ├─sdb8 8:24 0 93.2G 0 part
      └─sdb9 8:25 0 3.8G 0 part
      sr0 11:0 1 1024M 0 rom


      The output of sudo blkid gives the following information about sdb6:



      /dev/sdb6: LABEL="DOC" UUID="04280A22280A12FA" TYPE="ntfs"









      share|improve this question
















      I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error:



      Unable to find the requested file. Please check the spelling and try again.
      Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory


      But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue?



      Edit: Output of lsblk is following: (ubuntu is installed in sda5)



      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 119.2G 0 disk
      ├─sda1 8:1 0 91.3G 0 part
      ├─sda2 8:2 0 1K 0 part
      ├─sda5 8:5 0 24.1G 0 part /
      └─sda6 8:6 0 3.8G 0 part [SWAP]
      sdb 8:16 0 465.8G 0 disk
      ├─sdb1 8:17 0 93.2G 0 part
      ├─sdb2 8:18 0 1K 0 part
      ├─sdb5 8:21 0 93.2G 0 part
      ├─sdb6 8:22 0 89.3G 0 part
      ├─sdb7 8:23 0 93.2G 0 part
      ├─sdb8 8:24 0 93.2G 0 part
      └─sdb9 8:25 0 3.8G 0 part
      sr0 11:0 1 1024M 0 rom


      After opening the disk drive the output of lsblk is bellow:



      NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 119.2G 0 disk
      ├─sda1 8:1 0 91.3G 0 part
      ├─sda2 8:2 0 1K 0 part
      ├─sda5 8:5 0 24.1G 0 part /
      └─sda6 8:6 0 3.8G 0 part [SWAP]
      sdb 8:16 0 465.8G 0 disk
      ├─sdb1 8:17 0 93.2G 0 part
      ├─sdb2 8:18 0 1K 0 part
      ├─sdb5 8:21 0 93.2G 0 part
      ├─sdb6 8:22 0 89.3G 0 part /media/angel/DOC
      ├─sdb7 8:23 0 93.2G 0 part
      ├─sdb8 8:24 0 93.2G 0 part
      └─sdb9 8:25 0 3.8G 0 part
      sr0 11:0 1 1024M 0 rom


      The output of sudo blkid gives the following information about sdb6:



      /dev/sdb6: LABEL="DOC" UUID="04280A22280A12FA" TYPE="ntfs"






      14.04 mount directory automount filemanager






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 19 '14 at 2:46







      Mostafiz Rahman

















      asked Sep 18 '14 at 8:19









      Mostafiz RahmanMostafiz Rahman

      257412




      257412






















          2 Answers
          2






          active

          oldest

          votes


















          7














          From the output of lsblk, before and after the link starts working, it appears that your partition is not mounted automatically.



          Since it is an NTFS partition (looking at the output of sudo blkid), you can make your partition automount by adding the following line to your fstab file:



          /dev/sdb6 /media/angel/DOC ntfs auto




          • If it does not exist already, create the directory to mount into:



            sudo mkdir /media/angel/DOC



          • Open the fstab file:



            gksu gedit /etc/fstab


            (you might have to install gksu first)



            and add the line:



            /dev/sdb6 /media/angel/DOC ntfs auto


            at the end of the file, save the changes.




          • Test your new entry by the command:



            sudo mount -a







          share|improve this answer





















          • 1





            @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

            – Jacob Vlijm
            Apr 10 '15 at 12:15








          • 1





            @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

            – Jacob Vlijm
            Apr 10 '15 at 12:22








          • 1





            @Eka You might have to recreate the bookmarks. Probably its path has changed.

            – Jacob Vlijm
            Apr 13 '15 at 12:54








          • 1





            Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

            – Eka
            Apr 13 '15 at 13:06








          • 1





            @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

            – Jacob Vlijm
            Apr 13 '15 at 13:07



















          0














          I had to struggle with the same problem. It was due to an missing entry in the fstab file.



          Lets say the bookmark is in folder /dev/sda1/bookmark. Then the bookmark only worked when I first opened the folder /dev/sda1 with the Explorer Window.



          After a restart the command lsblk -f showed that /dev/sda1 was not mounted, without mountpoint.



          Accessing /dev/sda1 in the Explorer Window and retype the command lsblk -f it appeared with its mountpoint on /media/user/sda1.



          After some time I percepted that an entry in the fstab file was missing.



          sudo gedit /etc/fstab


          I put the following line into fstab file:



          /dev/sda1   /media/user/sda1  ntfs  rw,user,auto    0   2


          I used the mountpoint which was defined by the system after accessing /dev/sda1 manually.



          Finally it worked after a restart.



          I hope it will help for other cases as well.






          share|improve this answer


























          • /dev/sda1 is a device, not a directory, so part of this answer is unclear.

            – wjandrea
            Jan 21 at 16:52











          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%2f525498%2fauto-mount-a-disk-drive-in-ubuntu-14-04-lts-bookmark-directory-not-found%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









          7














          From the output of lsblk, before and after the link starts working, it appears that your partition is not mounted automatically.



          Since it is an NTFS partition (looking at the output of sudo blkid), you can make your partition automount by adding the following line to your fstab file:



          /dev/sdb6 /media/angel/DOC ntfs auto




          • If it does not exist already, create the directory to mount into:



            sudo mkdir /media/angel/DOC



          • Open the fstab file:



            gksu gedit /etc/fstab


            (you might have to install gksu first)



            and add the line:



            /dev/sdb6 /media/angel/DOC ntfs auto


            at the end of the file, save the changes.




          • Test your new entry by the command:



            sudo mount -a







          share|improve this answer





















          • 1





            @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

            – Jacob Vlijm
            Apr 10 '15 at 12:15








          • 1





            @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

            – Jacob Vlijm
            Apr 10 '15 at 12:22








          • 1





            @Eka You might have to recreate the bookmarks. Probably its path has changed.

            – Jacob Vlijm
            Apr 13 '15 at 12:54








          • 1





            Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

            – Eka
            Apr 13 '15 at 13:06








          • 1





            @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

            – Jacob Vlijm
            Apr 13 '15 at 13:07
















          7














          From the output of lsblk, before and after the link starts working, it appears that your partition is not mounted automatically.



          Since it is an NTFS partition (looking at the output of sudo blkid), you can make your partition automount by adding the following line to your fstab file:



          /dev/sdb6 /media/angel/DOC ntfs auto




          • If it does not exist already, create the directory to mount into:



            sudo mkdir /media/angel/DOC



          • Open the fstab file:



            gksu gedit /etc/fstab


            (you might have to install gksu first)



            and add the line:



            /dev/sdb6 /media/angel/DOC ntfs auto


            at the end of the file, save the changes.




          • Test your new entry by the command:



            sudo mount -a







          share|improve this answer





















          • 1





            @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

            – Jacob Vlijm
            Apr 10 '15 at 12:15








          • 1





            @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

            – Jacob Vlijm
            Apr 10 '15 at 12:22








          • 1





            @Eka You might have to recreate the bookmarks. Probably its path has changed.

            – Jacob Vlijm
            Apr 13 '15 at 12:54








          • 1





            Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

            – Eka
            Apr 13 '15 at 13:06








          • 1





            @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

            – Jacob Vlijm
            Apr 13 '15 at 13:07














          7












          7








          7







          From the output of lsblk, before and after the link starts working, it appears that your partition is not mounted automatically.



          Since it is an NTFS partition (looking at the output of sudo blkid), you can make your partition automount by adding the following line to your fstab file:



          /dev/sdb6 /media/angel/DOC ntfs auto




          • If it does not exist already, create the directory to mount into:



            sudo mkdir /media/angel/DOC



          • Open the fstab file:



            gksu gedit /etc/fstab


            (you might have to install gksu first)



            and add the line:



            /dev/sdb6 /media/angel/DOC ntfs auto


            at the end of the file, save the changes.




          • Test your new entry by the command:



            sudo mount -a







          share|improve this answer















          From the output of lsblk, before and after the link starts working, it appears that your partition is not mounted automatically.



          Since it is an NTFS partition (looking at the output of sudo blkid), you can make your partition automount by adding the following line to your fstab file:



          /dev/sdb6 /media/angel/DOC ntfs auto




          • If it does not exist already, create the directory to mount into:



            sudo mkdir /media/angel/DOC



          • Open the fstab file:



            gksu gedit /etc/fstab


            (you might have to install gksu first)



            and add the line:



            /dev/sdb6 /media/angel/DOC ntfs auto


            at the end of the file, save the changes.




          • Test your new entry by the command:



            sudo mount -a








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 18 '14 at 10:57

























          answered Sep 18 '14 at 9:14









          Jacob VlijmJacob Vlijm

          64.4k9127222




          64.4k9127222








          • 1





            @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

            – Jacob Vlijm
            Apr 10 '15 at 12:15








          • 1





            @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

            – Jacob Vlijm
            Apr 10 '15 at 12:22








          • 1





            @Eka You might have to recreate the bookmarks. Probably its path has changed.

            – Jacob Vlijm
            Apr 13 '15 at 12:54








          • 1





            Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

            – Eka
            Apr 13 '15 at 13:06








          • 1





            @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

            – Jacob Vlijm
            Apr 13 '15 at 13:07














          • 1





            @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

            – Jacob Vlijm
            Apr 10 '15 at 12:15








          • 1





            @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

            – Jacob Vlijm
            Apr 10 '15 at 12:22








          • 1





            @Eka You might have to recreate the bookmarks. Probably its path has changed.

            – Jacob Vlijm
            Apr 13 '15 at 12:54








          • 1





            Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

            – Eka
            Apr 13 '15 at 13:06








          • 1





            @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

            – Jacob Vlijm
            Apr 13 '15 at 13:07








          1




          1





          @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

          – Jacob Vlijm
          Apr 10 '15 at 12:15







          @Eka You will probably not have the directory /media/angel/, so you cannot create the directory /Doc inside it :). You'd probably have enough to use /media/<mountpoint_name> (without the subdirectory /angel/Doc, I assume angel is his name). For every partition, indeed you need to have a separate line in the /etc/fstab file.

          – Jacob Vlijm
          Apr 10 '15 at 12:15






          1




          1





          @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

          – Jacob Vlijm
          Apr 10 '15 at 12:22







          @Eka not needed in this case, but if you need to create a new directory inside another directory that not yet exists (create directories recursively), you need to use the -poption. e.g. to create directorie(s) /media/monkey/eats/banana inside an empty folder /media: sudo mkdir -p /media/monkey/eats/banana.

          – Jacob Vlijm
          Apr 10 '15 at 12:22






          1




          1





          @Eka You might have to recreate the bookmarks. Probably its path has changed.

          – Jacob Vlijm
          Apr 13 '15 at 12:54







          @Eka You might have to recreate the bookmarks. Probably its path has changed.

          – Jacob Vlijm
          Apr 13 '15 at 12:54






          1




          1





          Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

          – Eka
          Apr 13 '15 at 13:06







          Hey thanks..you are correct it was due to the change in path. I once again made a new bookmark of the folder and after restart its working perfectly. Once more thanks for your help

          – Eka
          Apr 13 '15 at 13:06






          1




          1





          @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

          – Jacob Vlijm
          Apr 13 '15 at 13:07





          @Eka let's say I have a bookmark to a folder on a mounted volume /media/mountfolder/path/to/folder. The mountpoint is /media/mountfolder/. Now when you add it to your /etc/fstab file, this mountpoint will be different although the foldername is the same. The full path to the folder will nevertheless be different. What you probably need to do is remove the bookmarks in question and recreate them.

          – Jacob Vlijm
          Apr 13 '15 at 13:07













          0














          I had to struggle with the same problem. It was due to an missing entry in the fstab file.



          Lets say the bookmark is in folder /dev/sda1/bookmark. Then the bookmark only worked when I first opened the folder /dev/sda1 with the Explorer Window.



          After a restart the command lsblk -f showed that /dev/sda1 was not mounted, without mountpoint.



          Accessing /dev/sda1 in the Explorer Window and retype the command lsblk -f it appeared with its mountpoint on /media/user/sda1.



          After some time I percepted that an entry in the fstab file was missing.



          sudo gedit /etc/fstab


          I put the following line into fstab file:



          /dev/sda1   /media/user/sda1  ntfs  rw,user,auto    0   2


          I used the mountpoint which was defined by the system after accessing /dev/sda1 manually.



          Finally it worked after a restart.



          I hope it will help for other cases as well.






          share|improve this answer


























          • /dev/sda1 is a device, not a directory, so part of this answer is unclear.

            – wjandrea
            Jan 21 at 16:52
















          0














          I had to struggle with the same problem. It was due to an missing entry in the fstab file.



          Lets say the bookmark is in folder /dev/sda1/bookmark. Then the bookmark only worked when I first opened the folder /dev/sda1 with the Explorer Window.



          After a restart the command lsblk -f showed that /dev/sda1 was not mounted, without mountpoint.



          Accessing /dev/sda1 in the Explorer Window and retype the command lsblk -f it appeared with its mountpoint on /media/user/sda1.



          After some time I percepted that an entry in the fstab file was missing.



          sudo gedit /etc/fstab


          I put the following line into fstab file:



          /dev/sda1   /media/user/sda1  ntfs  rw,user,auto    0   2


          I used the mountpoint which was defined by the system after accessing /dev/sda1 manually.



          Finally it worked after a restart.



          I hope it will help for other cases as well.






          share|improve this answer


























          • /dev/sda1 is a device, not a directory, so part of this answer is unclear.

            – wjandrea
            Jan 21 at 16:52














          0












          0








          0







          I had to struggle with the same problem. It was due to an missing entry in the fstab file.



          Lets say the bookmark is in folder /dev/sda1/bookmark. Then the bookmark only worked when I first opened the folder /dev/sda1 with the Explorer Window.



          After a restart the command lsblk -f showed that /dev/sda1 was not mounted, without mountpoint.



          Accessing /dev/sda1 in the Explorer Window and retype the command lsblk -f it appeared with its mountpoint on /media/user/sda1.



          After some time I percepted that an entry in the fstab file was missing.



          sudo gedit /etc/fstab


          I put the following line into fstab file:



          /dev/sda1   /media/user/sda1  ntfs  rw,user,auto    0   2


          I used the mountpoint which was defined by the system after accessing /dev/sda1 manually.



          Finally it worked after a restart.



          I hope it will help for other cases as well.






          share|improve this answer















          I had to struggle with the same problem. It was due to an missing entry in the fstab file.



          Lets say the bookmark is in folder /dev/sda1/bookmark. Then the bookmark only worked when I first opened the folder /dev/sda1 with the Explorer Window.



          After a restart the command lsblk -f showed that /dev/sda1 was not mounted, without mountpoint.



          Accessing /dev/sda1 in the Explorer Window and retype the command lsblk -f it appeared with its mountpoint on /media/user/sda1.



          After some time I percepted that an entry in the fstab file was missing.



          sudo gedit /etc/fstab


          I put the following line into fstab file:



          /dev/sda1   /media/user/sda1  ntfs  rw,user,auto    0   2


          I used the mountpoint which was defined by the system after accessing /dev/sda1 manually.



          Finally it worked after a restart.



          I hope it will help for other cases as well.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 21 at 16:51









          wjandrea

          9,08542362




          9,08542362










          answered Aug 17 '15 at 23:46









          TomTom

          8114




          8114













          • /dev/sda1 is a device, not a directory, so part of this answer is unclear.

            – wjandrea
            Jan 21 at 16:52



















          • /dev/sda1 is a device, not a directory, so part of this answer is unclear.

            – wjandrea
            Jan 21 at 16:52

















          /dev/sda1 is a device, not a directory, so part of this answer is unclear.

          – wjandrea
          Jan 21 at 16:52





          /dev/sda1 is a device, not a directory, so part of this answer is unclear.

          – wjandrea
          Jan 21 at 16:52


















          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%2f525498%2fauto-mount-a-disk-drive-in-ubuntu-14-04-lts-bookmark-directory-not-found%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido