I've been trying to compile kodi in babanian os image by mounting it in my desktop pc with chroot. There is space issues occured and I create some space with commands below:
# qemu-img info bananian-1508.img
image: bananian-1508.img
file format: raw
virtual size: 1.8G (1900000256 bytes)
disk size: 1.8G
# qemu-img resize bananian-1508.img +2.2GB
Image resized.
After this, I mount image file and made resize on necessary partition. After all, when I check the image size, it looks like not expanded.
# qemu-img info bananian-1508.img
image: bananian-1508.img
file format: raw
virtual size: 4.0G (4262232576 bytes)
disk size: 1.8G
As you can see above, the raw image virtual size
has extended but disk image
size is still same. Did I made something wrong?