iPXE discussion forum

Full Version: Embedded scripts not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using grub4dos, I am trying to boot with the following menu.lst file configuration :

Code:
title iPXE

pxe keep
kernel /IPXE.KRN
initrd /LOAD.IPXE

LOAD.IPXE : ( saved as UNIX text file )

Code:
#!ipxe

dhcp
chain http://192.168.0.200/winpe/boot.ipxe

grub4dos loads IPXE.KRN but LOAD.IPXE is never processed and the computer falls back to the network boot screen :

Code:
Booting command-list

Linux - zImage , setup=0x800 ....

iPXE initializing devices - sis 900_probe...
.
.
ok

iPXE 1.0.0+ (8e4faa) Open Source Network Boot Firmware

Intel UNDI, PXE - 2.0 ( build 082 )

CLIENT MAC ADDR ....

The computer reacquires an IP address from DHCP and the grub4dos menu is presented again.

Removing initrd /LOAD.IPXE from menu.lst works fine and I can hit CTRL+B to to access the command-line mode to boot my .iso
file successfully.

Removing pxe keep does not change the result.

IPXE.KRN is extracted from ipxe.iso

How do I need to configure the menu.lst file to run the script LOAD.IPXE successfully?

Server = Windows XP SP3

Tried also the configuration below but no success ( Embedding via the command line method ) , menu.lst entry :

Code:
title iPXE

kernel /IPXE.KRN dhcp \&\& chain http://192.168.0.200/winpe/boot.ipxe

Testing this method :
Code:
Booting command-list

Linux - zImage , setup=0x800 ....

iPXE initializing devices - sis 900_probe...
.
.
ok

iPXE 1.0.0+ (8e4faa) Open Source Network Boot Firmware

"\&\&" : no such network device
"chain" : no such network device
"http://192.168.0.200/winpe/boot.ipxe" : no such network device

Once again, the computer falls back to the network boot screen :

Code:
Intel UNDI, PXE - 2.0 ( build 082 )

CLIENT MAC ADDR ....

I guess there is a problem with the special characters \&\&
I believe it should be just && in PXELinux, not \&\&.
Reference URL's