Make a copy of the kernel so that building a new initrd/kernel pair is a manual affair on Centos 5:
cp /boot/vmlinuz-2.6.18-53.1.4.el5xen /boot/vmlinuz-2.6-xen
Building a useful initrd for Xen on FC6
http://www.mail-archive.com/fedora-xen@redhat.com/msg00202.html
Same thing on Centos 5:
echo "/dev/sda1 / ext3 defaults 1 1" > /boot/xenfstab mkinitrd -v -f --with=xennet --builtin=aic7xxx --builtin=serverworks --preload=xenblk --omit-raid-modules --omit-lvm-modules --fstab=/boot/xenfstab /boot/initrd-2.6-xen.img 2.6.18-53.1.4.el5xen
Get the VC, xm console to work in Centos 4 when hosted on Centos 5 Xen, add the following to /etc/inittab:
co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
Basic Xen Config File:
kernel = "/boot/vmlinuz-2.6-xen" ramdisk = "/boot/initrd-2.6-xen.img" memory = 2000 name = "server4" vcpus = 2 vif = [ '' ] disk = [ 'phy:/dev/vg00/server4,sda1,w','phy:/dev/vg00/server4_swap,sda2,w'] root = "/dev/sda1 ro" #dhcp="dhcp" #extra = "1"
Convert Vmware to Xen
http://ian.blenke.com/xen/vmdk/