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
  APN settings not working with new operator SIM card user641 1 1,384 03-01-2023, 04:43 PM
Last Post: anonymous
  What does handle SD card automount? mdk 1 1,375 01-29-2023, 03:15 AM
Last Post: mdk
  New SD card won't auto-mount, will only mount as read-only 3x5co 3 2,345 07-16-2022, 02:28 PM
Last Post: dachalife
  Apps and SD Card biketool 2 2,354 03-06-2022, 09:47 AM
Last Post: biketool
  How to flash a µSD-Card with Balena Etcher walter1950 1 1,614 01-22-2022, 02:06 AM
Last Post: bcnaz
  How to insert a SIM-Card and/or a µSD-Card walter1950 0 1,159 01-21-2022, 02:46 PM
Last Post: walter1950
  When I set SD card as /home, PP can't complete boot nelstomlinson 4 3,514 12-27-2021, 03:06 PM
Last Post: nelstomlinson
  weird SIM card question RodneyMyers 4 5,531 10-16-2020, 01:47 PM
Last Post: ThrillGates
  Activating a sim card bcnaz 4 6,421 08-08-2020, 06:37 PM
Last Post: bcnaz
  Unable to mount exFAT file system jyc88 4 6,641 07-23-2020, 05:21 PM
Last Post: jyc88

Forum Jump:


Users browsing this thread: 3 Guest(s)