I'm running VirtualBox 4.3 and have Ubuntu 12.04.2 x64 guest, which has run out of disk space. I need to install VirtualBox Guest Additions and I have gone thru and deleted large files along with old kernels to free up more space.
I found this step-by-step tutorial here to increase disk space:
Hajuria's Blog: How to increase Virtualbox disk size in 9 easy steps
From Windows 7 MS DOS ran this successfully
C:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd --resize 12920 "C:\Users\
cmmiller\VirtualBox VMs\Ubuntu 12.04.2 x64 Clone 001\Ubuntu 12.04.2 x64 Clone 00
1.vdi"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
When I log into the Ubuntu VM and run df -h, it shows the following:
$ df -h
Filesystem Size Used Avail Used% Mounted On
/dev/sda1 6.0G 5.3G 401M 94% /
I'm not understanding how VBoxManage says it ran successfully along with no issues of cloning the original .vdi file, however once logging into the Linux VM, it shows
decrease of HD Space from 8 GB to 6 GB.