Deploying DomU Centos 5 with Xen on Ubuntu 9.04 Jaunty Jakalope

Howto: Install and run Xen DomU Centos 5 on Dom0 Ubuntu Juanty using Rinse

Step 1

If you don’t already have a Ubuntu 9.04 Jaunty Dom0 running, follow the steps outlined in /blog/post/running-xen-on-ubuntu-intrepid-and-jaunty/ for a method for getting a Dom0 Jaunty installation running without compiling a kernel. This tutorial assumes that you are running the Debian Xen kernel described in that post.

Step 2

Prepare the xen-tools environment according to the steps in /blog/post/installing-and-running-xen-domu-jaunty-on-dom0-ubuntu-juanty/

Step 3

Use gksu gedit /etc/rinse/centos-5.packages and add the following to the bottom of the file


Step 4

Make a symbolic link so rinse can be found where xen-tools expects to find it.

sudo ln -fs /usr/sbin/rinse /usr/bin/rinse

Step 5

Create and boot a new image. Set the root password when asked

sudo xen-create-image --hostname=centos5 --dhcp --dist=centos-5 --install-method=rinse  --size=4Gb  --memory=512Mb --swap=512MB --arch=i386 --partitions=with-data  --boot --passwd --role udev

Step 6

log in as root to your newly created virtual machine and update the following

yum install nano  
nano -w /etc/rpm/platform (change the line from to )  
yum groupinstall "X Window System  
yum groupinstall "GNOME Desktop Environment"

Update /etc/inittab to runlevel 5 reboot