> Ronald J. Yacketta wrote:
>> Hell all :)
>>
>> Recently I have been trying to re-deploy several of our systems with a
>> fc8 xen kernel but having a fight with koan and --replace-self. No
>> matter what I try I get 'invalid or unsupported executable format' after
>> rebooting the system.
>>
>>
>
> This is an fortunately an easy one. You should not deploy the "xen"
> kernels, but rather deploy normal kernels and include "kernel-xen" in
> the %packages
I will update my .ks and add the package as well as modify grub during
%post to default boot xen
> section. I think that is most likely causing the problem, but since you
> didn't share which koan command line I'm not sure.
>
I used:
koan --replace-self --server=my_server --system=virttest
> The "xen" variant is there for installing virtual guests.
>
>
>> Did some quick digging and noticed that the initrd.img on the cobbler
>> box and the client box are different in size, this difference appears to
>> be coming from koan and its attempt to embed the ks file. Not sure if I
>> am doing something wrong (which is more likely the case) or is koan is
>> walking on the far side.
>>
>
> Right, koan does embed the KS file in the initrd, which is by design as
> it is there for non-DHCP and slow/buggy DHCP
> scenarios.
>
Maybe I should be doing normal PXEboot installs instead of koan? and use
koan to deploy domU's instead?
>
>> Here is the output of my cobbler profile, distro and system settings:
>>
>> fc8x.ks works fine when I attempt a normal KS from PXE
>>
>> [ ~]# cobbler profile report --name=fc8x
>> profile : fc8x
>> distro : fc8x
>> dhcp tag : default
>> kernel options : {}
>> post kernel options : {}
>> kickstart : /etc/cobbler/fc8.ks
>> ks metadata : {}
>> owners : ['admin']
>> repos : []
>> server : <<inherit>>
>> virt bridge : xenbr0
>> virt cpus : 1
>> virt file size : 5
>> virt path :
>> virt ram : 512
>> virt type : xenpv
>>
>> [ ~]# cobbler distro report --name=fc8x
>> distro : fc8x
>> breed : redhat
>> os version :
>> architecture : i386
>> initrd : /var/tftpboot/fc8/xen/initrd.img
>> kernel : /var/tftpboot/fc8/xen/vmlinuz
>> kernel options : {}
>> post kernel options : {}
>> ks metadata : {}
>> owners : ['admin']
>>
>> [ ~]# cobbler system report --name=virttest
>> system : virttest
>> profile : fc8x
>> image : None
>> kernel options : {}
>> kernel options post : {}
>> kickstart : <<inherit>>
>> ks metadata : {}
>> netboot enabled? : True
>> owners : ['admin']
>> server : <<inherit>>
>> virt cpus : <<inherit>>
>> virt file size : 2
>> virt path : <<inherit>>
>> virt ram : 128
>> virt type : xenpv
>> interface : intf0
>> mac address :
>> ip address :
>> hostname :
>> gateway :
>> subnet :
>> virt bridge :
>> dhcp tag :
>>
>>
>>
>> -Ron
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://fedorahosted.org/mailman/listinfo/cobbler
>>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler