You are not logged in.

#1 2016-07-11 16:55:53

microaide
New Member
Registered: 2016-06-01
Posts: 2

Removable drives not automounting on startup

I have a new install of BL on my Asus 701 netbook. I have found that a removable drive that is already plugged in when I boot up does not seem to be mounted. If I open file manager, then open the removable drive in file manager, it then gets mounted and everything works fine. Also, if I plug in a removable drive AFTER the system is booted, it auto-mounts and everything works fine. The problem is with removable drive(s) that are already plugged in when I boot. This is an issue for me because my netbook has an SD slot, and I usually keep an SD card plugged in. I might also have any one of my USB flash drives plugged in at boot up.

With Crunchbang I could solve this issue by installing udisks-glue. But BL seems to have replaced udisks with udisks2, and udisks-glue doesn't work with udisks2. Editing fstab doesn't seem like the right solution, since I can't know which removable drive(s) might be present at boot.

For now I just have to always remember to open file manager and open my removable drives(s) before attempting to use them. But auto-mounting all discovered removable drives at boot would be so much more convenient. Is there any way to do this?

Offline

#2 2016-07-11 17:30:01

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Removable drives not automounting on startup

microaide wrote:

.... But auto-mounting all discovered removable drives at boot would be so much more convenient. Is there any way to do this?

I don't know a gui way of doing this with BL, but you can write a udev rule to do what you want. There are lots of examples on the interweb, but I found it a PITA to work out for a graphics tablet.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-07-11 20:22:55

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,143
Website

Re: Removable drives not automounting on startup

microaide wrote:

For now I just have to always remember to open file manager and open my removable drives(s) before attempting to use them. But auto-mounting all discovered removable drives at boot would be so much more convenient. Is there any way to do this?

fstab entries for your devices using the nofail option will mount the device if it's attached or continue booting without errors if it's not...

https://wiki.archlinux.org/index.php/Fs … al_devices

usbmount might work too, but I don't know if it detects drives at boot...

https://packages.debian.org/jessie/usbmount


I don't care what you do at home. Would you care to explain?

Offline

#4 2016-07-11 20:27:21

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Removable drives not automounting on startup

^ Does that work only if the device name is always the same. ie probably OK for an SD slot, but for several possible usb ports?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-07-11 20:30:20

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,143
Website

Re: Removable drives not automounting on startup

udisks and udisks-glue are available in jessie, you could also try installing those and removing udisks2...

https://packages.debian.org/jessie/udisks-glue

https://wiki.archlinux.org/index.php/udisks


I don't care what you do at home. Would you care to explain?

Offline

Board footer

Powered by FluxBB