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
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, it would be nice to have a default anaconda-ks.cfg
online somewhere in the RH docs, or in the CD images.

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 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=5as
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=5as --file=/tmp/5as --ram=256
--file-size=4 --location='nfs:servername:/ISO/5as'

You should now get the familiar anaconda screen.

* For the key, I just put "V", for other options see
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"

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

Reply via email to