When I installed Windows XP on a VirtualBox machine, I made the hard drive only 10 GB since and assumed it would expand in size (as do hard drives in VMWare as far as I can remember, isn't this true?).
In any case, I'm trying to install Visual Studio 2010 beta on this Virtual Box XP image and it has run out of disk space.
Googling for an answer, I'm finding complicated tutorials like this which show you how to increase the size of a VirtualBox hard drive "in just a couple hours".
But I can't imagine it would be that hard to either:
How can I easily add storage space to a VirtualBox machine with XP installed?
Method 1: Using the Virtual Media Manager in VirtualBox You can find it at the file tab of VirtualBox home page. Select one of your virtual machines in the list, click on Properties from the top and then use the “Size” slider or type the size value that you need. Once done click “Apply”.
Use a windows command prompt to execute the “subst” command, assigning a drive letter to an existing folder. *This command creates a virtual z drive (first parameter) that points to the contents of the folder specified by the second parameter.
I found this nugget at the link following. It worked perfect for me and only took 5 seconds.
As of VirtualBox 4 they added support for expansion.
VBoxManage modifyhd filename.vdi --resize 46080
That will resize a virtual disk image to 45GB.
https://superuser.com/questions/172651/increasing-disk-space-on-virtualbox
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With