/dev/sda1 /mnt/sda1 auto auto,nofail 0 2
/mnt/sda1/home/purism /home/purism none auto,bind,nofail
Ever since the suspend feature became stable, whenever my phone wakes up from suspend, the sdcard gets mounted as read-only, which causes all sorts of problems.
I also noticed this behavior. Sidenote: Don’t try to edit the /etc/fstab to mount it as write & read device on boot as workaround or at least don’t make it a requirement to boot. ^^’
I locked myself out of the device like this because it couldn’t mount my SDcard during boot properly. Maybe I just messed up the UUID by accident but I don’t think I did. At least reflashing the device was pretty much straight forward but it’s not something you want to experience. ^^’
Same problem here.
I used my Librem 5 as daily driver since I got it a few months ago. The “read-only” problem started only a few weeks ago. It happens multiple times a day which means that I usually have to reboot the phone first before being able to use it. Or disable suspend.
My workaround for this: I installed PureOS on a partition on the SD-card in addition to the installation on the eMMC (and added another partition on SD-card as /home). This way I can still boot from SD-card by pressing volume down on boot and repair the installation on the eMMC.
This read-only problem is very annoying. I also try to use my librem5 as a daily driver. As I drove with my car and Pure Maps and OSM Scout Server yesterday, the read-only problem happened as I stopped for 15 minutes. Maybe the plugged power to to the car socket did not get power in this time and a suspend happened. The librem5 display did not change any more while moving the car. After rebooting it worked again. I think this means, if you use the librem5 for navigating you must not enable suspend. (I will try that next time)
I wonder, that there are only so few comments to this topic. Because this topic is so annoying. Are there people, that do not face this read-only problem while using a sd-card and suspend enabled ? If so, which sd-card do you use ?
So maybe the problem is only with an encrypted sd-card. (/dev/mapper/crypt_home /home ext4 nofail 0 2) and with ext4 (you are using vfat).
Also if nothing is running I can suspend (most of the time) without problems. So maybe the problem only happens while writing to the sd-card.
Maybe I have to test when this problem occurs, and how I can provoke it.
Also I wonder why this never happens with the internal disk of the librem5. What is the difference ?
I haven’t come across this issue and I also use a LUKS encrypted SD card with ext4 format. I don’t use automatic suspend, but I do suspend it manually when I am going to be away from a power source for awhile.