Virtual Box

How to resize disc

Stop your VM, on host:

$ VBoxManage list hdds
    UUID:           ad5b7654-663a-47e4-9a65-795a79188d25
    Parent UUID:    base
    State:          created
    Type:           normal (base)
    Location:       /home/nborboen/VirtualBox VMs/Win8/Win8.vdi
    Storage format: VDI
    Capacity:       30720 MBytes
$ VBoxManage modifyhd /home/nborboen/VirtualBox VMs/Win8/Win8.vdi --resize 30720

Then start your VM, go to computer management, right click C:\ and extand it with the new unallocated space. And probably reboot the VM ^^

(30Go -> Note that is not enough for Windows 8. My first VM has 25Go and was full, resized it to 30Go and was full again after windows updates. Sigh....)