Install the Xen packages
# yum install kernel-xen xen
Verify which kernel is in use
uname
command to determine which kernel is running.
$ uname -r 2.6.23.14-107.fc8
2.6.23.14-107.fc8
" kernel is running on the system. This is the default kernel. If the kernel has xen
on the end (for example, 2.6.23.14-107.fc8xen
) then the Xen kernel is running and you can skip the substep.
Changing the default kernel to the Xen kernel
grub.conf
file determines which kernel is booted. To change the default kernel edit the /boot/grub/grub.conf
file as shown below.
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.14-107.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.14-107.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.14-107.fc8.img
title Fedora (2.6.23.14-107.fc8xen)
root (hd0,0)
kernel /xen.gz-2.6.23.14-107.fc8
module /vmlinuz-2.6.23.14-107.fc8xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.23.14-107.fc8xen.img
1
(or the number for the Xen kernel):
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.14-107.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.14-107.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.14-107.fc82.6.23.14-107.fc8.img
title Fedora (2.6.23.14-107.fc8xen)
root (hd0,0)
kernel /xen.gz-2.6.23.14-107.fc8
module /vmlinuz-2.6.23.14-107.fc8xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.23.14-107.fc8xen.img
Reboot to load the new kernel
uname
command:
$ uname -r 2.6.23.14-107.fc8xen
xen
on the end the Xen kernel is running.