Resize Debian in VirtualBox
- by Poni
I have a VM with one HD of size 3GB and I'd like to enlarge its HD to 7GB.
So I execute this command on the host (while guest is shutdown):
VBoxManage modifyhd debian.vdi --resize 7168
Then I run the guest, Debian 6, and then:
smith@debian6:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.8G 2.6G 60M …