PINE64
Manually mount SD card in running system? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Manually mount SD card in running system? (/showthread.php?tid=13266)



Manually mount SD card in running system? - lsitongia - 02-28-2021

I haven't found a distro yet that will automatically mount an SD card in the phone. I'm running Manjaro Plasma beta2 right now. Why doesn't the SD card automount when booting the phone? I've made sure that the SD card isn't bootable, so it doesn't interfere with booting the phone. The SD works fine when it contains an OS image or the jump drive.

How do I go about manually mounting the card? I want to use it for file storage, music, etc.

Thanks for your help!


RE: Manually mount SD card in running system? - lsitongia - 03-01-2021

I just tried Manjaro Phosh beta6 (Manjaro-ARM-phosh-pinephone-beta6.img.xz), and it comes with a Disks app, which lets me manually mount the SD card, so I have a way to do this now. I successfully read an image off an SD card and displayed it using the image viewer app.


RE: Manually mount SD card in running system? - Nick_dnepr - 03-03-2021

Alternatively, you can mount it with

sudo mount /dev/mmcblk0p1 /your/folder

not sure about plasma, but in phosh i have /dev/mmcblk2 as an internal emmc storage and /dev/mmcblk0 as an sd card

you may also want to mount it on boot automatically, then you'll need to add it to fstab


RE: Manually mount SD card in running system? - lsitongia - 03-03-2021

(03-03-2021, 11:24 AM)Nick_dnepr Wrote: Alternatively, you can mount it with

sudo mount /dev/mmcblk0p1 /your/folder

not sure about plasma, but in phosh i have /dev/mmcblk2 as an internal emmc storage and /dev/mmcblk2 as an sd card

you may also want to mount it on boot automatically, then you'll need to add it to fstab

Ah, that's the device name! Thanks. That makes sense. I'm trying Phosh right now, but I'll check that out on Plasma, too.