I was coming dangerously close to filling up a virtualbox disk(.vdi) with Ubuntu on it.
So I enlarged the disk
VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB
I went from a 6GB disk to a 12GB disk.
Virtualbox recognizes the new disk size. However booting into the Ubuntu guest does not.
How can I tell Ubuntu to take a look at the disk size?
Ubuntu 11.04 64bit - Host
Ubuntu 10.04 32bit - Guest
The disk might be bigger but the partition on that disk is still the same.
You want to boot the virtual machine into a LiveCD environment and resize the partition: