No space left on emmc

Hey there,

I’m using Banana Pi M5 and I installed the Ubuntu 20.04 image to eMMC on BPI. After installing some stuff I got the error message, “no space left”. I was confused because BPI M5 has 16 GB of space. After running df -h I’ve seen, that the system partition is only 6,8 GB. I suppose that while copying image to eMMC using bpi-copy, the tool made the mmcblk0p2 partition only 6,8 GB because the image has this size. What can I do, to get the 16 GB of eMMC? Is there a command to extend the partition?

Best regards Basti

Excute this script armbian-resize-filesystem (8.3 KB)

$ sudo chmod 755 armbian-resize-filesystem
$ sudo ./armbian-resize-filesystem start

Ok thank you. I solved this issue using gparted from sd card. Sometimes the idea comes 5 minutes after posting the question in a forum.