

Replace “” with the actual full path of VDI file along with its extension and “” with the new disk size in MegaBytes (MB). Enter cd "C:\Program Files\Oracle\VirtualBox" in the command window and press Enter.You can use the VBoxManage command to resize the VirtualBox disk. You can use the build Disk Management tool in Windows to create, extend, or resize partitions. You need to manually partition the unallocated disk space in the virtual OS. For example, in my case, the disk has been resized from 35GB to 45GB.ĭo keep in mind that the newly expanded space will be shown as unallocated space in the guest operating system. You can also enter the exact size in GBs in the field next to the slider.Īs soon as you apply the changes, the VirtualBox disk will be resized according to the settings. Use the slider next to “ Size” to resize or expand the disk.Select the virtual disk (VDI) you want to expand.Click “ File” and select the “ Virtual Media Manager” option.You can extend VirtualBox disk size from the Virtual Media Manager tool. If it is in a saved state, resume the VM and shut down the OS. Important Note: Before following the steps, make sure the virtual machine is turned off.

In this quick guide, let me show you the steps to extend the VirtualBox disk size. All you have to do is use the Resize option in the VDI properties. After installing the guest OS, if the initial disk space is not enough, you can resize the virtual disk in VirtualBox.
