To add, I've this patched vhd-util that has convert. For some reason my apache login and the web dir including the vhd-util file is not accessible: people.apache.org/~bhaisaab/vhd-util-patched
This is the google cache: http://webcache.googleusercontent.com/search?q=cache:vZPgSRlk9LwJ:people.apache.org/~bhaisaab/vhd-util-patched/+&cd=1&hl=en&ct=clnk&gl=in Here is a link from my blog which can help you while working with vhds for xen: http://blogs.citrix.com/2012/10/04/convert-a-raw-image-to-xenserver-vhd/ Cheers. On Thu, Apr 3, 2014 at 10:13 PM, Rohit Yadav <bhais...@apache.org> wrote: > Hi Lucian, > > Yes you can and we've been hacking like that with systemvms [1]. Here's > how you may do it using: > > - Packer: http://www.packer.io > - Hack you own using vboxmanage, qemu, vhd-utils etc. and work on raw hdd > image, checkout the code marked here: > https://github.com/apache/cloudstack/blob/master/tools/appliance/build.sh#L80-L99 > > [1] > https://github.com/apache/cloudstack/blob/master/tools/appliance/build.sh > > Hope this helps. > > > On Thu, Apr 3, 2014 at 3:24 AM, Nux! <n...@li.nux.ro> wrote: > >> Hello, >> >> I have used qemu-img to successfully convert a qcow2 image to vpc (vhd, >> these names give me head aches). I do have a problem with these converted >> images, XenServer complains that they were not created by itself and >> refuses to resize them for example. >> Can anyone advise if there is another way of converting qcow2 to vhd >> without having Xenserver complaining? Vhd-util binary is missing the >> "convert" functionality. >> >> Lucian >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> > >