PINE64
How to use microSD card to extend storage on arch linux Phosh - 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: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: How to use microSD card to extend storage on arch linux Phosh (/showthread.php?tid=14946)



How to use microSD card to extend storage on arch linux Phosh - pineuser0 - 09-22-2021

Recently installed arch linux phosh on my pinephone, but the storage apparently ran out before I could even download anything to the phone, or do any other storage-related tasks.

What I'm trying to do is use my 128GB microSD card that I have just dd'd with /dev/zero as a method to extend the storage of my pinephone, thus letting me use it regularly. How can I accomplish this?


RE: How to use microSD card to extend storage on arch linux Phosh - dukla2000 - 09-22-2021

(09-22-2021, 12:50 PM)pineuser0 Wrote: Recently installed arch linux phosh on my pinephone, but the storage apparently ran out before I could even download anything to the phone, or do any other storage-related tasks.
...
Something is wrong, unless you are trying to run on a 4Gb SD-card? Arch will resize the root partition during first boot (and you will see the text messages on the screen) - my full arch installation with several added applications takes only 5.4Gb of disk. So I suspect the best thing to do would be to reinstall arch.

I assume you are using a Danct12 image?

(09-22-2021, 12:50 PM)pineuser0 Wrote: ...
What I'm trying to do is use my 128GB microSD card that I have just dd'd with /dev/zero as a method to extend the storage of my pinephone, thus letting me use it regularly. How can I accomplish this?
There are many ways to utilise the SD-card for additional storage: all the standard Linux options apply, but instructions for example to use it for the /home directory are here.


RE: How to use microSD card to extend storage on arch linux Phosh - pineuser0 - 09-30-2021

(09-22-2021, 04:19 PM)dukla2000 Wrote:
(09-22-2021, 12:50 PM)pineuser0 Wrote: Recently installed arch linux phosh on my pinephone, but the storage apparently ran out before I could even download anything to the phone, or do any other storage-related tasks.
...
Something is wrong, unless you are trying to run on a 4Gb SD-card? Arch will resize the root partition during first boot (and you will see the text messages on the screen) - my full arch installation with several added applications takes only 5.4Gb of disk. So I suspect the best thing to do would be to reinstall arch.

I assume you are using a Danct12 image?

(09-22-2021, 12:50 PM)pineuser0 Wrote: ...
What I'm trying to do is use my 128GB microSD card that I have just dd'd with /dev/zero as a method to extend the storage of my pinephone, thus letting me use it regularly. How can I accomplish this?
There are many ways to utilise the SD-card for additional storage: all the standard Linux options apply, but instructions for example to use it for the /home directory are here.

A reinstallation fixed the problem, the image used both before and after was: https://github.com/dreemurrs-embedded/Pine64-Arch/releases/download/20210908/archlinux-pinephone-phosh-20210908.img.xz