On Wed, Oct 26, 2011 at 4:57 PM, James Cammarata <[email protected]> wrote: > On Wed, Oct 26, 2011 at 3:50 PM, Russ Lavoy <[email protected]> wrote: >> Hello, >> >> I am having an issue with XCP guests not being able to pxe boot. First I >> change the PV options (that is what is required to netboot with the VM, but >> when I do that it sees the MAC of the VM and starts to load the >> pxelinux.cfg/MAC-ADDR then tells me "Invalid or corrupt kernel image". I >> did an md5sum on the vmlinuz and initrd.img files and they are all the exact >> same in the KS repo and in the /tftpboot location. I can kickstart it with >> no issues, just not PXE. >> >> Is there any help on that one out there? > > Xen and centos? If so, I've been seeing this a lot lately - you'd be > the fourth person I've seen with the issue. >
The issue is that the kernel associated with the -xen distro is the wrong one - it's the normal kernel and not the paravirtualized one. Here's the 5.5 distros on my system: # cobbler distro report --name=centos-5.5-xen-x86_64 | grep vmlinuz Kernel : /var/www/cobbler/ks_mirror/centos-5.5-x86_64/images/xen/vmlinuz # cobbler distro report --name=centos-5.5-x86_64 | grep vmlinuz Kernel : /var/www/cobbler/ks_mirror/centos-5.5-x86_64/images/pxeboot/vmlinuz The MD5 sum of those two vmlinuz files should NOT be the same. I'm not sure if this is an import issue, or if it's something CentOS messed up with 5.7 (every one who's reported this have been 5.7). You can fix it by pointing the -xen distro at the correct vmlinuz in the ks_mirror tree, just use 'cobbler distro edit' to fix it. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
