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:
2
This is an example /boot/grub/grub.conf configured to boot into the Xen hypervisor:
-
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.20-2925.5.fc7xen)
root (hd0,0)
kernel /xen.gz-2.6.20-2925.5.fc7
module /vmlinuz-2.6.20-2925.5.fc7xen ro root=/dev/VolRoot/LogVolRoot rhgb quiet
module /initrd-2.6.20-2925.5.fc7xen.img
title Fedora (2.6.20-1.3084.fc7)
root (hd0,0)
kernel /vmlinuz-2.6.20-1.3084.fc7 ro root=/dev/VolRoot/LogVolRoot rhgb quiet
initrd /initrd-2.6.20-1.3084.fc7.img