Virtualbox partition - pc image

Hi,

The root partition of the PC Image converted to vdi for virtualbox is really small

volumio@volumio:~$ df -k
Filesystem     1K-blocks    Used Available Use% Mounted on
overlay           342688  316748         0 100% /
/dev/sda2        2807000 1139820   1504876  44% /imgpart
/dev/loop0        535552  535552         0 100% /static
devtmpfs         1803272       0   1803272   0% /dev
tmpfs            1815968   53060   1762908   3% /dev/shm
tmpfs            1815968    4684   1811284   1% /run
tmpfs               5120       4      5116   1% /run/lock
tmpfs            1815968       0   1815968   0% /sys/fs/cgroup
tmpfs            1815968     296   1815672   1% /tmp
tmpfs            1815968       0   1815968   0% /var/spool/cups
tmpfs              20480      84     20396   1% /var/log
tmpfs            1815968       0   1815968   0% /var/spool/cups/tmp
/dev/sda1         497696   32312    465384   7% /boot
tmpfs             363196       0    363196   0% /run/user/1000

Does one of you know how to resize it as I can’t get git clone my volume-plugins forget project ?

Best regards

Charles

the “real” root partition is compressed and read only, the way we have implemented the rootfs it is by mounting it uncompressed as an overlay filesystem, using an overlay folder on the data partition which in principle maps any changes to the rootfs.
This is transparent, you are presented with the root “partition” as a normal writable partition, therefore I’m a bit puzzled by your question. Any change you do to the rootfs physically ends up on the overlay and can not cause any size issues with the root partion (partition 2) as the overlay is on the much larger data partition.
Could you give more info on what you are trying to do so I can be of more help?

Where is /dev/sda3, the data partition? This one is vital.

I have increased the size of the Virualbox VM and I don’t suffer anymore from this issue. Many thanks for your response.