VirtualBox – extend a windows virtual disk

· Virtual Box, Windows
Authors

Basically when extending a VM disk there are 2 logical steps:

  1. Extend the VM file (in our case the VDI file)
  2. Extend the disk from withing the Guest OS

As of VirtualBox 4.0 you can use a simple command line – VBoxManage modifyhd

Ex: Resizing an XP VM to 20 GB:

C:\Users\myuser\VirtualBox VMs\XP>”C:\Program Files\Oracle\VirtualBox\VBoxManage” m
odifyhd XP.vdi –resize 20480

On success you should get something like that:

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

Now from the guest OS run diskmgmt.msc

Select the disk you want to extend and extend it!

Note: on windows XP it’s not possible to extend your system volume without a 3rd party

———-

http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi

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

%d bloggers like this: