Persistently mount SD card?
(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.
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
  Apps and SD Card biketool 2 360 03-06-2022, 09:47 AM
Last Post: biketool
  How to flash a µSD-Card with Balena Etcher walter1950 1 299 01-22-2022, 02:06 AM
Last Post: bcnaz
  How to insert a SIM-Card and/or a µSD-Card walter1950 0 219 01-21-2022, 02:46 PM
Last Post: walter1950
  When I set SD card as /home, PP can't complete boot nelstomlinson 4 801 12-27-2021, 03:06 PM
Last Post: nelstomlinson
  weird SIM card question RodneyMyers 4 2,902 10-16-2020, 01:47 PM
Last Post: ThrillGates
  Activating a sim card bcnaz 4 3,551 08-08-2020, 06:37 PM
Last Post: bcnaz
  Unable to mount exFAT file system jyc88 4 3,660 07-23-2020, 05:21 PM
Last Post: jyc88
  How to mount an SD card? gizmuth 4 3,516 07-15-2020, 06:41 AM
Last Post: a-wai

Forum Jump:

Users browsing this thread: 1 Guest(s)