How to use microSD card to extend storage on arch linux Phosh
#1
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?
  Reply
#2
(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.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#3
(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/Pi...908.img.xz
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  stuck between phosh and plasma aular 0 161 02-27-2024, 05:55 PM
Last Post: aular
  Updating Arch Linux _radv_ 8 561 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 2,051 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 638 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 1,796 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Automount SD card or USB Stick magdesign 1 986 10-06-2023, 10:05 AM
Last Post: luppivega
  Arch auto mount usb example Lazy_one 2 2,763 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 838 07-29-2023, 08:27 AM
Last Post: alpineduck
  No keyboard on Arch Plasma when entering password on document Chief 0 798 12-03-2022, 08:35 PM
Last Post: Chief
  Curious About Arch Ferriah 2 2,062 11-07-2022, 04:38 PM
Last Post: Ferriah

Forum Jump:


Users browsing this thread: 1 Guest(s)