[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Materializing a Qcow image (qcow2raw) in Xen 3.2.1


  • To: Stefan de Konink <skinkie@xxxxxxxxx>
  • From: Massimo Mongardini <massimo.mongardini@xxxxxxxxx>
  • Date: Sat, 26 Jul 2008 01:16:58 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 25 Jul 2008 17:17:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=EXx2GDfoJYXfYgkdpbsifKOjo1/jcUNZdoKH5tzIef4Vh+0RzdZWW6kUrU73x+Iffy xQJ8OPi4fmZGxueTESpQZe8lOre9aYTSGHkZdTgkMy0IAtN599tufYaZTqPzgaSl0oIP dEMZ6s0EkhEefQtKQl2ax+0oZOO/MIhMGLipc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.