Saturday, November 7, 2015

Resize a VirtualBox guest Linux VDI Disk under Windows Host

  • Shut down VirtualBox again.
  • Make a copy of the VDI file – just in case (“MyLinux.vdi” -> “MyLinuxCopy.vdi“)
  • Go into the Windows command prompt (Start->type “cmd” into the box)
  • cd to the location of the VDI file that you wish to resize, e.g., “D:\MyLinux.vdi
  • At the Windows command prompt, type:
C:\>VBoxmanage modifyhd MyLinux.vdi --resize 100000
this will re-size the drive to 100 GB. Pick a value that suits you. Note, your vdi file will not change in size at this point. The output should look like:
C:\>VBoxmanage modifyhd MyLinux.vdi --resize 100000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
C:\>


No comments:

Post a Comment

There was an error in this gadget

Popular Posts

Designed By Seo Blogger Templates