If you create a virtual drive for your virtual box, say an Ubuntu Linux box, and you suddenly are running low on disk space and you smartly created a dynamically expanding variant then this is how to expand the virtual size without affecting the physical size and having to copy it.
- Open a command window.
- Go to the VirtualBox directory, usually C:\Program Files\Oracle\VirtualBox.
- Type VBoxManage modify hd <VDI filename and path> --resize <size in megabytes>.
Voila! You now have more virtual disk space!
Note: the size in megabytes is what you want the final size to be. For example, if you currently have an 8.00GB virtual drive and use --resize 8192 you will still have an 8.00GB virtual drive. The size is not how much you want to increase it but rather what the final size will be. So if you want to make an 8.00GB virtual drive 16GB then the switch would be --resize 16384.
Enjoy!
~Becca
0 comments:
Post a Comment