Asianux Server 3: mkcdrec and "Invalid or corrupt kernel"


When using mkcdrec to make a bootable recovery CD-rom, if the system is using a xen-compatible kernel, the CD-ROM will not boot ("Invalid or corrupt kernel" error message).

This problem is inherent to mkcdrec. The workaround is to use a non-xen capable kernel.

Solution (from mkcdrec official FAQ):

Q: Invalid or corrupt kernel (Xen)
A: If the default GNU/Linux kernel is XEN capable then mkCDrec will not boot from CD-ROM. To solve this problem select another non-XEN capable GNU/Linux kernel, e.g. failsafe kernel.
Edit and change the LINUX_VERSION="2.6.18-xxxx" variable into a proper existing kernel version.