Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embedded scripts not working
2012-09-30, 10:25
Post: #1
Embedded scripts not working
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 \&\&
Find all posts by this user
Quote this message in a reply
2012-10-02, 11:12
Post: #2
RE: Embedded scripts not working
I believe it should be just && in PXELinux, not \&\&.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)