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

Re: [Xen-users] Howto install domU CentOS 5 directly on partition


  • To: kanour-xen <xen@xxxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Sat, 28 Jul 2007 19:25:41 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 28 Jul 2007 11:23:06 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YGuvOaiRz2sJIm67fLIkoCa/yP+ysC0fxIHGH6AN98uxSbo/H2Nbwj7a3aFo9HUUUyRz8l5cGbXfAr8tEP0IYKStbkGroitegcWnl/fuLd34OZdCqhaXjOLnpW1K5XoOz0t5CHg3SugxUHAlsNf3AX+QcNtblu04xbJvzh3YM3E=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

kanour-xen wrote:
Hi.

I am new to CentOS (Debian user) and I am looking for way how to install CentOS 5 on domU in the way that I have it directly on dom0 LVM partition. If I install it with virtual-manager then the installation program takes that partition as a disk and then creates new partitions on it. I don't want it that way because I cannot then mount it from dom0.

Is there some way how to install it directly on partition as for example in Debian with debootstrap?
Only by manually building a tarball of a working OS image, and laying it onto your partitions directly. Take a look at www.jailtime.org for samples. Note that pygrub, and grub itself, *will not work* if you do this. Grub needs to see a disk, not just partitions, for various configuration reasons. This may be soluble in the long term, but I lacked time to play iwth it.

Why not use partitions on partitions, and use "kpartx" to make them accessible from the Dom0?

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