Resize a VirtualBox VDI Image in Windows XP/7

I had a VDI image set to 8GB that was nearly full and re-sized it to 16 GB with the following command:

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" modifyhd  "C:\Documents and Settings\Jean-Luc\VirtualBox VMs\Debian 6.0.3\Debian 6.0.3.vdi" --resize 16384

16384 is the new virtual harddisk size in MB (16 GB).

This will increase the size of the Virtual disk. However, it won’t increase the size of the partition in your virtual disk.

You have then 2 solutions:

  • Create a new partition with the extra free space
  • Use Gparted Live ISO image to increase the size of your current partition.
Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

5 Replies to “Resize a VirtualBox VDI Image in Windows XP/7”

  1. If you try to resize a fixed sized disk (instead of a dynamically sized disk) VBoxManage.exe will return the following error:

    Progress state: VBOX_E_NOT_SUPPORTED
    VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!

    The solution to this issue is to use CloneVDI GUI Tool (https://forums.virtualbox.org/viewtopic.php?f=6&t=22422) which will convert your disk image to a dynamically sized one and resized it to the desired size.

  2. i resized the virtual image by:
    VBoxManage modifyhd win7.vdi –resize 20000
    and virtual box image manger shows 19 GB which is okay, but gparted shows still 10 GB 🙁

    also after trying resizing again i got the following error:
    0%…
    Progress state: VBOX_E_NOT_SUPPORTED
    VBoxManage: error: Resize hard disk operation for this format is not implemented yet!

  3. I have the same problem ! To small VDI volume created ! But all solution are crap ! I have to create new VDI and do all work again in order to solve the problem and no problems after ! Do not asign to small volume when created, one would have enourmous hedaik ! I know its a lot work involved but vBox misses ubder settings/storage misses to ad a function to resize VDI ! Virtual tech as developed is far from being user friendly as lack of basic funcion and/or basic functions are wery hard to deploy ! Thus so many people are using it !!!

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products