转载于:https://www.cnblogs.com/kylinming/articles/3481934.html
VM clone within Virtual Box
原文链接:http://www.cnblogs.com/kylinming/articles/3481934.html
Generally, on Windows, we use CTRL+C and CTRL+V to make a copy of an existing file.
However, if you do these with .vdi files, you will not able to add replications to Virtual Media Manager.
Actually, VMbox provides us with easy-to-use tools dealing with this case.
Open the root folder of VIRTUALBOX, you will find a file named VBoxManage.exe, which can be used to clone or modify .vdi files.
Since this tool only works under command line, we need to open a command prompt.
Press down SHIFT and then right-click at any space, and then click "open command window here".
After that, type the following command:
VBoxManage clonevdi old.vdi new.vdi
If you wanna see more detailed info about the file, type commands as follows:
VBoxManage showvdiinfo new.vdi
Also, you can compact the .vdi file:
VBoxManage modifyvdi new.vdi compact
Wish this helps.