XEN auf RedHat Enterprise Linux 4 (RHEL4) AMD 64

Installation

Just install the RPM-Packages below and modify your bootloader. Once booted in dom0 you can start with running xen. xen-amd64-boot.txt
Build-Logs for the RPMs are available as well.
Btw. the novell 9029-kernel does not boot correctly: xen-9029-error.txt

grub

To boot the current Linux System (RHEL4 or Fedora Core) and have the output directed to a serial console you have to adapt the grub.conf.

/boot/grub/menu.lst

#boot=/dev/sda
default=0
timeout=5
serial --unit=0 --speed=57600
terminal --timeout=5 serial console
title Red Hat Enterprise Linux ES (2.6.15-1.2032_4EL.tomxen0)
        root (hd0,0)
        kernel /xen.gz-2.6.15-1.2032_4EL.tom dom0_mem=400000 console=com1 com1=57600,8n1
        module /vmlinuz-2.6.15-1.2032_4EL.tomxen0 ro root=/dev/rootvg/rootlv acpi=off console=ttyS0,57600 xencons=ttyS
        module /initrd-2.6.15-1.2032_4EL.tomxen0.img

grub installation

To install grub to your mbr (master boot record) of your harddisk just enter the grub shell

grub-shell

# grub
> root (hd0,0)
> setup (hd0)
> quit

UP

RPM-Pakete

SRPMS

RPMS

Links

ttylinux VM

ttylinux nach /xm/ttylinux entpacken und die Datei /etc/xen/ttylinux anpassen.

/etc/xen/ttylinux

kernel = "/boot/vmlinuz-2.6.15-1.2032_4EL.tomxen0"
memory = 32
name = "ttylinux"
vif = [ '' ]
disk = ['file:/xm/ttylinux/ttylinux-xen,sda1,w']
root = "/dev/sda1 ro"

Das Gastbetriebssystem kann dann folgendermassen gestartet werden.

xm

xm create -c ttylinux

UP

 
wissen/gpl/xen/xen_installation_on_redhat_enterprise_linux.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de