Increase hard drive size in VirtualBox

Running out of hard drive space on your virtual OS?  Here’s how you can increase the size.

(VirtualBox Version 4+)

From the command line, you will need to navigate to the VirtualBox folder under program files. and type the following-

“VBoxManage.exe modifyhd “your.vdi” –resize 25000(new size in mb)       Note: your.vdi may be Windows.vdi substitute the word your with the name of your vdi.

Example :-

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd “C:\VM\Windows 7\Windows 7 .vdi”  – -resize 25000

You should see a progress line-

0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%

This will increase your hard drive by the size that you specify.

About these ads

5 comments on “Increase hard drive size in VirtualBox

  1. Claude says:

    Thx for your great tutorial. There is only one little typo (at least for Windows):

    -resize should be –resize

  2. heenett says:

    Thanks for the great instructions, they helped me alot! =)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s