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.

  1. 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.
  2. Edit /boot/grub/grub.conf and set the default kernel to 0 instead 1 (0 is for Xen and 1 is for Fedora kernel)
  3. After a reboot, you’ll be using the Xen kernel (uname -rm will confirm that you’re running with Xen) and you should be able to use the xen tools, e.g., xm list

2 Responses to “How to install Xen on Fedora 8”

  1. sj Says:

    In GRUB — the GRand Unified Boot-loader for Fedora — configuration file you can specify multiple kernels. Each kernel stanza starts with a title line. 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.

  2. Boris Says:

    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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.