VirtualBox Increase Hard Disk Space

Murray Brown
Murray Brown used Ask the Experts™
on
Hi

I have a VM set up in VirtualBox. Is it possible to increase the hard disk space of the VM that us running?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Commented:
Not to my knowledge. Shut the VM down. Create a new virtual disk that is larger for the same VM, then boot it to a utility like CloneZilla to clone the first disk to the larger one. Then remove the old disk from the VM and again boot to a Utility like GParted to increase the size of the partition, provided CloneZilla or the tool you used didn't adjust the size.

Another method would be to use the "Export Appliance" option in the file menu of the VirtualBox Manager, then exporting the VM to a template, then use the "Import Appliance" option to create a new VM with a larger disk from that template.
HuaMin ChenProblem resolver
Commented:
If you've selected "Dynamic" disk size to the VM, it will expand by itself. For "static" disk size, it is already fixed and could not be adjusted.
Murray BrownASP.net/VSTO Developer

Author

Commented:
Thanks very much
Top Expert 2015

Commented:
vboxmanage modifyhd --resize 100G
vm should be powered off, then inside vm you must resize partitions and file systems.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial