[xen-tools] Re: installing centos5
Steve Kemp
steve at steve.org.uk
Mon Aug 6 23:13:19 CEST 2007
On Mon Aug 06, 2007 at 22:53:58 +0200, Anton Melser wrote:
> Is there any sort of instructions for using xen-tools to install
> centos-5?
Not really, but it should be simple enough.
> I have been trying for a while with no success. I am running
> this on an ubuntu feisty ("server"), with the apt repo enabled for
> rinse, etc, but installed xentools from source as it is a couple of
> versions better. I have successfully installed a debian based system
> (no surprises there!).
Great.
> I suppose my main problem is that I can't quite understand what the
> kernel and initrd parameters are in the xen-tools.conf file... It
> looks suspiciously like it is installing an ubuntu kernel in my
> centos... which could well explain the errors!
No. That should be a harmless issue.
The process of installing Centos N is pretty simple, but it
does rely upon having rinse working correctly. Since you say
you have that enabled you should first test it. Run:
rinse --distribution=centos-5 --arch=amd64 --directory=/tmp/f
Use --arch=i386, or --arch=amd64 as appropriate.
Once that has completed you should test it is installed by
running:
chroot /tmp/f
If that gives no errors and running 'rpm -qa' shows packages
then you should be fine. If the process of running rinse, or
running chroot(), fails then you'll not get much further
so do let us know.
If you've got this far without errors then you should be
fine for xen-create-image. Just run:
xen-create-image --hostname=blah --ip=1.2.3.4 [normal arguments]
Add in:
--arch=i386 --install-method=rinse --distribution=centos-5
That should work perfectly. If it doesn't then there is a bug.
I would *strongly* recommend using the latest version of the
code from the upstream source if you're seeing errors. Some things
have been fixed and not yet made it to the Debian / Ubuntu
repositories.
If you do see failures I'd, politely, suggest mailing *me* the
error log is more useful than giving it to ever member of the
list .. At the very least gzip compression is your friend!
Steve
--
More information about the xen-tools-discuss
mailing list