Persistently mount SD card?
#3
(10-06-2020, 04:00 AM)fernando_c_m Wrote:
(10-05-2020, 05:17 PM)DarkManiels Wrote: I have Mobian installed on my eMMC and use a 128GB SD card to store my music collection. Unfortunately I've had troubles with various music players "losing" my music library after a while and having to re-scan or re-build it when I open the app after a few days (which can take quite a while). I believe I read somewhere that Mobian only mounts the SD card when it's needed, rather than keeping it persistently mounted, and I'm guessing this may be behind my problem.

I've read about the option to mount the SD card as an extended home directory in the tweaks section of the Mobian wiki, but I'm not sure I want to wipe my SD card and follow those directions just to see if this fixes my music problem. Does anyone know if there's a way to persistently mount an SD card without wiping it and setting it as the home directory? Or is this even something I'd want to do? Presumably there's a reason the card isn't persistently mounted in the "stock" Mobian installation. Any thoughts on the matter would be appreciated.
/etc/fstab is the place where you can do this. I do it so, since I had the same problems you reported. I don't have the home directory mounted on the sd card, though there are certainly some benefits like being able to flash the image directly to the emmc and then installing the packages you need as a way to restore your system vs. backing up your whole emmc with jumpdrive and dd.
Code:
UUID=youruuid / ext4 defaults 0 0
UUID=youruuid /boot ext4 defaults 0 0
UUID=youruuid          /mnt/sdcard      exfat-fuse  defaults    0      0
Just as an example my fstab. blkid can give you the uuid of your SD card. Be careful, don't reboot until the output of mount -v -a is correct. If you can't figure it out, just delete the lines you added and ask for help.
Thank you, @fernando_c_m , and sorry for the late reply. This seems to have fixed my problem.


Messages In This Thread
Persistently mount SD card? - by DarkManiels - 10-05-2020, 05:17 PM
RE: Persistently mount SD card? - by fernando_c_m - 10-06-2020, 04:00 AM
RE: Persistently mount SD card? - by DarkManiels - 11-08-2020, 01:45 PM
RE: Persistently mount SD card? - by HLing - 11-12-2020, 04:57 PM
RE: Persistently mount SD card? - by DarkManiels - 11-19-2020, 04:30 PM
RE: Persistently mount SD card? - by HLing - 11-21-2020, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  weird SIM card question RodneyMyers 4 1,846 10-16-2020, 01:47 PM
Last Post: ThrillGates
  Activating a sim card bcnaz 4 2,323 08-08-2020, 06:37 PM
Last Post: bcnaz
  Unable to mount exFAT file system jyc88 4 2,417 07-23-2020, 05:21 PM
Last Post: jyc88
  How to mount an SD card? gizmuth 4 2,209 07-15-2020, 06:41 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)