PINE64
How to mount new microSD card? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: General Discussion on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=77)
+--- Thread: How to mount new microSD card? (/showthread.php?tid=6766)



How to mount new microSD card? - jschall - 11-10-2018

I am running KDE Neon from EMMC.

I want to add a new microSD card for added storage.

I inserted the card and opened Dolphin. The new card shows as "60.0 GiB Removable Media", and "/dev/mmcblk1p1", but Dolphin can't mount it.

I suspect I need to format the new card, but how?

I have searched here and elsewhere on the Web, but haven't found an answer.

How do I format and mount a new microSD card?


RE: How to mount new microSD card? - evilbunny - 11-10-2018

(11-10-2018, 12:03 PM)jschall Wrote: I am running KDE Neon from EMMC.

I want to add a new microSD card for added storage.

I inserted the card and opened Dolphin. The new card shows as "60.0 GiB Removable Media", and "/dev/mmcblk1p1", but Dolphin can't mount it.

I suspect I need to format the new card, but how?

I have searched here and elsewhere on the Web, but haven't found an answer.

How do I format and mount a new microSD card?


You may need to install the exfat packages if it's formatted that way.

Code:
sudo apt install exfat-fuse exfat-utils



RE: How to mount new microSD card? - jschall - 11-11-2018

Thanks for the suggestion, @evilbunny.

But I would prefer to re-format the  microSD card as ext4.

Can I do that?


RE: How to mount new microSD card? - acruhl - 11-11-2018

Yeah. Once you know the physical disk name, which you found (/dev/mmcblk1), you can format it like any other disk in Linux. There is plenty of documentation of this online, it's no different (generally speaking) than using a USB or regular spinning disk. Once you format it extX, the system should recognize it and mount it when you plug it in.

I've found microsd performance is pretty slow on the Pinebook. USB might be better. Don't know.


RE: How to mount new microSD card? - jschall - 11-11-2018

Thanks, @acruhl.

You said "format it like any other disk in Linux".

How? What tool do I need?


RE: How to mount new microSD card? - martinayotte - 11-11-2018

mkfs.ext4 /dev/mmcblk0p1


RE: How to mount new microSD card? - acruhl - 11-11-2018

Wait, not mmcblk0! That's your running disk!

Use lsblk to figure out which one you want to format. If it's a microsd, it's probably mmcblk1 if you booted from the internal emmc disk.


RE: How to mount new microSD card? - martinayotte - 11-12-2018

(11-11-2018, 07:02 PM)acruhl Wrote: Wait, not mmcblk0! That's your running disk!

Use lsblk to figure out which one you want to format. If it's a microsd, it's probably mmcblk1 if you booted from the internal emmc disk.

Right, if you are running Legacy kernel.
But, for Mainline, Armbian Mainline for example, the eMMC will always be /dev/mmcblk2, either if you are booting from it or from SDCard ...


RE: How to mount new microSD card? - jschall - 11-12-2018

I know which drive I want to format - it's /dev/mmcblk1. I'm booting from the EMMC, which is /dev/mmcblk0.

Thank you for your replies.