by mpack » 10. Nov 2009, 11:50
By "import the drive", I assume you mean registering the VDI in "File | Virtual Media Manager".
As a wild guess I'd say that the "invalid argument" is the drive UUID. If you chose the keepuuid option in CloneVDI then that's ok, but VBox will not allow you to register two virtual disks with the same UUID, so you need to unregister the VHD first. If you want to keep both then they need to have different UUIDs.
When I said "not guaranteed to work" I had in mind something rather more serious than getting the VDI registered (it's a valid VDI, so VBox should accept it). The bigger problem is that we are assuming there will be some discrepency between the disk image and the header, hence it's possible there will be lost files, lost data etc. Do a disk check once you get it to mount. Plus of course CloneVDI knows nothing about snapshots.
You can't blame the VBox team for the poor design of VHD, because they did not design it. They merely added support for it for the benefit of people like you who choose to use it. The issue with lazy updates of the footer was an understandable oversight, but all it did was exaggerate a problem which is inherent in VHD.