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.
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.
Is it the same thing as adding free space to pmbootstrap while doing manual installation ?
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.
I encountered same problem because I used
pmbootstrap flasher flash_rootfs
instead of
pmbootstrap flasher flash_rootfs --partition userdata
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
The bug gets tracked in https://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.