Installation guide

kernel /xen.gz-2.6.18-159.el5
module /vmlinuz-2.6.18-159.el5xen ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-159.el5xen.img
Notice the d ef au lt = 0 parameter. This is instructing the GRUB boot loader to boot the
first entry, the default kernel. Change the default to 1 (or the number for the Xen
kernel):
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-159.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-159.el5 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
initrd /initrd-2.6.18-159.el5.img
title Red Hat Enterprise Linux Server (2.6.18-159.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-159.el5
module /vmlinuz-2.6.18-159.el5xen ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-159.el5xen.img
3.
Reb o o t t o lo ad t h e n ew kern el
Reboot the system. The computer will restart with the Xen kernel. Verify with the uname
command:
$ uname -r
2.6.18-159.el5xen
If the output has xen on the end the Xen kernel is running.
33.3. Using qemu-img
The qemu-img command line tool is used for formatting various file systems used by Xen and KVM.
qemu-img should be used for formatting guest images, additional storage devices and network
storage. qemu-img options and usages are listed below.
Format t in g an d creat in g n ew imag es o r devices
Create the new disk image filename of size size and format format.
# qemu-img create [-6] [-e] [-b base_image] [-f format] filename [size]
If base_image is specified, then the image will record only the differences from base_image. No size
needs to be specified in this case. base_image will never be modified unless you use the "commit"
monitor command.
Co n vert an exist in g imag e t o ano t her f o rmat
The convert option is used for converting a recognized format to another image format.
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
310