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

Re: [Xen-users] Guest O/S Questions


  • To: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
  • From: "Brian Kosick" <Bkosick@xxxxxxxxxxx>
  • Date: Wed, 24 Aug 2005 16:00:19 -0600
  • Date: Wed, 24 Aug 2005 16:00:19 -0600
  • Cc: XEN Users Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 24 Aug 2005 22:06:51 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcWo955QyCHk80RITJ2USsvt8J6eJw==
  • Thread-topic: [Xen-users] Guest O/S Questions

Here's my instructions that I wrote up for another list member this is
for RHEL3, modify for your needs.  You may not need to use the mke2fs
binary as RHEL4 is more modern.  YMMV


1)  Take the iso's and copy the RPMS to a folder /root/rhel3
2)  Get a list of RPM's that you need, here's a list from one of my
previous installs.  I'm going to work on paring this down...  Also, this
is important! grab a copy of mke2fs binary from a previous install.

hwdata-0.101.14-1.noarch.
libgcc-3.2.3-47.i386.
redhat-logos-1.1.14.3-1.noarch.
setup-2.5.27-1.noarch.
filesystem-2.2.1-3.i386.
basesystem-8.0-2.noarch.
termcap-11.0.1-17.1.noarch.
tzdata-2004e-1.EL.noarch.
glibc-common-2.3.2-95.30.i386.
glibc-2.3.2-95.30.i686.
beecrypt-3.0.1-0.20030630.i386.
bzip2-libs-1.0.2-11.i386.
chkconfig-1.3.11-0.3.i386.
cracklib-2.7-22.i386.
db4-4.1.25-8.i386.
e2fsprogs-1.32-15.1.i386.
elfutils-libelf-0.91-3.i386.
ethtool-1.8-3.3.i386.
expat-1.95.5-6.i386.
gdbm-1.8.0-20.i386.
glib-1.2.10-11.1.i386.
glib2-2.2.3-2.0.i386.
gmp-4.1.2-5.i386.
hdparm-5.4-1.i386.
iputils-20020927-11.30.1.i386.
laus-libs-0.1-66RHEL3.i386.
libattr-2.2.0-1.i386.
libacl-2.2.3-1.i386.
libtermcap-2.0.8-35.i386.
losetup-2.11y-31.2.i386.
lvm-1.0.8-9.i386.
mingetty-1.06-1.i386.
mktemp-1.5-18.i386.
bash-2.05b-29.0.3.i386.
iproute-2.4.7-11.30E.1.i386.
MAKEDEV-3.3.12.3-1.i386.
mount-2.11y-31.2.i386.
net-tools-1.60-20E.1.i386.
pcre-3.9-10.1.i386.
popt-1.8.2-13.i386.
raidtools-1.00.3-7.i386.
rootfiles-7.2-6.noarch.
setserial-2.17-12.i386.
shadow-utils-4.0.3-22.02.i386.
slang-1.4.5-18.i386.
newt-0.51.5-1.i386.
usbutils-0.11-1.i386.
hotplug-2002_04_01-20.2.i386.
vim-minimal-6.3.029-1.30E.3.i386.
words-2-21.noarch.
cracklib-dicts-2.7-22.i386.
zlib-1.1.4-8.1.i386.
file-3.39-9.i386.
info-4.5-3.i386.
cpio-2.5-3.i386.
ed-0.2-33.i386.
findutils-4.1.7-9.i386.
gawk-3.1.1-9.i386.
grep-2.5.1-24.1.i386.
coreutils-4.5.3-26.i386.
ash-0.3.8-16.i386.
grub-0.93-4.3.i386.
krb5-libs-1.2.7-31.i386.
modutils-2.4.25-14.EL.i386.
ncurses-5.3-9.3.i386.
gpm-1.19.3-27.2.i386.
less-378-11.i386.
gzip-1.3.3-9.i386.
openssl-0.9.7a-33.12.i686.
procps-2.0.17-13.i386.
psmisc-21.3-1.RHEL.0.i386.
readline-4.3-5.2.i386.
python-2.2.3-6.i386.
pyxf86config-0.3.5-1.i386.
rhpl-0.110.6-1.i386.
sed-4.0.7-3.i386.
dev-3.3.12.3-1.i386.
pam-0.75-62.i386.
authconfig-4.3.7-1.i386.
kudzu-1.1.22.9-1.i386.
sysklogd-1.4.1-12.3.i386.
SysVinit-2.85-4.2.i386.
tar-1.13.25-13.i386.
mkinitrd-3.5.13-1.i386.
util-linux-2.11y-31.2.i386.
which-2.14-7.i386.
initscripts-7.31.18.EL-1.i386.
cyrus-sasl-2.1.15-10.i386.
cyrus-sasl-md5-2.1.15-10.i386.
kernel-2.4.21-27.EL.i686.
kernel-smp-2.4.21-27.EL.i686.
openldap-2.0.27-17.i386.
libuser-0.51.7-1.EL3.3.i386.
passwd-0.68-3.1.i386.
usermode-1.68-5E.2.i386.
kbd-1.08-10.2.i386.
redhat-config-mouse-1.0.13-1.noarch.
rpm-4.2.3-13.i386.
rpm-libs-4.2.3-13.i386.
eal3-certification-doc-1.1-2.noarch.
mailcap-2.1.14-1.noarch.
man-pages-1.60-4.2.noarch.
redhat-menus-0.39-1.noarch.
rmt-0.4b28-7.i386.
dump-0.4b28-7.i386.
specspo-3EL-1.noarch.
dos2unix-3.1-15.i386.
dosfstools-2.8-10.i386.
eject-2.0.13-2.i386.
finger-0.17-18.i386.
hesiod-3.0.2-28.1.i386.
jfsutils-1.1.2-2.i386.
krbafs-1.1.1-11.i386.
lha-1.14i-10.4.i386.
attr-2.2.0-1.i386.
acl-2.2.3-1.i386.
libjpeg-6b-30.i386.
libstdc++-3.2.3-47.i386.
libtool-libs-1.4.3-6.i386.
lslk-1.29-8.i386.
lsof-4.63-4.i386.
mailx-8.1.1-31.i386.
bzip2-1.0.2-11.i386.
crontabs-1.10-5.noarch.
htmlview-2.0.0-10.noarch.
mt-st-0.7-11.i386.
nc-1.10-18.i386.
ncompress-4.2.4-38.i386.
pam_passwdqc-0.7.5-1.i386.
pam_smb-1.1.7-1.i386.
parted-1.6.3-29.3.i386.
patch-2.5.4-16.i386.
pax-3.0-6.i386.
perl-5.8.0-88.9.i386.
fbset-2.1-13.i386.
perl-Filter-1.29-3.i386.
logrotate-3.6.9-1.i386.
procmail-3.22-9.i386.
pspell-0.12.2-16.1.i386.
rdate-1.3-2.i386.
rdist-6.1.5-35.30.1.i386.
rpmdb-redhat-3-0.20041216.i386.
rsh-0.17-17.i386.
rsync-2.5.7-5.3E.i386.
schedutils-1.3.0-5.i386.
setarch-1.3-1.i386.
lockdev-1.0.1-1.2.i386.
netconfig-0.8.19-1.1.i386.
ntsysv-1.3.11-0.3.i386.
setuptool-1.13-1.i386.
slocate-2.7-3.i386.
star-1.5a08-4.i386.
symlinks-1.2-18.i386.
tcp_wrappers-7.6-34.1.i386.
traceroute-1.4a12-20.i386.
unix2dos-2.2-19.i386.
unzip-5.50-34.i386.
wireless-tools-26-2.i386.
XFree86-libs-data-4.3.0-78.EL.i386.
zip-2.3-16.i386.
freetype-2.1.4-4.0.i386.
fontconfig-2.2.1-13.i386.
libpng-1.2.2-25.i386.
libtiff-3.5.7-20.1.i386.
libxml2-2.5.10-7.i386.
binutils-2.14.90.0.4-35.i386.
diffutils-2.8.1-8.i386.
elfutils-0.91-3.i386.
at-3.1.8-60_EL3.i386.
eal3-certification-1.1-2.noarch.
groff-1.18.1-27.i386.
jwhois-3.2.2-1.i386.
krb5-workstation-1.2.7-31.i386.
krbafs-utils-1.1.1-11.i386.
laus-0.1-66RHEL3.i386.
libgcj-3.2.3-47.i386.
logwatch-4.3.2-2.noarch.
m4-1.4.1-13.i386.
make-3.79.1-17.i386.
mgetty-1.1.30-3.i386.
irda-utils-0.9.15-1.i386.
mtools-3.9.8-8.i386.
aspell-0.33.7.1-25.1.i386.
man-1.5k-10.i386.
minicom-2.00.0-17.1.i386.
mtr-0.52-2.i386.
nano-1.2.1-4.i386.
nscd-2.3.2-95.30.i386.
nss_db-2.2-20.4.i386.
authd-1.4.1-1.rhel3.i386.
bind-libs-9.2.4-1_EL3.i386.
bind-utils-9.2.4-1_EL3.i386.
cups-libs-1.1.17-13.3.16.i386.
libwvstreams-3.70-10.i386.
pam_krb5-1.73-1.i386.
pdksh-5.2.14-21.i386.
pinfo-0.6.6-4.i386.
psacct-6.3.2-28.rhel3.i386.
pyOpenSSL-0.5.1-8.i386.
bc-1.06-15.i386.
ftp-0.17-17.i386.
lftp-2.6.3-5.i386.
gettext-0.11.4-7.i386.
libxml2-python-2.5.10-7.i386.
python-optik-1.4.1-2.noarch.
rhnlib-1.8-6.p22.noarch.
jpackage-utils-1.5.38-1jpp_4rh.noarch.
ppp-2.4.1-14.1.i386.
sharutils-4.2.1-16.i386.
stunnel-4.04-4.i386.
sudo-1.6.7p5-1.i386.
syslinux-2.06-0.3E.i386.
sysreport-1.3.7.2-2.noarch.
talk-0.17-20.i386.
mkbootdisk-1.5.1-1.i386.
tcsh-6.12-11.EL3.i386.
telnet-0.17-26.i386.
tftp-0.39-0.EL3.1.i386.
time-1.7-23.i386.
tmpwatch-2.8.4-5.i386.
utempter-0.5.5-1.3EL.0.i386.
vim-common-6.3.029-1.30E.3.i386.
wget-1.8.2-15.i386.
apmd-3.0.2-18.i386.
cyrus-sasl-gssapi-2.1.15-10.i386.
cyrus-sasl-plain-2.1.15-10.i386.
devlabel-0.48.03-6.i386.
dhclient-3.0.1-10_EL3.i386.
diskdumputils-0.4.0-1.i386.
ipsec-tools-0.2.5-0.6.i386.
isdn4k-utils-3.1-76.i386.
iptables-1.2.8-12.3.i386.
iptables-ipv6-1.2.8-12.3.i386.
iscsi-initiator-utils-3.6.2-4.i386.
kernel-pcmcia-cs-3.1.31-13.i386.
kernel-utils-2.4-8.37.7.i386.
autofs-4.1.3-47.i386.
gnupg-1.2.1-10.i386.
nss_ldap-207-11.i386.
openssh-3.6.1p2-33.30.3.i386.
openssh-clients-3.6.1p2-33.30.3.i386.
netdump-0.6.11-3.i386.
openssh-server-3.6.1p2-33.30.3.i386.
pciutils-2.1.10-7.i386.
portmap-4.0-56.i386.
nfs-utils-1.0.6-33EL.i386.
prelink-0.3.2-2.EL.i386.
quota-3.10-4.i386.
redhat-config-securitylevel-tui-1.2.9.2-1.i386.
rp-pppoe-3.5-4.1.i386.
sendmail-8.12.11-4.RHEL3.1.i386.
mdadm-1.5.0-9.i386.
tcpdump-3.7.2-7.E3.2.i386.
vconfig-1.6-2.i386.
vixie-cron-3.0.1-75.1.i386.
wvdial-1.53-11.i386.
XFree86-libs-4.3.0-78.EL.i386.
XFree86-Mesa-libGL-4.3.0-78.EL.i386.
xinetd-2.3.12-6.3E.i386.
cups-1.1.17-13.3.16.i386.
redhat-lsb-1.3-3.1.EL3.i386.
ypbind-1.12-5.21.1.i386.
yp-tools-2.8-6.i386.
rpm-python-4.2.3-13.i386.
redhat-config-network-tui-1.2.63-1.noarch.
up2date-4.2.57-2.i386.
up2date-update-4.2.57-2.i386.
net-snmp-libs-5.0.9-2.30E.12.i386.
perl-DateManip-5.42a-0.rhel3.noarch.
net-snmp-5.0.9-2.30E.12.i386.
libcap-1.10-15.1.i386.
tcl-8.3.5-92.2.i386.
ntp-4.1.2-4.EL3.1.i386.
cipe-1.4.5-16.i386.
net-snmp-utils-5.0.9-2.30E.12.i386.
openldap-clients-2.0.27-17.i386.
sysstat-5.0.5-5.rhel3.i386.
compat-libstdc++-7.3-2.96.128.i386.
openssl096b-0.9.6b-16.i386.
compat-db-4.0.14-5.1.i386.
curl-7.10.6-4.2.i386.
compat-glibc-7.x-2.2.4.32.6.i386.
redhat-release-3ES-7.4.i386.
comps-3ES-0.20041216.i386.

3)  Use the Fedora Xen Quickstart Howto as a base instruction set.
http://fedoraproject.org/wiki/FedoraXenQuickstart

4)  Use the mke2fs binary that you copied to format the image file,
otherwise Fedora C4 mke2fs has features that RHEL3 does not support, and
you will have issues.

5)  At the mkdir /proc stage also create the following directories.
mkdir /mnt/sys
mkdir /mnt/dev/pts
There's one more in /mnt/dev, but I forgot to write it down.   When the
domU boots, it will give an error. and you can create it.

6)  Use MAKEDEV to create console, tty, random, and urandom.
MAKEDEV console -d /mnt/dev
MAKEDEV tty -d /mnt/dev
MAKEDEV random -d /mnt/dev
MAKEDEV urandom -d /mnt/dev

7)  At the yum step, use rpm to install the packages listed above, or
use your list.
rpm -ivh --root /mnt package.rpm --force --nodeps

I actually did something like this

for A in `cat install.list`
do
rpm -ivh --root /mnt /root/rpms/${A}rpm --force --nodeps
done

8)  Make sure that /etc/fstab matches the howto, the rpms add misc stuff
to it.

Note that you will be using the 2.6 domU kernel that FC4 provides, it
works nicely.

That's it.
Enjoy!
Brian Kosick



On Wed, 2005-08-24 at 14:43 -0600, Nick Couchman wrote:
> I have just recently discovered the XEN VMM and am trying to
> familiarize myself with it. I'm a newbe at it, so bear with me.
> 
> I'd like to install an O/S onto a guest virtual machine. Domain 0 is
> RHEL4 on Xen 2.0.7. My question is how I would go about installing
> from a set of distribution CD's (say RHEL4 or SUSE9) into a
> file-backed VMM. Can anyone help me out with this?
> 
> Thanks,
> 
> Nick Couchman
> Systems Integrator
> SEAKR Engineering, Inc.
> 6221 South Racine Circle
> Centennial, CO 80111
> Main: (303) 790-8499
> Fax: (303) 790-8720
> Web: http://www.seakr.com
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.