How to re-size a virtual box disk

image
Rodrigo Asensio 8 years ago

1 min read

I found today that my windows vm in ubuntu was completely out of space


I found today that my windows vm in ubuntu was completely out of space. I tried to find some resize option in the UI but I was unable to find anything. So reading the doc for the command line I found this:

cd /your/path/vm/
VBoxManage modifyhd mydisk.vdi --resize 50000

The size that you specify is in megabytes.

Cheers!

image

Rodrigo Asensio

Rodrigo Asensio is Manager of Solution Architecture at Amazon Web Services. He has more than 20 years of experience designing and operating distributed solutions. He is currently responsible for a team in the Enterprise segment helping large clients accelerate their adoption of the cloud and optimize the utilization of their resources.

Check out all articles