[xen-tools] Re: Using Xen-Tools to install a Debian domU on a Centos5 dom0

Steve Kemp steve at steve.org.uk
Mon Jun 18 15:39:30 CEST 2007


On Mon Jun 18, 2007 at 14:07:51 +0100, Henning Sprang wrote:

> >I have tried to install a Debian domU on a Centos5 dom0 by using alien
> >to convert xen-tools and its dependency .deb packages for Etch and
> >installing them with rpm. Is this a good approach?
> 
> Alien is always a bit of a "dirty" approach - it works for some
> packages, and not for others.

  Agreed.

  I'd suggest installing xen-tools via the downloaded tarball from
 xen-tools.org.  Then installing Text::Template either from a package
 for CentOS if available or if not directly from the source tarball
 from http://search.cpan.org/

  The only part I'm unsure about is installing debootstrap on non-Debian
 systems.

> Or help building proper rpm's (I don't know how this is done, but if
> you use centOs a lot, and want xen-tools, this is the way to go -
> knowing to package for your dist of choice is a good thing anyway.
> And Steve will probably be glad to put necessary patches in to build rpm's...

  Yes, if somebody gives me the .spec file to build a xen-tools RPM
 package I will happily accept it, and offer an RPM for download.
 (If there is documentation on hosting a YUM repository that I can
 find I'd be prepared to host one too.)

> And then, debootstrap needs the argument --arch - AFAIk(as debootstrap
> detects this with dpkg, which you don't have on centos) I know I told
> Steve once to build something into xen-tools to take thius into
> account, but I don't remember if that really happened - 

  There is support for it now, if you specify in the xen-tools.conf
 file:

   arch=[amd64|i386]

  that should work properly.  Similarly --arch=i386, --arch=amd64,
 should work on the command line.

Steve
-- 
# Commercial Debian GNU/Linux Support
http://www.linux-administration.org/






More information about the xen-tools-discuss mailing list