03-03-2020, 08:27 AM
I'm looking for the same thing.
I have no computer, replaced it with a smartphone over a decade ago, even then it was Win95,98,XP followed by about six months of Ubuntu and thanks to Synaptic Package Manager, I only used the terminal maybe half a dozen times. A record I beat with the Pinephone simply by turning it off ($ sudo poweroff) as I can't find any other way.
I thought I found the solution with parted ($ sudo parted) I think it came preinstalled, unless it was installed as a dependency by something else I installed. I'm assuming these operations need administrator privileges.
In parted I tried the print command which revealed partition 2 was what I probably wanted to resize.
Then I used the resizepart command and then entered 2.
It then prompted me for an end size, with the current size in brackets, something like [1120MB] I entered 14GB
Then I entered the print command again, which revealed the resized partition.
I tried again, but entered 200GB (it's a 256GB sdcard) which failed. Disk /dev/mmcblk2 evidently is the 16GB emmc storage.
I assume the command: select /dev/mmcblk? would get me on the right track, what is the microsdcard labelled as in postmarketos on a Pinephone?
I have no computer, replaced it with a smartphone over a decade ago, even then it was Win95,98,XP followed by about six months of Ubuntu and thanks to Synaptic Package Manager, I only used the terminal maybe half a dozen times. A record I beat with the Pinephone simply by turning it off ($ sudo poweroff) as I can't find any other way.
I thought I found the solution with parted ($ sudo parted) I think it came preinstalled, unless it was installed as a dependency by something else I installed. I'm assuming these operations need administrator privileges.
In parted I tried the print command which revealed partition 2 was what I probably wanted to resize.
Then I used the resizepart command and then entered 2.
It then prompted me for an end size, with the current size in brackets, something like [1120MB] I entered 14GB
Then I entered the print command again, which revealed the resized partition.
I tried again, but entered 200GB (it's a 256GB sdcard) which failed. Disk /dev/mmcblk2 evidently is the 16GB emmc storage.
I assume the command: select /dev/mmcblk? would get me on the right track, what is the microsdcard labelled as in postmarketos on a Pinephone?