[Issue] No space left after fresh install
from L0Wigh@sh.itjust.works to postmarketos@lemmy.ml on 11 Aug 2023 09:18
https://sh.itjust.works/post/2658234

Hi, I just installed postmarketos on my OnePlus 6 and after an update of the packages (or install a new one), I get “no space left” errors. I followed the guide and flashed the partition like it’s written in it. Any reason that can cause this ?

OnePlus 6 with 128gb, using the prebuilt sxmo (sway) edge image.

#postmarketos

threaded - newest

Moobythegoldensock@lemm.ee on 11 Aug 2023 10:31 next collapse

You need to expand the filesystem to use your whole card.

There are several tutorials out there, and I couldn’t really settle on the best one to link you. Google “sd resize2fs” and read through several until you find one that makes sense to you.

L0Wigh@sh.itjust.works on 11 Aug 2023 16:20 collapse

Is it the same thing as adding free space to pmbootstrap while doing manual installation ?

Moobythegoldensock@lemm.ee on 11 Aug 2023 16:23 collapse

I’m honestly not sure. It sounds similar.

df -h

Should give you an idea of how much space you actually have. If your disk size is way lower than its capacity, then the partition needs to be expanded.

L0Wigh@sh.itjust.works on 11 Aug 2023 20:39 collapse

How do I manage to do that with /dev/dm-1 ? I really don’t get how to apply this tutorial to my case…

araucaria_araucana@lemmy.world on 20 Aug 2023 18:34 next collapse

I encountered same problem because I used

pmbootstrap flasher flash_rootfs

instead of

pmbootstrap flasher flash_rootfs --partition userdata

L0Wigh@sh.itjust.works on 21 Aug 2023 23:52 collapse

That wasn’t the problem. Seems like currently (might be fixed now) edge IMG aren’t using the whole phone size. I had to use a trick with btrfs to have the full size

ollieparanoid@lemmy.ml on 10 Sep 2023 15:15 collapse

The bug gets tracked in gitlab.com/postmarketOS/pmaports/-/issues/2299, and a fix is being developed. Workarounds are mentioned in that issue. The download page has been updated to mention this and link to the issue in the meantime.