How to install Xen on Fedora 8
Xen is a virtualization system originally developed by the University of Cambridge and is now an open source project with contributions from IBM, HP, Intel, RedHat and XenSource (Citrix). You can install Xen 3 on Fedora and thus run multiple operating systems on the same machine. The best documentation that I’ve found on how to get going is the chapter two of a book on Xen by Prabhakar Chaganti.
yum intall kernel-xen xenUsing yum will be a lot easier than downloading the RPMs and then trying to make it work. I tried to get the latest experimental RPM version Xen 3.2 to work, and I gave up and used yum instead which installs the latest stable version 3.1.2.- Edit
/boot/grub/grub.confand set the default kernel to 0 instead 1 (0 is for Xen and 1 is for Fedora kernel)- After a reboot, you’ll be using the Xen kernel (
uname -rmwill confirm that you’re running with Xen) and you should be able to use the xen tools, e.g.,xm list
February 19, 2008 at 6:25 am
In GRUB — the GRand Unified Boot-loader for Fedora — configuration file you can specify multiple kernels. Each kernel stanza starts with a
titleline. The kernel stanza’s are implicitly numbered, the first one is numbers 0, the second one numbered 1, and so on. In GRUB configuration file before the kernel stanza, set the default to be the Xen kernel.March 1, 2008 at 7:57 pm
The most recent Xen 3.2 rpms may be installed on top
of Xen 3.1 enabled F8 (i386) instance without any problems.
System reboots into xen3.2.gz kernel nicely. Everything
looks just fine.However , installation of Solaris 10 U4 HVM DomU hangs the same way as on F8 original Xen 3.1.