did you try to change the image file type in the definition?

On Sat, Nov 17, 2012 at 5:06 AM, Qiubo Su (David Su) <qiub...@gmail.com>wrote:

> dear opennebula community,
>
> the 40GB is the virtual size of the image.vdi image, while the 1.3GB is
> the acutal size of the image.vdi image.
>
> just FYI.
>
> thanks,
> david su
>
>
> On Sat, Nov 17, 2012 at 10:43 PM, Qiubo Su (David Su) 
> <qiub...@gmail.com>wrote:
>
>> dear opennebula community,
>>
>> i run "VBoxManage clonehd --format RAW image.vdi image.img" to convert
>> the virtualbox .vdi vm instance to raw format, and with virt-manager to
>> create new vm with the raw format, it works fine, i.e. can start the new vm
>> instance successfully and the networking access is the same as before.
>>
>> but after run "qemu-img convert -f raw image.img -O qcow2 image.qcow" to
>> convert the raw format to qcow2 format, and with virt-manager to create new
>> vm with the qcow2 format, it doesn't work, i.e. get "no bootable device"
>> error when start the new vm with qcow2 format, no need to say the
>> networking access.
>>
>> the size of the ram format disk is about 40GB, while the size of the
>> qcow2 format disk is about 1.3GB (similar as that of the original image.vdi
>> size), nearly 30 times smaller than the raw format.
>>
>> if not convert the raw format to qcow2 format, then the disk size is too
>> large, waste of disk space.
>>
>> there are ubuntu 12.04, opennebula 3.6.0, and kvm, qemu, libvirt etc
>> installed.
>>
>> it is much appreciated if you can help with this.
>>
>> thanks,
>> david su
>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to