The following procedure works on kernel-xen-2.6.18, and should work for all subsequent revisions.
# cat /etc/redhat-release
# uname -aIn this case, x86_64 means the 64-bit package is required.
• For 32-bit, go to http://mirror.centos.org/centos-5/5/os/i386/CentOS/, scroll down to view the complete package name for the latest kernel-xen package, then run the following command:
# wget http://mirror.centos.org/centos/5/os/i386/CentOS/kernel-xen-<latestRelease>-<latestRevision>.el5.i686.rpm
• For 64-bit, go to http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/, scroll down to view the complete package name for the latest kernel-xen package, then run the following command:
# wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/kernel-xen-<latestRelease>-<latestRevision>.el5.x86_64.rpm
# rpm -iv kernel-xen-<latestRelease>-<latestRevision>.el5.i686.rpm
# rpm -iv kernel-xen-<latestRelease>-<latestRevision>.el5.x86_64.rpm
4. Make the initrd file, which will be used to build the RN.
# mkinitrd -v -f --preload=xennet --preload=xenblk --omit-scsi-modules --omit-raid-modules \ /boot/initrd-<latestRelease>-<latestRevision>.el5xen.img.5 <latestRelease>-<latestRevision>.el5xen
5. Make the /boot/grub/grub.conf.xvf5 file, which signals the RN to use it as grub boot menu.The /boot/grub/grub.conf.xvf and /boot/grub/grub.conf.xvf[1-4] must not be installed because they have higher priority than /boot/grub/grub.conf.xvf5.
# vi /boot/grub/grub.conf.xvf5
# rpm -e kernel-xen-<latestRelease>-<latestRevision>.el5
2. Remove the /boot/grub/grub.conf.xvf5 file.
# \rm -f /boot/grub/grub.conf.xvf5
|
| v3.6 SP1 HF1 |