I had created a virtual machine Xubuntu 18.04.1, using Virtual Box 6.0 (on Windows 10 x64), initially with 10 Gb of space.

I needed to resize it to 20 Gb through the Windows command:

.\VBoxManage modifyhd "C:\Users\user\VirtualBox VMs\xubuntu\xubuntu.vdi" --resize 20000

Virtual Box is showing the correct space:

enter image description here

But when using Gparted, it's not recognizing the unallocated space:

enter image description here

What is wrong?


Create a dummy in virtualbox and call it a clone create a dynamic drive of the size you want and use the following command.

The --existing will allow the original to be copied into it.

vboxmanage clonemedium disk /media/jack/VirtualBoxVM/BlackArch.vdi /media/jack/ExtraStorage/BlackArch_Clone/BlackArch_Clone.vdi --existing

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.