[xen-tools] Re: CentOS 4 domUs - what kernel?

Steve Kemp steve at steve.org.uk
Thu Nov 15 00:40:06 CET 2007


On Wed Nov 14, 2007 at 17:53:18 -0500, Jeff Forcier wrote:

> Am I missing something obvious? I figured I'd ask here first since
> xen-tools is technically supported w/ CentOS, and thus I assume
> someone out there has used it to successfully set up a CentOS domU on
> Debian-based dom0.



  I'm afraid I'm not 100% able to answer your question, partly
 because I just don't know, and partly because you don't give
 too many details of how things fail.

  What I will say though is that the mention of 'rpmstrap' sets
 of warning bells for me.

  rpmstrap is no longer maintained by its author, because of its
 extreme brittleness.

  Because of that I actually removed support for using it from
 xen-tools a few releases ago.  Instead the prefered tool to use
 is a tool called rinse.  This serves the same purpose and apart
 from being a little slow and inefficient it works in a reliable  
 fashion.

  (Consider it an RPM-distro version of debootstrap.  It installs
 a minimal system with working RPM + Yum into a directory).

  Upon my Debian sid system, with rinse & the latest xen-tools
 installed I ran this:

    xen-create-image  --hostname=foo.bar.baz --ip=192.168.1.1.103 \
       --dist=centos-4 --install-method=rinse --arch=amd64 

  That completed just fine and the resulting Xen guest booted
 first time using the Xen kernel from my dom0.  (Compiled from
 source using xen-unstable.hg.)

  I suspect that a regular Debian xen kernel should work just as 
 well, although I've not been able to test it.  Gimme a couple of
 days and I'll try it out though.

Steve
-- 
#  Kink-Friendly Dating
http://ctrl-alt-date.com/





More information about the xen-tools-discuss mailing list