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

Re: RHEL VM on Xen



Hello,
I know of couse that centos is based on RHEL.

Well , if we look centos instructions at
http://mark.foster.cc/wiki/index.php/Centos-4_on_Xen
we will find out that the first part can be  the same with no problems.

Afterward, comes this section:

"You will need the latest Centos 4.2 rpmstrap file
http://trac.samhart.net/trac/ticket/17. The auctual file is locate
here (http://trac.samhart.net/trac/attachment/ticket/17/centos42?format=raw).
Download the file.
wget http://trac.samhart.net/trac/attachment/ticket/17/centos42?format=raw
cp centos42?format=raw /usr/lib/rpmstrap/scripts/centos42
Now proceed with the rpmstrap process.
 cd /
 mkdir /tmp/centos42-rpms
 rpmstrap --verbose --download-only centos42 /tmp/centos42-rpms
 rpm --root /mnt/disk --import
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
 rpmstrap --verbose --local-source /tmp/centos42-rpms centos4 /mnt/disk
 chroot /mnt/disk /bin/bash
....

so should I use now rpmstrap  methods and try to understand what
exactly is happening and adjust it ? start learning what is the file I
downloaded (attachment/ticket/17/centos42?format=raw ) exactly ?
or start with pyrpm ? the reason is that there are people like me who
don't know much about it; and Xen is not some esoteric project which
nobody heard of.
And also RHEL is not some esoteric project.
And I believe that somebody (more than one) had tried this process before .
So if anybody can post here exactly what he did (or he had documented it
somewhere) I think it may help many
Isn't it so ?
Regards,
john




On 4/5/06, Dag Wieers <dag wieers com> wrote:
> On Wed, 5 Apr 2006, John Que wrote:
>
> > Hello,
> > Thanks !
> > But I think you missed the point.
> > I am NOT talking about installing Xen on RHEL; this is
> > no problem and I had done it . I am talking
> > about creating an image for a guest ; this image should be REHL based.
> >
> > if you look at http://mark.foster.cc/wiki/index.php/Centos-4_on_Xen
> > or the other links I mentioned, you will see what I mean
> >
> > Is there a solution like that  ? Any ideas ?
>
> I'm not sure what your point is. Most of what is described is similar (if
> not the same) for RHEL, since CentOS is based on RHEL.
>
> One interesting project is pyrpm, it can help you build virtual
> environments (like chroots and images for virtual machines) much like
> rpmstrap (but much more versatile):
>
>         http://people.redhat.com/laroche/pyrpm/
>
> Furthermore it's probably fairly easy to do a kickstart installation
> inside a virtual machine do set up a working environment and then clone
> that image in Xen.
>
> Kind regards,
> --   dag wieers,  dag wieers com,  http://dag.wieers.com/   --
> [all I want is a warm bed and a kind word and unlimited power]
>
> --
> nahant-list mailing list
> nahant-list redhat com
> https://www.redhat.com/mailman/listinfo/nahant-list
>


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