0

Increasing .vdi size in Virtualbox 7

Yesterday, i was facing a problem, my windows 10 running on virtualbox has 1% remaining storage and i don’t know how to increase it at that time.

After researched on the internet for some hours, finally i got the solution (increase .vdi size). Here i will share it to you.

  • Open your virtualbox (i’m using virtualbox 7 here)
  • To upsize the .vdi, go to File > Tools > Virtual Media Manager
increasing .vdi size
  • On Hard disks tab, choose your .vdi > Attributes tab, you can resize. For example, i’m gonna change from 32.91 GB to 33.91 GB
  • Click Apply
increasing .vdi size
  • After resized, the storage/partition on your windows will not be increased automatically. You have to do some steps in your windows manually.
  • Run your windows on virtualbox.
  • Open Computer Management > Storage > Disk Management. You can see 1 GB unallocated, that is got from 33,91 GB – 32,91 GB (that you previously configured in Virtual Media Manager).
  • Now click on specific partition you want to extend, for example i want to extend partition C:, right click C: > Extend Volume > Next, define your amount of space in MB > click Next > Finish
increasing .vdi size
  • After it, your C partition size has increased successfully (before: 32.35 GB, after 33.86 GB)

Problem extend volume cannot be clicked

extend volume cannot be clicked, extend volume is disabled

If extend volume button cannot be clicked (disable), you must run some additional steps, is to delete recovery partition.

  • Open CMD on your windows (running on virtualbox) as administrator
  • Run:
reagentc /disable
diskpart
list disk
select disk <disk number>
list partition
select partition <partition number>
delete partition override
list partition

Once you delete recovery partition, open Computer Management again > Storage > Disk Management. The extend volume should be clickable now.

Do the previous steps to increase your partition size (C:).

Ambar Hasbiyatmoko

Hello, I'm web developer. Passionate about programming, web server, and networking.

Leave a Reply

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

Time limit is exhausted. Please reload the CAPTCHA.