Helge Hielscher schrieb:
> Is there a tool that can compact unregistered images?

Unfortunately not. You're working with vditool, and the DD function 
always creates a fixed image. So you wouldn't be able to compact it. And 
no, there is no tool to convert a fixed into a sparse image or vice 
versa. It wouldn't be hard to do (just like editing the vditool source), 
but it's just not implemented yet.

In principle compacting unregistered images is possible with "vditool 
SHRINK", but obviously this doesn't reduce the size for a fixed image. 
If you know what you're doing you can use a binary file editor and 
change the 2 at offset 0x4c to 1. After that it's a sparse image and you 
can compact it.

> Is there a way to bypass the large vdi file in the conversion process, e.g
> using sparse-file, convert and compact in one step?

Right now this is not possible. And in one of the next versions the 
problem will hopefully become obsolete, as we're intending to have full 
vmdk support. So qemu-img should be able to convert VHD images directly 
to vmdk.

-- 
Klaus Espenlaub     InnoTek Systemberatung GmbH, http://www.innotek.de

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to