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
  LibreOffice usable with Arch Linux on the Pinephone? Peter Gamma 2 615 07-28-2024, 05:12 AM
Last Post: Peter Gamma
  stuck between phosh and plasma aular 0 617 02-27-2024, 05:55 PM
Last Post: aular
  Updating Arch Linux _radv_ 8 2,372 02-20-2024, 09:35 AM
Last Post: _radv_
  PinePhone AND/OR PinePhone Pro Arch Complete Install and Setup mikehenson 2 3,646 01-14-2024, 08:43 AM
Last Post: shifras
  How to install arch with FDE user641 3 1,560 01-11-2024, 10:18 PM
Last Post: Kevin Kofler
  How to find software app, on Arch Phosh? general_lee 5 3,017 10-15-2023, 10:12 PM
Last Post: Kevin Kofler
  Automount SD card or USB Stick magdesign 1 1,461 10-06-2023, 10:05 AM
Last Post: luppivega
  Arch auto mount usb example Lazy_one 2 3,500 10-06-2023, 09:36 AM
Last Post: luppivega
  Arch with FDE user641 1 1,355 07-29-2023, 08:27 AM
Last Post: alpineduck
  No keyboard on Arch Plasma when entering password on document Chief 0 1,080 12-03-2022, 08:35 PM
Last Post: Chief

Forum Jump:


Users browsing this thread: 1 Guest(s)