Trying to resize disk for windows in VirtualBox? We can help you do it.
In Virtualbox, resizing the disk is done from the command prompt.
At Bobcares, we often receive requests regarding VirtualBox as a part of our Server Management Services.
Today, let’s see how our Support Engineers resize disk windows in VirtualBox
VirtualBox and Virtual disk
VirtualBox is a free, open-source application for creating and managing virtual machines.
On creating a virtual machine we specify the virtual disk space for it.
The VirtualBox Disk Image stores data in files with the extension .vdi.
Thus, we need to resize the VDI disk image file to increase or decrease the size of the disk.
How to resize the disk in VirtualBox?
Recently one of our customers contacted us to resize the disk in VirtualBox. Before proceeding, it is advisable to take backup of the Virtual machine. Thus, we take a snapshot of the VM. Now, let’s discuss how our Support Engineers resize the disk in VirtualBox.
First, we open the VirtualBox. Then we shut down the virtual machine. We make sure the Virtual Machine is in Powered Off state.
After that, we open the command prompt from the Start menu as administrator.
Then we move to the VirtualBox installation directory
The default location is C:\Program Files\Oracle\VirtualBox. Thus, we use the command
cd “C:\Program Files\Oracle\VirtualBox”
Then we find the location of the virtual disk location. The file will be in the extension .vdi.
After finding the location we use the VBoxManage to resize the virtual machine.
VBoxManage modifyhd </path/to/your/disk.vdi> --resize <new size in MB>
For example, to the virtual, we use the command
VBoxManage modifyhd "C:\Users\username\VirtualBox VMs\Windows\Windows.vdi" --resize 12000
After making the changes we start the virtual machine.
Then we log into the Virtual machine. Then we open Disk Management.
Now additional added space will be shown as Unallocated.
We right-click the drive we want to expand. We select the Extend Volume.
Then we click Next then we add all the available space to the drive.
We finally click on Finish.
[Need assistance with VirtualBox – We can help you do it]
Conclusion
In short, we’ve discussed VirtualBox and Virtual disk. Also, we’ve discussed how our Support Engineers resize the disk in VirtualBox.
0 Comments