Previous Topic: Updating Dell BIOS via DRAC AccessNext Topic: Various Lock File Locations


Upgrading Appliance Kernel

When upgrading to the distribution supplied kernel, such as kernel-xen-2.6.18-348.4.1.el5 (kernel-xen package), it may be necessary to rebuild the initrd to include the xen drivers for it to boot successfully in pv mode.

To check if the initrd has the correct modules you can run the following command and look for lib/xenblk.ko:

gunzip < /boot/initrd-<version>.img | cpio -t | grep "ko"

If this module is missing you need to rebuild the initrd with the following command:

mkinitrd --with=xennet --with=xenblk --preload=xenblk /boot/initrd-<version>.img <version>

Example:

mkinitrd --with=xennet --with=xenblk --preload=xenblk /boot/initrd-2.6.18-348.4.1.el5xen.img 2.6.18-348.4.1.el5xen