(*) [edit: VirtualBox v4.1 finally added GUI support for cloning]
Attached to this message is a zip file containing the software tool that I wrote, which I call "CloneVDI" (currently at version 2.50). Features as of this release include:
- Reads VDI,VHD,VHDX,VMDK,Parallels HDD,RAW files and physical drives, writes VDI.
- A simple GUI Interface.
- A CLI interface too (for people who like that kind of thing!)
- Ability to compact (discard unused blocks from) the clone, with no need to run sdelete/zerofree first.
- Ability to enlarge the maximum size of a virtual disk, optionally enlarging the main partition too.
- Merge snapshot VDI chain into a single VDI (VHD and VMDK snapshot chains supported too).
- User choice to either keep the old UUID or generate a new one for the clone.
- Some useful diagnostics about the source VDI, such as the partition map and the internal fileystem.
- Better feedback while cloning: a progress bar and an estimated time to completion.
- It seems to be significantly faster than "VBoxManage clonehd".
Note that this tool is not simply a GUI front end for VBoxManage. Instead it uses my own code to read and write VDI files (and other formats), and therefore works in a rather different way, with different features and capabilities.
Enjoy. Feel free to ask any questions here, but read the release notes first.
[ Edit: 10th Oct 2015. CloneVDI attachment updated to v2.50. Bugfixes plus 1MB header alignment plus VHDX support. ]
[ Edit: 12th Sep 2012. CloneVDI attachment updated to v2.10. Bugfixes plus support for VMDK and VHD snapshots. ]
[ Edit: 20th June 2011. CloneVDI attachment updated to v2.05. Bugfix release for broken VHD support. ]
[ Edit: 16th May 2011. CloneVDI attachment updated to v2.04. Fix to NTFS partition enlargement. Simplified snapshot cloning. ]
[ Edit: 14th Oct. CloneVDI attachment updated to v2.03. Minor tweak to recognize VirtualBox 3.2.10 (Oracle tagged) VDI files. ]
[ Edit: 1st Mar. CloneVDI attachment updated to v2.02. Fixed another bug in "enlarge partition" feature, completed French language support. ]
[ Edit: 8th Feb. CloneVDI attachment updated to v2.01. Fixed bug in "enlarge partition" feature, added French language support. ]
[ Edit: 31st Jan 2010. CloneVDI attachment updated to v2.00. This version includes several new features and some tidy-ups ]
[ Edit: 10th Dec. CloneVDI attachment updated to v1.43. This version fixes a problem when enlarging drives smaller than 8GB ]
[ Edit: 12th Nov. CloneVDI attachment updated to v1.42. This version adds support for Dutch and German languages ]
[ Edit: 31st Oct. CloneVDI attachment updated to v1.41. This version has several internal tidy-ups, and adds the CLI feature. ]
[ Edit: 14th Oct. CloneVDI attachment updated to v1.40. This version adds RAW read support and a "sector viewer" feature. ]
[ Edit: 07th Oct. CloneVDI attachment updated to v1.30. This version adds VMDK read support. ]
[ Edit: 21st Sep. CloneVDI attachment updated to v1.22. The previous version STILL couldn't handle VHDs bigger than 4GB. ]
[ Edit: 21st Sep. CloneVDI attachment updated to v1.21. The previous version didn't like VHDs bigger than 4GB. ]
[ Edit: 20th Sep. CloneVDI attachment updated to v1.20. This version adds VHD read support. ]
[15th Sep 2009. First public release (CloneVDI v1.10). ]
v2.10 source code can now be found attached to the next message.