I have Dropbox installed on Crunchbang 11 Waldorf and added to autostart.sh. Everytime that Openbox starts, I get a dropbox screen saying that my folder is absent. I have the Dropbox folder in a NTFS partition named "vajra"; it is not in the main linux partition due to its size. What I need to do to have Dropbox start normally is to open Thunar, click on the NTFS volume (vajra) and wait until it is mounted. I usually get this message the first time I click on it:
Fail to mount "vajra"
DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending
I click on Vajra again and then the folders display. Only then I can open Dropbox normally. My line for Dropbox in autostart is as follows. It is the last one of the list:
# Lanza el Dropbox
(sleep 5s && ~/.dropbox-dist/dropboxd) &
Any ideas will be appreciated.
Last edited by luisroncero (2014-02-05 19:37:28)
I changed the wait time to 40 seconds but the problem persists It seems that the only way for my NTFS partition to be properly mounted is by opening a file explorer like Thunar. I do what I said in the first post: click on the NTFS label twice and wait until it is mounted correctly. Only then I can open Dropbox again and I can use it.
Is there any way to solve this?
have you added an entry for your partition in /etc/fstab!?
this might help...
Sorry, I do not know how to do that. I am an illiterate user. Besides, I do not have etc/fstab; my folder is called etc/fstab.d. Plus, there is nothing inside that folder. I would not know how to do it. I have read through the page that you provided but I still do not know what to do.
honestly I do not know what the /etc/fstab.d/ folder is used for, but you surely have an /etc/fstab file...let's see what it contains now, open a terminal window and type
then copy/paste the output here.
please, use the code tags so the output is more readable, see those helper above the text input box...
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda3 during installation UUID=75d4a6bb-60e0-43c1-b07e-3e06d57257f5 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda4 during installation UUID=ef6b11e8-3643-4520-9c39-e95c03b85434 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 #/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
Ok, now I understand. It seems that fstab is a file. This is the output. I have also used "code" as VDP76 advised.
Thanks in advance.
ok, now let's add your data partition to the fstab file, assuming to mount it to a folder named vajra.
open a terminal and type this commands
cd /media/ sudo mkdir vajra sudo mount -t ntfs /dev/sdaX /media/vajra sudo chown -R user:user /media/vajra
note: replace the X in sdaX with the appropriate number for the partition and user with your actual username.
at this point the partition is mounted and user owns the files contained in it, browse the folder with thunar or from terminal to check that then use
to find out what is the UUID associated to your /dev/sdaX partition
sudo geany /etc/fstab
and add this line using the appropriate UUID (adapted from the Debian wiki)
UUID=111-222-333 /media/vajra ntfs-3g rw,uid=1000,gid=1000,dmask=0002,fmask=0003 0 0
save, close geany, reboot and you should be set.
That solved the problem. This community is amazing. Thanks so much for your help.
I am so glad to be using Crunchbang.
You're welcome, I am glad I could help!
Yep, this is a great community, many of us have come here for the distro but stayed for the forums...
Last edited by VDP76 (2014-02-05 22:18:32)