Here is how to expand the space of a fixed disk in VirtualBox:
First, the disk should be cloned with the flag –variant Standard, so to be converted into dynamic.
Then this dynamic disk should be expanded using the modifyhd command and –resize flag.
Before you start, it is useful to append the VirtualBox directory into path environmental variable (C:\Program Files\Oracle\VirtualBox).
1) Remove the disk from your VM
2) Open a command line (Start –> cmd) and type:
VBoxmanage clonehd F:\VM\WinXP\MyFixedDisk.vdi F:\VM\WinXP\dynamic.vdi --variant Standard(Note: The number 102400 is 100GB in MB)
VBoxmanage modifyhd F:\VM\WinXP\dynamic.vdi --resize 102400
3) Add the new dynamic disk on your virtual machine
4) The additional space will appear unallocated. Use GParted live CD or any similar partition program and add the remaining unallocated space to your disk