Guiding Ideology 1. virtual Machine: cleans up the system, detaches and deletes System junk files. 2. virtual Machine: Move the disk data to the "front" and write the remaining disk space to "zero. physical HOST: Clears "zero" bytes and uses VBoxManage modifyhd to compress the VDI Disk Image File
Www.2cto.com Windows Virtual Machine 1. virtual Machine: delete System junk files and run the disk sorting program... 2. virtual Machine: Use SDelete to write "0", http://up.2cto.com/2013/0122/20130122102456864.zip, and execute "sdelete-c" under the command line "... shutdown... 3. physical HOST: Run "VBoxManage modifyhd/the-path-of-VDI.vdi -- compact"
Linux Virtual Machine 1. virtual Machine: cleanup and uninstallation of System junk files 2. virtual Machine: write "zero", as if "dd if =/dev/zero of =/fillerup. the zero method is not very effective. After several hardships, I found a very old "Ultimate Way" on the official website )! 2.1 start the virtual machine with a LiveCD (ubuntu) and use the System-Administration-GParted partition software to minimize the virtual hard disk space...
Create a new partition on www.2cto.com 2.2 in the space just vacated, and run "dd if =/dev/zero of =/dev /{?} ", Then delete this partition 2.3 back to the primary partition, restore all its space, application... shutdown... 3. Physical HOST: Execute" VBoxManage modifyhd/the-path-of-VDI.vdi -- compact"
Www.2cto.com test environment physical HOST: Linux 2.6.28, Ubuntu 9.04 64-bit, VirtualBox 2.2.4 Virtual Host: Debian 5.0.0 64-bit, windows 2003 32-bit sp2 uses VMware server1.0.* for Linux for a long time, free of charge, easy to use! After Server 2.0 is released, 1.0 enters maintenance. Its latest 1.0.9 can be installed on a bit-64-bit system, and it cannot run a bit-64 virtual machine well; server 2.0 supports bit-64 Host/Guest,... the size is too large, but it is slow to run on my computer! ". VirtualBox 2.2.4 is good. It is free, open-source, and runs fast. It has comprehensive functions. Recommended:-> -- EOF --