VirtualBox and Virtual PC - reduce clients
In the known virtualization solutions for home users can create disks with pre-defined limit. Up to that limit to grow the disk files
(VirtualBox vdi = Windows that files are not deleted immediately final, but "forget" only the index is to be further stored therein the data.
Will you also (compress or compact) shrink the virtual disk, first the following steps must be taken. I begin with the first mandatory point (2)
Context: For the virtual PC user data stored less than the hard disk file on the host has size. This is eg. by deletions / cleanup achieved at the virtual PC.
first (Optional) defragment hard disk (in the virtual PC, not the host)
second Files with zeros override.
For simplicity, and because I only for Windows operating system to post, I give only the method of the tool "SDelete" from Sysinternals (the tools are excellent and easy) to
In the virtual PC, the program simply SDelete.exe with the following parameters call (examples):
SDelete cc:
order the program will overwrite the free space with zeros (== permanent erasure by overwriting) (parameter "c" is for such cases and especially just for virtualization) on the C: drive
In VirtualPC can be used for the addition (Precompactor)
third Disk file shrink
This is done on the host. . (Turn off virtual computer course before, -))
VirtualBox / VDI files VBoxManage By Tool:
VBoxManage modifyvdi C: \\ winxp.vdi compact
with only "winxp.vdi" adjusted by the full path of the virtual disk to be. .
Virtual PC / VHD Files
This is on Windows 7 as the host the opportunity to diskpart with the tool to organize:
enter in the command line:
diskpart
select vdisk file = c: \\ test.vhd
compact vdisk (replaced here by the full path of the virtual hard disk)
One can also do it via the GUI of Virtual PC.
0 comments:
Post a Comment