There are 2 possible ways I know of to increase the size of a virtual drive when using VirtualBox:
- VBoxManage
- Using Windows Explorer go to C:Users<your name>VirtualBox VMs<VM Name>
- Make a backup of your existing VirtualBox disk file ( <disk name>.vdi )
- Open a command prompt as administrator
- cd to C:Program FilesOracleVirtualBox
- vboxmanage modifyhd “C:Users<your name>VirtualBox VMs<VM Name><disk name>.vdi” –resize 20000
- This will resize it to 20gb
- CloneVDI Tool
- Download CloneVDI from this post.
- Unzip it
- Run CloneVDI.exe as administrator
- Enter the source and destination
- Check:
- Increase virtual drive size to
- Enter the new size you would like
- Increase partition size
- Click Proceed button
- After the clone completes
- Close CloneVDI Tool
- Rename your old .vdi file to <orig filename>.vdi_old
- Rename the cloned .vdi from Clone of <filename>.vdi to <filename>.vdi
