I am using VirtualBox 2.2.0 running on a Windows XP Pro - SP3.
I've installed Windows 2003 - SP2 on a VDI and all works fine. However due to the all the software I've installed and all the MS updates I've got a big VDI file - 15 GB. I am certainly sure the files in the VDI are not using those 15 GB, I can actually see a lot of empty space when I run JKDegrag.
I've been searching around the documentation, forums and Google for a solution to eliminate the non used space of the VDI file and saw ways how to do it... but some of them are outdated (VDItools, VBoxManage with the compact command... or was compress? ...) finally found that the trick could be done with VBoxManage clonehd... after defragmenting with JKDefrag and sdelete -c C:... but after doing that process my new VDI file is almost the same size as the old one...
Does anybody how to do this?
Thanks in advance for your answers.
Angel
Shrinking VDI file
Re: Shrinking VDI file
If defragging and all its ways doesn't shrink then there is no other way to get it smaller, VBox increases dynamic disks by a certain factor, you might be using 1% inside the next increased step size. Ea. if the increase factor is 5gb and you have a 10gb dynamic VDI set to 20gb max, using 10gb+1byte will end up in a 15gb VDI.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-