this post was submitted on 11 Aug 2023
2 points (100.0% liked)

postmarketOS

966 readers
7 users here now

postmarketOS - a real Linux distribution for phones and other mobile devices ๐Ÿง ๐Ÿ“ฑ ๐Ÿ‘ฉโ€๐Ÿ’ป

Rules:

See also:

founded 3 years ago
MODERATORS
 

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.

top 6 comments
sorted by: hot top controversial new old
[โ€“] Moobythegoldensock@lemm.ee 3 points 1 year ago* (last edited 1 year ago) (1 children)

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 0 points 1 year ago (1 children)

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.

[โ€“] araucaria_araucana@lemmy.world 1 points 1 year ago (1 children)

I encountered same problem because I used

pmbootstrap flasher flash_rootfs

instead of

pmbootstrap flasher flash_rootfs --partition userdata

[โ€“] L0Wigh@sh.itjust.works 1 points 1 year ago

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 1 points 1 year ago

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.