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

Re: [Xen-users] how to convert QEMU images to be used as Xen DomU's


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Thu, 20 May 2010 16:49:59 +0530
  • Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 20 May 2010 04:21:36 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iFH9Bs3hZhsIOfQy9dS/nC4hnt5MT/s4z+5f5Behw1h4mnsSktybADMeDUD5I8Ee0K rAvnkYRBRmLWm97MApuvg8vpQzUNSwq+ABlXUKbfGv2Gt4PF8i0aXJbBuyCLbcfCZAd+ ELedWt7cJmOYewlzW6jQWngaU77ZRl/F6dCys=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> what qemu image format did you use?
I am not clear with the above Question how do I find out that.I used an LVM
the command is

qemu-system-x86_64 -hda /dev/virtualization/centos5-disk -hdb
/dev/virtualization/centos5-swap -boot d -cdrom /root/centos1.iso -m
1024 -net nic -net tap

So it is an LVM image if I understood your question correctly.

> Try using qemu-img to convert the disk to raw format (if it's not
> already in that format) and use the resulting file as disk image for
> HVM domU.
Ya I saw some thing similar on net and mailing lists too.
> Have you created a HVM domU before?
No.Never this is first time I am doing all this.
>If not, virt-manager can
> help you create a suitable config using either existing or new disk
> image.
Ok does it have GUI to run over SSH,
I am doing all this on a server which does not have GUI at all and
accessing all via SSH.More over Dom0 of the server is Debian
Lenny.Have never used before so skittish about it.

I have uploaded a snapshot which showed me grub in bash booting CentOS
you can check it here.
http://www.flickr.com/photos/48996087@N07/4623521997/

> An example HVM domU config that I use is http://pastebin.com/fb6fe631,
> adjust vif and disk line according to your setup.
Ok thanks for that.
I saw line number 49 you have mentioned to edit grub here is it
referring to grub on Dom0 or DomU which I am installing.

Thanks

-- 
Tapas

_______________________________________________
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®.