Skip to main content

Enlarge a Virtual Disk in VirtualBox - Knowledgebase / General - Critical Technology Solutions - Helpdesk

Enlarge a Virtual Disk in VirtualBox

Authors list

To enlarge a virtual disk in VirtualBox, you’ll need to use the VBoxManage command from a Command Prompt window. First, shut down the virtual machine – ensure its state is set to Powered Off, not Saved.

 

From a command prompt:  cd “C:\Program Files\Oracle\VirtualBox”

 

The following command will operate on the VirtualBox virtual disk located at “C:\Users\Test\Virtual HDDs\Win7Box\Windows 7.vdi”. It will resize the virtual disk to 81920 MB (80 GB).

VBoxManage modifyhd “C:\Users\Test\Virtual HDDs\Win7Box\Windows 7.vdi” --resize 81920

Please note: There must be a space before the --resize

image

Helpful Unhelpful

8 of 14 people found this page helpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?