Hi guys, I tried to set up chain loading in the PXELinux menu, but it was not successful. I have done some researches online but I’m not able to figure it out. Could you guys please give me a hand? Thanks a lot!
Here’s what I have done.
- added the pxelinux menu entry for chain loading to ipxe
LABEL FOG-IT-120TEST
#MENU PASSWD fjasjfskajgdfjgjdfgjdfjgsdfgafgjfd.
kernel fog/kernel/ipxe.krn
append dhcp && chain [url]http://10.2.6.40/fog/service/ipxe/boot.php?mac=${net0/mac}[/url]
MENU LABEL FOG 1.2.0 iPXE
TEXT HELP
FOG 1.2.0 iPXE chainload TEST.
ENDTEXT
\n
- copied “ipxe.krn” from FOG 1.2.0 server to FOG 0.32 server /tftpboot/fog/kernel/ipxe.krn
- copied “default.ipxe” from FOG 1.2.0 server to FOG 0.32 server /tftpboot/default.ipxe
Here’s the config in “default.ipxe”
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
params
param mac0 ${net0/mac}
param arch ${arch}
param product ${product}
param manufacturer ${product}
param ipxever ${version}
param filename ${filename}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain [url]http://10.2.6.40/fog/service/ipxe/boot.php##params[/url]
- I’ve got the error saying “Could not boot: Input/output error ([url]http://ipxe.org/1d0c6139[/url])”. Please see attached image.
I looked it up on ipxe.org, but there’s not really a solution. Hope you guys can give me some help. Thanks a lot!!
[url=“/_imported_xf_attachments/1/1662_Photo Feb 06, 12 32 25 PM.jpg?:”]Photo Feb 06, 12 32 25 PM.jpg[/url]