answered
2015-07-25 02:42:10 +0200
Looks like your FAT32 partition on the SD is corrupted.
The best would be to try fixing it.
Under linux, use fsck.vfat
while running as root. Exemple on the Jolla :
devel-su
fsck.vfat -a -f /dev/mmcblk1p1
Example on a Linux desktop (E.g.: ubuntu, systemrescuecd, etc.), assuming that you use an USB card reader and the SD card shows up as the second device (you can check this by runing lspci
) :
sudo /sbin/fsck.vfat -a -f /dev/sdb1
Under Windows, I think the corresponding command is CHKDSK
but I'm not sure about the options. You could also do it with the mouse by something like right-clicking on the drive with the SD card, asking for the properties, "*tools" tab and start a check.
(Avoid searching for bad sectors. Nowadays this kind of things is handled by the drive firmware (both flash like your case and spinning drives), thus it's useless and will only uselessly put stress on the wear leveling).
If you've reformatted the drive as something else than the FAT32 that came with it, you should use the proper tools to check it (e.g.: fsck.ext4
). Exceptions are BTRFS (btrfs check --repair
instead of fsck) and NTFS (ntfsfix
)
Self-Update:
I've fixed it by my own by taking the sdcard out (of course when Jolla was turned off this time). Booted up Jolla again and removed the folder named with the sdcard-identifier in /media/
Manually rebooting the Jolla with the sdcard pulling in (turn off phone - insert sdcard - turning phone on) created the mountpoint-folder again and the files on the sdcard are accessable and writeable again.
However I wonder if I polluted any config file (like fstab) now because I removed the mountpoint-folder.
RoestVrijStaal ( 2015-07-25 19:58:57 +0200 )editokay, so your case the problem wasn't on the FAT partition itself but the mount point where it get attached onto the nain BTRFS partition. (left hanging with wrong rights).
(just for security, if I were you, I would eun a
btrfs scrub
on it)no risk of polluting a configuration file: there is none, everything is dynamically detected and mounted by the 'mount-sd' script
DrYak ( 2015-07-27 02:26:56 +0200 )edit