Ask / Submit

SD card with EXT4 is not mounted automatically

asked 2018-05-14 22:32:26 +0300

wosrediinanatour gravatar image

updated 2018-05-15 08:51:44 +0300

Dear all!

I have to mount my SD card manually ( According to several articles, there should be a - but it isn't. Do you have an idea what is wrong? Is really necessary in latest SailfishOS? Do I only need to install the script and, where can I find the official on (repository/rpm)?

Latest Sailfish X. Sandisk 32GB with Ext4. Update: I have no /usr/sbin/ or similar. Important: Formatting or mounting from settings does not work. I had to use the teminal's mkfs.ext4 and fdisk to get a ext4 formated sd card and had to mount it via mount command.


edit retag flag offensive close delete



Sorry I can't help with automatic mounting, since I've been somewhat confused by the amount of info posted about sd cards, (not because of any fault of the posters, necessarily, but because I don't have much advanced knowledge). When I found something that works for me, I just stuck with it... I have a 16gb sdcard, partitioned half ext4 and half exfat, which I had in my phone when I was running Android, and booting Linux from sd. Neither partition has ever mounted automatically, no matter what packages I install or settings I set. So I made a simple mount script, and created 2 directories, (p1 and p2), and use the Shellex app to mount with one click.

Levone1 ( 2018-05-15 00:04:47 +0300 )edit

@wosrediinanatour, please open a shell window ("Terminal", which has to be enabled by switching on Settings -- > Developer tools --> Developer mode first) and type ls -l /usr/sbin/ followed by hitting the Return key.

Does your output look similar to this:

[nemo@sailfish ~]$ ls -l /usr/sbin/
-rwxr-xr-x 1 root root 3591 2017-12-13 05:19 /usr/sbin/
[nemo@sailfish ~]$

(The file size may differ by a couple of bytes and the timestamp by a couple of hours, as this example was taken on a Jolla 1 phone under SailfishOS

And "Yes", this script is part of SailfishOS (i.e. should be installed as part of it) and necessary for auto-mounting partitions on a SD-card.

olf ( 2018-05-15 00:33:05 +0300 )edit

@wosrediinanatour - if you don't mind me butting in - I don't have that script in /usr/bin, but I have, (Xperia X Compact). Same or different? My output for the command looks similar to yours.

Levone1 ( 2018-05-15 04:23:53 +0300 )edit

@olf and @Levone1: I have neither of these files.

btw: Formatting and mounting from the setrings page does not work. I have to use terminal.

Do you know of which package this script is?

wosrediinanatour ( 2018-05-15 07:46:00 +0300 )edit

@Levone1, this is a different file, I suppose.
As you seem to use a community build of SailfishOS on your device, ask the maintainer(s) of this build for details (and how to auto-mount SD-cards).

@wosrediinanatour (on my Jolla 1 under SFOS

[nemo@sailfish ~]$ rpm -qf "/usr/sbin/"
[nemo@sailfish ~]$

I suppose this is why installing the Bleeding edge SD-utils helps (below), as it provides an alternative (although old IIRC) source of this package (and hence the script).

olf ( 2018-05-16 20:46:08 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-05-15 10:00:39 +0300

jolladiho gravatar image

updated 2018-05-15 10:03:27 +0300

I had this problem with the first xperia X ( F5121) community port. There was no

Try the unofficial install of: Beeding edge sd util That will fix your problem.

To create the only, does not help. You need a systemd service and udev rules too, if I remember right.

If you do not want to install that unofficial tool, you can download it fron open repos (, unpack it and look what files you need to create.

Good luck PS: What the device? what SailfishX (community or official)?

edit flag offensive delete publish link more



Official, Xperia X

wosrediinanatour ( 2018-05-15 10:20:49 +0300 )edit

Unofficial here - thanks for the leads. Btw - bleeding edge fixed it, thanks... Funny, I had tried that before, but didn't get the same results. Maybe I just never rebooted or something.

Levone1 ( 2018-05-15 11:55:32 +0300 )edit

Hmm, with official version on xperia X I did not had the problem in the past.

jolladiho ( 2018-05-16 08:47:16 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2018-05-14 22:32:26 +0300

Seen: 144 times

Last updated: May 15