02-09-2020, 12:13 PM
(02-09-2020, 12:43 AM)Some_Dood Wrote: When writing the image to both my sd card or the emmc on my pinephone, ubports will not resize the file system to use the whole storage device. Instead it creates a 3.7gb partition with the rest as unpartitioned space. This results in me having no space to install or download anything. I have been playing around with fdisk and I just cannot get it to resize the partition to use the entire drive. Does anyone have an idea how to fix this?
So what I did to work around this:
- Write image to sdcard with dd
- Open sdcard in parted (In my case: parted /dev/sdd)
- Resize partition with resizepart, picked 100% as new end of partition
- Ran resize2fs /dev/sdd1 to get the correct size