VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MBreplacing YOUR_HARD_DISK and SIZE_IN_MB with your image name and desired size.
My guest OS is Ubuntu. To manage it's partitions I used GParted Live CD.
VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MBreplacing YOUR_HARD_DISK and SIZE_IN_MB with your image name and desired size.