Loading Dropbox on start-up when my Dropbox folder is on separate partition












13















My Dropbox folder is on another partition on my harddrive and Dropbox loads on start up. But since the separate partition has't been opened yet, Dropbox complains that my Dropbox folder is missing. So Ihave to close Dropbox, make sure my separate partition is mounted, then load Dropbox again.



Is there a way to auto-mount my drive before Dropbox loads on startup?










share|improve this question



























    13















    My Dropbox folder is on another partition on my harddrive and Dropbox loads on start up. But since the separate partition has't been opened yet, Dropbox complains that my Dropbox folder is missing. So Ihave to close Dropbox, make sure my separate partition is mounted, then load Dropbox again.



    Is there a way to auto-mount my drive before Dropbox loads on startup?










    share|improve this question

























      13












      13








      13


      6






      My Dropbox folder is on another partition on my harddrive and Dropbox loads on start up. But since the separate partition has't been opened yet, Dropbox complains that my Dropbox folder is missing. So Ihave to close Dropbox, make sure my separate partition is mounted, then load Dropbox again.



      Is there a way to auto-mount my drive before Dropbox loads on startup?










      share|improve this question














      My Dropbox folder is on another partition on my harddrive and Dropbox loads on start up. But since the separate partition has't been opened yet, Dropbox complains that my Dropbox folder is missing. So Ihave to close Dropbox, make sure my separate partition is mounted, then load Dropbox again.



      Is there a way to auto-mount my drive before Dropbox loads on startup?







      mount automount dropbox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 15 '11 at 20:11









      RyanScottLewisRyanScottLewis

      1,09121115




      1,09121115






















          8 Answers
          8






          active

          oldest

          votes


















          3














          You can edit your /etc/fstab file to add whichever partition you need.
          You can find the wiki here.






          share|improve this answer



















          • 2





            Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

            – Braiam
            Aug 25 '13 at 12:15





















          8














          Yeah.



          You would need to mount your partition when your system starts.



          For detailed guide refer Automatically Mount Partitions in Ubuntu.



          If your have external NTFS partition then ntfs-config will ease your task and let you mount all ntfs partitions easily. To install ntfs-config, open terminal and type;



          sudo apt-get install ntfs-config





          share|improve this answer
























          • I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

            – schmoopy
            Jul 16 '17 at 20:47



















          6














          I edited the /etc/fstab file.



          Step 1. List your partitions by UUID:



          sudo blkid


          Step 2. Edit /etc/fstab file.



          To edit the file directly in terminal, run:



          sudo nano -Bw /etc/fstab


          Step 3. Insert an extra line in fstab; the line should look like:



          UUID="01CE8D75DCC82F80"    /media/G-Drive    ntfs  rw,auto,user,fmask=0111,dmask=0000   0     0


          You will have to replace 01CE8D75DCC82F80 with your UUID.



          You will have to replace /media/G-Drive with the location where you want to mount.



          You might want to change ntfs if your partition is a different type.



          If you change ntfs than you might have to change options as well (rw,auto,user,fmask=0111,dmask=0000 gives anybody access to this NTFS partition).



          Step 4. Restart and keep fingers crossed, if "Drobox Unlink-ed message" not shown than you have been successful.






          share|improve this answer


























          • Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

            – timbram
            Apr 13 '18 at 3:08











          • Looks like the findmnt command may work pretty well!

            – timbram
            Apr 13 '18 at 3:18



















          0














          Another way of doing this would be using a startup script. This way you could avoid mounting a partition globally if for some reason that's not what you wanna do.
          This would be a very simple way of doing it:



          #!/bin/bash
          udisks --mount /dev/<your partition> && dropbox start -i


          You will need to make sure to uncheck the "Start Dropbox on system startup" checkbox in your Dropbox prefernces and of course add the startup script as startup application.






          share|improve this answer































            0














            For some reason I had to tweak @elemer82 answear to make it work with my ext4 partition. I put it here for the record.
            You may not need the UUID: in my case I just used /dev/sda in my /etc/fstab.



            So I just did:



            sudo nano -Bw /etc/fstab


            And entered the following line (I added the header here for clarity):



            # <file system>  <mount point>          <type>  <options>   <dump>  <pass> 
            /dev/sda /media/edelans/data1 ext4 defaults 0 2


            You can check the doc of fstap for more details about the options. The defaults options were all I needed for a data partition where I put my dropbox folder. (Note that it's an ext4 partition, only accessed by ubuntu, no windows dualboot here).






            share|improve this answer































              0














              I just did what @edelans said but it crashed my GUI. I actually had to mix it with @elemer82's solution.



              Using sudo blkid allowed be me realize that my HDD was not on /dev/sda but on /dev/sdb1 instead.



              I just had to change that in @edelans's solution and everything works. Dropbox and Copy now start normally without error.






              share|improve this answer































                0














                For a GUI solution: install Disks (aka Gmome Disks):



                sudo apt-get install gnome-disk-utility


                Even in KDE it brings no supplementary dependencies.



                Start Disks, select the partition, then select "Additional partition options" - "Edit mount options".



                enter image description here



                On the next window uncheck User Session Defaults, check "Mount at system startup" and set the mount point.



                enter image description here






                share|improve this answer































                  0














                  Got this idea from @Thomas Kainrad's comment



                  You can delay the startup of Dropbox so the drive has time to mount. First you need to disable Dropbox's option to load at startup:



                  enter image description here



                  Then add your own startup entry for Dropbox but add the X-GNOME-Autostart-Delay parameter and set it to the number of seconds you'd like to delay.



                  Save this under ~/.config/autostart/sleepy-dropbox.desktop



                  [Desktop Entry]
                  Type=Application
                  Exec=dropbox start -i
                  Hidden=false
                  NoDisplay=false
                  X-GNOME-Autostart-enabled=true
                  X-GNOME-Autostart-Delay=2
                  Name[en_US]=My Sleepy Dropbox
                  Name=My Sleepy Dropbox
                  Comment[en_US]=Custom command for starting dropbox due to drive not being mounted yet
                  Comment=Custom command for starting dropbox due to drive not being mounted yet





                  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%2f43027%2floading-dropbox-on-start-up-when-my-dropbox-folder-is-on-separate-partition%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown

























                    8 Answers
                    8






                    active

                    oldest

                    votes








                    8 Answers
                    8






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes









                    3














                    You can edit your /etc/fstab file to add whichever partition you need.
                    You can find the wiki here.






                    share|improve this answer



















                    • 2





                      Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

                      – Braiam
                      Aug 25 '13 at 12:15


















                    3














                    You can edit your /etc/fstab file to add whichever partition you need.
                    You can find the wiki here.






                    share|improve this answer



















                    • 2





                      Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

                      – Braiam
                      Aug 25 '13 at 12:15
















                    3












                    3








                    3







                    You can edit your /etc/fstab file to add whichever partition you need.
                    You can find the wiki here.






                    share|improve this answer













                    You can edit your /etc/fstab file to add whichever partition you need.
                    You can find the wiki here.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered May 15 '11 at 22:38









                    igiigi

                    1,11211028




                    1,11211028








                    • 2





                      Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

                      – Braiam
                      Aug 25 '13 at 12:15
















                    • 2





                      Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

                      – Braiam
                      Aug 25 '13 at 12:15










                    2




                    2





                    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

                    – Braiam
                    Aug 25 '13 at 12:15







                    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

                    – Braiam
                    Aug 25 '13 at 12:15















                    8














                    Yeah.



                    You would need to mount your partition when your system starts.



                    For detailed guide refer Automatically Mount Partitions in Ubuntu.



                    If your have external NTFS partition then ntfs-config will ease your task and let you mount all ntfs partitions easily. To install ntfs-config, open terminal and type;



                    sudo apt-get install ntfs-config





                    share|improve this answer
























                    • I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

                      – schmoopy
                      Jul 16 '17 at 20:47
















                    8














                    Yeah.



                    You would need to mount your partition when your system starts.



                    For detailed guide refer Automatically Mount Partitions in Ubuntu.



                    If your have external NTFS partition then ntfs-config will ease your task and let you mount all ntfs partitions easily. To install ntfs-config, open terminal and type;



                    sudo apt-get install ntfs-config





                    share|improve this answer
























                    • I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

                      – schmoopy
                      Jul 16 '17 at 20:47














                    8












                    8








                    8







                    Yeah.



                    You would need to mount your partition when your system starts.



                    For detailed guide refer Automatically Mount Partitions in Ubuntu.



                    If your have external NTFS partition then ntfs-config will ease your task and let you mount all ntfs partitions easily. To install ntfs-config, open terminal and type;



                    sudo apt-get install ntfs-config





                    share|improve this answer













                    Yeah.



                    You would need to mount your partition when your system starts.



                    For detailed guide refer Automatically Mount Partitions in Ubuntu.



                    If your have external NTFS partition then ntfs-config will ease your task and let you mount all ntfs partitions easily. To install ntfs-config, open terminal and type;



                    sudo apt-get install ntfs-config






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered May 15 '11 at 20:29









                    Amey JahAmey Jah

                    1,74521933




                    1,74521933













                    • I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

                      – schmoopy
                      Jul 16 '17 at 20:47



















                    • I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

                      – schmoopy
                      Jul 16 '17 at 20:47

















                    I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

                    – schmoopy
                    Jul 16 '17 at 20:47





                    I am using the most recent loki/elementary (as of this date) and this was the easiest way to get all of my 11 ntfs disks to be ready at boot, including the one that contains my dropbox. Thanks!!!

                    – schmoopy
                    Jul 16 '17 at 20:47











                    6














                    I edited the /etc/fstab file.



                    Step 1. List your partitions by UUID:



                    sudo blkid


                    Step 2. Edit /etc/fstab file.



                    To edit the file directly in terminal, run:



                    sudo nano -Bw /etc/fstab


                    Step 3. Insert an extra line in fstab; the line should look like:



                    UUID="01CE8D75DCC82F80"    /media/G-Drive    ntfs  rw,auto,user,fmask=0111,dmask=0000   0     0


                    You will have to replace 01CE8D75DCC82F80 with your UUID.



                    You will have to replace /media/G-Drive with the location where you want to mount.



                    You might want to change ntfs if your partition is a different type.



                    If you change ntfs than you might have to change options as well (rw,auto,user,fmask=0111,dmask=0000 gives anybody access to this NTFS partition).



                    Step 4. Restart and keep fingers crossed, if "Drobox Unlink-ed message" not shown than you have been successful.






                    share|improve this answer


























                    • Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

                      – timbram
                      Apr 13 '18 at 3:08











                    • Looks like the findmnt command may work pretty well!

                      – timbram
                      Apr 13 '18 at 3:18
















                    6














                    I edited the /etc/fstab file.



                    Step 1. List your partitions by UUID:



                    sudo blkid


                    Step 2. Edit /etc/fstab file.



                    To edit the file directly in terminal, run:



                    sudo nano -Bw /etc/fstab


                    Step 3. Insert an extra line in fstab; the line should look like:



                    UUID="01CE8D75DCC82F80"    /media/G-Drive    ntfs  rw,auto,user,fmask=0111,dmask=0000   0     0


                    You will have to replace 01CE8D75DCC82F80 with your UUID.



                    You will have to replace /media/G-Drive with the location where you want to mount.



                    You might want to change ntfs if your partition is a different type.



                    If you change ntfs than you might have to change options as well (rw,auto,user,fmask=0111,dmask=0000 gives anybody access to this NTFS partition).



                    Step 4. Restart and keep fingers crossed, if "Drobox Unlink-ed message" not shown than you have been successful.






                    share|improve this answer


























                    • Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

                      – timbram
                      Apr 13 '18 at 3:08











                    • Looks like the findmnt command may work pretty well!

                      – timbram
                      Apr 13 '18 at 3:18














                    6












                    6








                    6







                    I edited the /etc/fstab file.



                    Step 1. List your partitions by UUID:



                    sudo blkid


                    Step 2. Edit /etc/fstab file.



                    To edit the file directly in terminal, run:



                    sudo nano -Bw /etc/fstab


                    Step 3. Insert an extra line in fstab; the line should look like:



                    UUID="01CE8D75DCC82F80"    /media/G-Drive    ntfs  rw,auto,user,fmask=0111,dmask=0000   0     0


                    You will have to replace 01CE8D75DCC82F80 with your UUID.



                    You will have to replace /media/G-Drive with the location where you want to mount.



                    You might want to change ntfs if your partition is a different type.



                    If you change ntfs than you might have to change options as well (rw,auto,user,fmask=0111,dmask=0000 gives anybody access to this NTFS partition).



                    Step 4. Restart and keep fingers crossed, if "Drobox Unlink-ed message" not shown than you have been successful.






                    share|improve this answer















                    I edited the /etc/fstab file.



                    Step 1. List your partitions by UUID:



                    sudo blkid


                    Step 2. Edit /etc/fstab file.



                    To edit the file directly in terminal, run:



                    sudo nano -Bw /etc/fstab


                    Step 3. Insert an extra line in fstab; the line should look like:



                    UUID="01CE8D75DCC82F80"    /media/G-Drive    ntfs  rw,auto,user,fmask=0111,dmask=0000   0     0


                    You will have to replace 01CE8D75DCC82F80 with your UUID.



                    You will have to replace /media/G-Drive with the location where you want to mount.



                    You might want to change ntfs if your partition is a different type.



                    If you change ntfs than you might have to change options as well (rw,auto,user,fmask=0111,dmask=0000 gives anybody access to this NTFS partition).



                    Step 4. Restart and keep fingers crossed, if "Drobox Unlink-ed message" not shown than you have been successful.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 25 '13 at 12:16









                    Braiam

                    51.8k20136221




                    51.8k20136221










                    answered Aug 25 '13 at 9:40









                    elemer82elemer82

                    4031513




                    4031513













                    • Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

                      – timbram
                      Apr 13 '18 at 3:08











                    • Looks like the findmnt command may work pretty well!

                      – timbram
                      Apr 13 '18 at 3:18



















                    • Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

                      – timbram
                      Apr 13 '18 at 3:08











                    • Looks like the findmnt command may work pretty well!

                      – timbram
                      Apr 13 '18 at 3:18

















                    Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

                    – timbram
                    Apr 13 '18 at 3:08





                    Is there any way to see how the drive is currently mounted so I can properly populate fstab with the same (rw,auto,user,fmask=0111,dmask=0000 options?

                    – timbram
                    Apr 13 '18 at 3:08













                    Looks like the findmnt command may work pretty well!

                    – timbram
                    Apr 13 '18 at 3:18





                    Looks like the findmnt command may work pretty well!

                    – timbram
                    Apr 13 '18 at 3:18











                    0














                    Another way of doing this would be using a startup script. This way you could avoid mounting a partition globally if for some reason that's not what you wanna do.
                    This would be a very simple way of doing it:



                    #!/bin/bash
                    udisks --mount /dev/<your partition> && dropbox start -i


                    You will need to make sure to uncheck the "Start Dropbox on system startup" checkbox in your Dropbox prefernces and of course add the startup script as startup application.






                    share|improve this answer




























                      0














                      Another way of doing this would be using a startup script. This way you could avoid mounting a partition globally if for some reason that's not what you wanna do.
                      This would be a very simple way of doing it:



                      #!/bin/bash
                      udisks --mount /dev/<your partition> && dropbox start -i


                      You will need to make sure to uncheck the "Start Dropbox on system startup" checkbox in your Dropbox prefernces and of course add the startup script as startup application.






                      share|improve this answer


























                        0












                        0








                        0







                        Another way of doing this would be using a startup script. This way you could avoid mounting a partition globally if for some reason that's not what you wanna do.
                        This would be a very simple way of doing it:



                        #!/bin/bash
                        udisks --mount /dev/<your partition> && dropbox start -i


                        You will need to make sure to uncheck the "Start Dropbox on system startup" checkbox in your Dropbox prefernces and of course add the startup script as startup application.






                        share|improve this answer













                        Another way of doing this would be using a startup script. This way you could avoid mounting a partition globally if for some reason that's not what you wanna do.
                        This would be a very simple way of doing it:



                        #!/bin/bash
                        udisks --mount /dev/<your partition> && dropbox start -i


                        You will need to make sure to uncheck the "Start Dropbox on system startup" checkbox in your Dropbox prefernces and of course add the startup script as startup application.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Sep 21 '13 at 9:04









                        Thomas KainradThomas Kainrad

                        663




                        663























                            0














                            For some reason I had to tweak @elemer82 answear to make it work with my ext4 partition. I put it here for the record.
                            You may not need the UUID: in my case I just used /dev/sda in my /etc/fstab.



                            So I just did:



                            sudo nano -Bw /etc/fstab


                            And entered the following line (I added the header here for clarity):



                            # <file system>  <mount point>          <type>  <options>   <dump>  <pass> 
                            /dev/sda /media/edelans/data1 ext4 defaults 0 2


                            You can check the doc of fstap for more details about the options. The defaults options were all I needed for a data partition where I put my dropbox folder. (Note that it's an ext4 partition, only accessed by ubuntu, no windows dualboot here).






                            share|improve this answer




























                              0














                              For some reason I had to tweak @elemer82 answear to make it work with my ext4 partition. I put it here for the record.
                              You may not need the UUID: in my case I just used /dev/sda in my /etc/fstab.



                              So I just did:



                              sudo nano -Bw /etc/fstab


                              And entered the following line (I added the header here for clarity):



                              # <file system>  <mount point>          <type>  <options>   <dump>  <pass> 
                              /dev/sda /media/edelans/data1 ext4 defaults 0 2


                              You can check the doc of fstap for more details about the options. The defaults options were all I needed for a data partition where I put my dropbox folder. (Note that it's an ext4 partition, only accessed by ubuntu, no windows dualboot here).






                              share|improve this answer


























                                0












                                0








                                0







                                For some reason I had to tweak @elemer82 answear to make it work with my ext4 partition. I put it here for the record.
                                You may not need the UUID: in my case I just used /dev/sda in my /etc/fstab.



                                So I just did:



                                sudo nano -Bw /etc/fstab


                                And entered the following line (I added the header here for clarity):



                                # <file system>  <mount point>          <type>  <options>   <dump>  <pass> 
                                /dev/sda /media/edelans/data1 ext4 defaults 0 2


                                You can check the doc of fstap for more details about the options. The defaults options were all I needed for a data partition where I put my dropbox folder. (Note that it's an ext4 partition, only accessed by ubuntu, no windows dualboot here).






                                share|improve this answer













                                For some reason I had to tweak @elemer82 answear to make it work with my ext4 partition. I put it here for the record.
                                You may not need the UUID: in my case I just used /dev/sda in my /etc/fstab.



                                So I just did:



                                sudo nano -Bw /etc/fstab


                                And entered the following line (I added the header here for clarity):



                                # <file system>  <mount point>          <type>  <options>   <dump>  <pass> 
                                /dev/sda /media/edelans/data1 ext4 defaults 0 2


                                You can check the doc of fstap for more details about the options. The defaults options were all I needed for a data partition where I put my dropbox folder. (Note that it's an ext4 partition, only accessed by ubuntu, no windows dualboot here).







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Mar 4 '15 at 11:50









                                edelansedelans

                                1235




                                1235























                                    0














                                    I just did what @edelans said but it crashed my GUI. I actually had to mix it with @elemer82's solution.



                                    Using sudo blkid allowed be me realize that my HDD was not on /dev/sda but on /dev/sdb1 instead.



                                    I just had to change that in @edelans's solution and everything works. Dropbox and Copy now start normally without error.






                                    share|improve this answer




























                                      0














                                      I just did what @edelans said but it crashed my GUI. I actually had to mix it with @elemer82's solution.



                                      Using sudo blkid allowed be me realize that my HDD was not on /dev/sda but on /dev/sdb1 instead.



                                      I just had to change that in @edelans's solution and everything works. Dropbox and Copy now start normally without error.






                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        I just did what @edelans said but it crashed my GUI. I actually had to mix it with @elemer82's solution.



                                        Using sudo blkid allowed be me realize that my HDD was not on /dev/sda but on /dev/sdb1 instead.



                                        I just had to change that in @edelans's solution and everything works. Dropbox and Copy now start normally without error.






                                        share|improve this answer













                                        I just did what @edelans said but it crashed my GUI. I actually had to mix it with @elemer82's solution.



                                        Using sudo blkid allowed be me realize that my HDD was not on /dev/sda but on /dev/sdb1 instead.



                                        I just had to change that in @edelans's solution and everything works. Dropbox and Copy now start normally without error.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Sep 29 '15 at 2:10









                                        JulienJulien

                                        1




                                        1























                                            0














                                            For a GUI solution: install Disks (aka Gmome Disks):



                                            sudo apt-get install gnome-disk-utility


                                            Even in KDE it brings no supplementary dependencies.



                                            Start Disks, select the partition, then select "Additional partition options" - "Edit mount options".



                                            enter image description here



                                            On the next window uncheck User Session Defaults, check "Mount at system startup" and set the mount point.



                                            enter image description here






                                            share|improve this answer




























                                              0














                                              For a GUI solution: install Disks (aka Gmome Disks):



                                              sudo apt-get install gnome-disk-utility


                                              Even in KDE it brings no supplementary dependencies.



                                              Start Disks, select the partition, then select "Additional partition options" - "Edit mount options".



                                              enter image description here



                                              On the next window uncheck User Session Defaults, check "Mount at system startup" and set the mount point.



                                              enter image description here






                                              share|improve this answer


























                                                0












                                                0








                                                0







                                                For a GUI solution: install Disks (aka Gmome Disks):



                                                sudo apt-get install gnome-disk-utility


                                                Even in KDE it brings no supplementary dependencies.



                                                Start Disks, select the partition, then select "Additional partition options" - "Edit mount options".



                                                enter image description here



                                                On the next window uncheck User Session Defaults, check "Mount at system startup" and set the mount point.



                                                enter image description here






                                                share|improve this answer













                                                For a GUI solution: install Disks (aka Gmome Disks):



                                                sudo apt-get install gnome-disk-utility


                                                Even in KDE it brings no supplementary dependencies.



                                                Start Disks, select the partition, then select "Additional partition options" - "Edit mount options".



                                                enter image description here



                                                On the next window uncheck User Session Defaults, check "Mount at system startup" and set the mount point.



                                                enter image description here







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Oct 5 '18 at 9:52







                                                user47206






























                                                    0














                                                    Got this idea from @Thomas Kainrad's comment



                                                    You can delay the startup of Dropbox so the drive has time to mount. First you need to disable Dropbox's option to load at startup:



                                                    enter image description here



                                                    Then add your own startup entry for Dropbox but add the X-GNOME-Autostart-Delay parameter and set it to the number of seconds you'd like to delay.



                                                    Save this under ~/.config/autostart/sleepy-dropbox.desktop



                                                    [Desktop Entry]
                                                    Type=Application
                                                    Exec=dropbox start -i
                                                    Hidden=false
                                                    NoDisplay=false
                                                    X-GNOME-Autostart-enabled=true
                                                    X-GNOME-Autostart-Delay=2
                                                    Name[en_US]=My Sleepy Dropbox
                                                    Name=My Sleepy Dropbox
                                                    Comment[en_US]=Custom command for starting dropbox due to drive not being mounted yet
                                                    Comment=Custom command for starting dropbox due to drive not being mounted yet





                                                    share|improve this answer






























                                                      0














                                                      Got this idea from @Thomas Kainrad's comment



                                                      You can delay the startup of Dropbox so the drive has time to mount. First you need to disable Dropbox's option to load at startup:



                                                      enter image description here



                                                      Then add your own startup entry for Dropbox but add the X-GNOME-Autostart-Delay parameter and set it to the number of seconds you'd like to delay.



                                                      Save this under ~/.config/autostart/sleepy-dropbox.desktop



                                                      [Desktop Entry]
                                                      Type=Application
                                                      Exec=dropbox start -i
                                                      Hidden=false
                                                      NoDisplay=false
                                                      X-GNOME-Autostart-enabled=true
                                                      X-GNOME-Autostart-Delay=2
                                                      Name[en_US]=My Sleepy Dropbox
                                                      Name=My Sleepy Dropbox
                                                      Comment[en_US]=Custom command for starting dropbox due to drive not being mounted yet
                                                      Comment=Custom command for starting dropbox due to drive not being mounted yet





                                                      share|improve this answer




























                                                        0












                                                        0








                                                        0







                                                        Got this idea from @Thomas Kainrad's comment



                                                        You can delay the startup of Dropbox so the drive has time to mount. First you need to disable Dropbox's option to load at startup:



                                                        enter image description here



                                                        Then add your own startup entry for Dropbox but add the X-GNOME-Autostart-Delay parameter and set it to the number of seconds you'd like to delay.



                                                        Save this under ~/.config/autostart/sleepy-dropbox.desktop



                                                        [Desktop Entry]
                                                        Type=Application
                                                        Exec=dropbox start -i
                                                        Hidden=false
                                                        NoDisplay=false
                                                        X-GNOME-Autostart-enabled=true
                                                        X-GNOME-Autostart-Delay=2
                                                        Name[en_US]=My Sleepy Dropbox
                                                        Name=My Sleepy Dropbox
                                                        Comment[en_US]=Custom command for starting dropbox due to drive not being mounted yet
                                                        Comment=Custom command for starting dropbox due to drive not being mounted yet





                                                        share|improve this answer















                                                        Got this idea from @Thomas Kainrad's comment



                                                        You can delay the startup of Dropbox so the drive has time to mount. First you need to disable Dropbox's option to load at startup:



                                                        enter image description here



                                                        Then add your own startup entry for Dropbox but add the X-GNOME-Autostart-Delay parameter and set it to the number of seconds you'd like to delay.



                                                        Save this under ~/.config/autostart/sleepy-dropbox.desktop



                                                        [Desktop Entry]
                                                        Type=Application
                                                        Exec=dropbox start -i
                                                        Hidden=false
                                                        NoDisplay=false
                                                        X-GNOME-Autostart-enabled=true
                                                        X-GNOME-Autostart-Delay=2
                                                        Name[en_US]=My Sleepy Dropbox
                                                        Name=My Sleepy Dropbox
                                                        Comment[en_US]=Custom command for starting dropbox due to drive not being mounted yet
                                                        Comment=Custom command for starting dropbox due to drive not being mounted yet






                                                        share|improve this answer














                                                        share|improve this answer



                                                        share|improve this answer








                                                        edited Jan 19 at 15:30

























                                                        answered Jan 18 at 2:43









                                                        Matt McCormickMatt McCormick

                                                        1305




                                                        1305






























                                                            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%2f43027%2floading-dropbox-on-start-up-when-my-dropbox-folder-is-on-separate-partition%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