Installing the Xen Software
When doing a fresh install of Fedora 7, Xen can be installed by selecting Virtualization in the Base Group in the installer.
For an existing Fedora 7 installation, the Xen kernel and tools can be installed by running the following command:
This installs the required packages and their dependencies. 'kernel-xen' contains the Xen-enabled kernel for both the host and guest operating systems as well as the hypervisor. Also, the 'xen' package will be installed, which contains the user-space tools for interacting with the hypervisor.
Once this is done, there should be an entry in the file /boot/grub/grub.conf for booting the xen kernel. The xen kernel is not set as the default boot option.
To set GRUB to boot with kernel-xen by default, edit /boot/grub/grub.conf and set the default to the xen kernel:
This is an example /boot/grub/grub.conf configured to boot into the Xen hypervisor:
title Fedora (2.6.20-2925.5.fc7xen)
module /vmlinuz-2.6.20-2925.5.fc7xen ro root=/dev/VolRoot/LogVolRoot rhgb quiet
title Fedora (2.6.20-1.3084.fc7)
kernel /vmlinuz-2.6.20-1.3084.fc7 ro root=/dev/VolRoot/LogVolRoot rhgb quiet