14 | Open a terminal and navigate to the folder with the VirtualBox disk image, then use the following command:
replacing YOUR_HARD_DISK and SIZE_IN_MB with your image name and desired size. This answer and a fuller explanation are here, on webupd8. Credit to Andrew there for posting this answer. | ||
가상화/VirtualBox
$ VBoxManage modifyhd Windows7.vdi --resize 30720 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
At first Windows didn't detect the increased space, but after a poweroff it did, and then I was able to use the built-in Disk Management tool to increase the size of my C: partition. – Jonik Dec 22 '11 at 10:05