On 9/8/06, Trond Eivind Glomsrød wrote:
While on the topic of virtualization - has anyone tried install the
RHEL5 beta inside FC5 xen?

I just finished the graphical install using VNC, mostly using
http://fedoraproject.org/wiki/FedoraXenQuickstartFC5
Since I'm new to Xen, I also found the FAQ helpful:
http://wiki.xensource.com/xenwiki/XenFaq
I did this mainly because I wanted to create a RHEL5 anaconda-ks.cfg,
attached with password removed. I'm going to use it to kickstart
a real metal install. (Hmm, that makes me think it would be nice to have a
default anaconda-ks.cfg online somewhere in the RH docs, or in the CD
images. Maybe system-config-kickstart provides this, I've not tried it.)

Here's my short guide:

* You have to use the new kernel-xen which has PAE and follow the workaround at
https://www.redhat.com/archives/fedora-xen/2006-August/msg00098.html
Otherwise you won't have any network, or with kernel-xen0 xend-debug.log will
say "ERROR: PAE-kernel on non-PAE host."

* The layout is different, and I couldn't get the NFS ISO method to
work, so instead if you
downloaded the DVD image just use that, or on your NFS or HTTP server,
mount the ISOs
and link or rsync the files from all the repos, plus the "images"
directory which has stage2.img etc.:

RNAME=rhel5
mkdir -p /ISO/$RNAME
cd /ISO/$RNAME
# wget your ISOs here; name of file prefix is...
DNAME=RHEL5-Server-i386-beta
for i in 1 2 3 4; do
 mkdir /ISO/$RNAME/disc${i}
 mount -t iso9660 -o loop=/dev/loop${i}
/ISO/$RNAME/$DNAME-disc${i}.iso disc${i}
 for j in Cluster ClusterStorage Server VT; do
   rsync -az /mnt/source/disc$i/$j/ .
 done
done
rsync -az /mnt/source/disc1/images .
umount disc{1,2,3,4}

* Now start the install fo your FC5 host with the helper script:

/usr/sbin/xenguest-install.py --name=el5 --file=/tmp/el5 --ram=256
--file-size=4 --location='nfs:servername:/ISO/rhel5'

You should now get the familiar anaconda screen.

* For the key, I just put "V", for other options see the beta annoucement at
https://www.redhat.com/archives/rhelv5-announce/2006-September/msg00000.html

The only other non-default option I used was:

Unchecked "Office and Productivity"
Checked "Web Server"

* Note that some of the anaconda groups have changed; for example,
"@Editors" now includes Emacs. You can get the full list from the
"comps*xml" files in the repodata directories on disc1; there are
tools, or this gives a quick text file:

egrep "<name>|packagereq"
disc1/Server/repodata/comps-rhel5-server-core.xml >
el5-server-groups.txt

Attachment: el5.cfg
Description: Binary data

_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list

Reply via email to