Re: [Vserver] RHEL4 guest on Gentoo host

From: Daniel W. Crompton <daniel.crompton_at_gmail.com>
Date: Fri 30 Jun 2006 - 07:32:11 BST
Message-ID: <c17f91900606292332u706d6ad3j30745f66138db6a3@mail.gmail.com>

On 6/30/06, John Alberts <john.m.alberts@gmail.com> wrote:
> I tried asking this question on the gentoo-vserver irc channel, but
> unfortunately I didn't get any response at all. I currently have a
> Gentoo host that is running multiple Gentoo guest os's. I have
> someone who wants me to install a RHEL4 guest for him, because he is
> more comfortable with it and it is required for this project. I
> really have no idea how to go about creating a guest other than a
> Gentoo guest. With Gentoo, I have a nice tarball that I started with,
> and I just updated that and use it for my template.
> With RHEL4, I have the install cd's. I have no idea how to go about
> using these cd's to install it as a guest.
> Any help or pointing me to some related docs would be appreciated.

I created an empty vserver in /vservers/RHEL4-base/ with "vserver-new".

I used "rpm -i --prefix /vservers/RHEL4-base/" to install rpm and
bash, with all the other package requirements I needed for these to
work.

I modified the /etc/vserver/RHEL4-base/fstab to include the mounted
cdrom drive on /mnt/cdrom.

I then chroot "/vservers/RHEL4-base/ /bin/bash" and installed all the
packages I needed for a base image I could copy.

>From that I created a tgz I could install with vserver-new.

D.

blaze your trail

--
redhat
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jun 30 07:33:05 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 30 Jun 2006 - 07:33:12 BST by hypermail 2.1.8