|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Materializing a Qcow image (qcow2raw) in Xen 3.2.1
Stefan de Konink wrote:
On Sat, 26 Jul 2008, Massimo Mongardini wrote:
have you tried with
qemu-img convert -f qcow filename.qcow -O raw filename.img
Yes, but it seems that the incompatibility between Xen and Qcow results in
broken output. At least, I cannot mount that output, using mount -o loop
etc.
Stefan
Stefan,
I am not sure that I am following you...
you can't loopmount a qcow image at least not directly... plus it will
be probably partitioned inside, so in order to mount it you will have
to convert it to raw, losetup to a loop device, look at the partition
table, and losetup again on the offset of the partition you want. (look
at my other post [Xen-users] Creating a Bootable Image file) for this.
What is your goal?
M.
--
Massimo Mongardini
~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~
echo 'Jg!J!hjwf!zpv!bo!bqqmf!boe!zpv!hjwf!nf!bo!bqqmf-!uifo!xf!xjmm!ibwf!bo!bqqmf!fbdi/!Cvu!jg!J!hjwf!zpv!bo!jefb!boe!zpv!hjwf!nf!bo!jefb-!xf!xjmm!ibwf!uxp!jefbt!fbdi!' | perl -pe 's/(.)/chr(ord($1)-1)/ge'
~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~
http://massimo.mongardini.it
http://www.getthefacts.it
http://www.mongardini.it/pizza-howto
~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~-.-~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|