VirtualBox Increase Hard Disk Space


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

Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HuaMin ChenProblem resolverCommented:
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 BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
vboxmanage modifyhd --resize 100G
vm should be powered off, then inside vm you must resize partitions and file systems.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.