[gPXE] Fw:Re:Re: Fw:Re:Re: At compile time how to add Embedded Script:

Gene Cumm gene.cumm at gmail.com
Sat Nov 6 06:24:23 EDT 2010


2010/11/6 sqwbwh <sqwbwh at 126.com>:

Over the last few years, I've gotten in the habit of always hitting
reply all, even on personal messages, with the different lists I'm on.

> -------- Forwarding messages --------
> From: sqwbwh <sqwbwh at 126.com>
> Date: 2010-11-06 18:14:08
> To: "Gene Cumm" <gene.cumm at gmail.com>
> Subject: Re:Re: [gPXE] Fw:Re:Re: At compile time how to add Embedded Script:
> Gene Cumm
>>  >#! Gpxe
>>  >Dhcp net0
>>  >Autoboot
>>> This is just an example
>>>
>>> If it is used to compile the source code do?(add Embedded Script,use make
>>> )
>> > Not rom-o-matic.net
>
>>make [target] EMBEDDED_IMAGE=[path_to_script] TIME_CMD=1
>
>>This is what I've used (of course replacing "[target]" with something
>>like "bin/ne2k_isa.dsk").
> -----
> Here I do not understand
> ==========================
> http://rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic/build.php
>
> at
>
> Embedded Script:
>
> add:
>
> #!gpxe
> dhcp net0
> autoboot
> --------
> To achieve the above functions
> How to modify the source code and compile

If you're looking to modify the source and compile it yourself, put
the contents of your script into a text file then look at what I did
for my make line.

This is one that I've actually used:

make bin/ne2k_isa.dsk EMBEDDED_IMAGE=../../bochs-vnet.gpxe TIME_CMD=1

I made a script, bochs-vnet.gpxe, just for a special purpose.

> -sqwbwh
>
> At 2010-11-06 17:55:59,"Gene Cumm" <gene.cumm at gmail.com> wrote:
>
>>2010/11/6 sqwbwh <sqwbwh at 126.com>
>>
>>Thank you for forwarding back to the list.
>>
>>> -------- Forwarding messages --------
>>> From: sqwbwh <sqwbwh at 126.com>
>>> Date: 2010-11-06 17:45:13
>>> To: "Gene Cumm" <gene.cumm at gmail.com>
>>> Subject: Re:Re: [gPXE] At compile time how to add Embedded Script:
>>> Gene Cumm
>>> I believe "TIME_CMD" is disabled by default.  (Again "Customize").
>>> http://etherboot.org/wiki/commandline
>>> ----------
>>>   I see,thank you
>>>
>>>  #! Gpxe
>>>  Dhcp net0
>>>  Autoboot
>>> This is just an example
>>>
>>> If it is used to compile the source code do?(add Embedded Script,use make )
>>>  Not rom-o-matic.net
>>
>>make [target] EMBEDDED_IMAGE=[path_to_script] TIME_CMD=1
>>
>>This is what I've used (of course replacing "[target]" with something
>>like "bin/ne2k_isa.dsk").
>>
>>>
>>> -sqwbwh
>>>
>>>
>>> At 2010-11-06 17:31:50,"Gene Cumm" <gene.cumm at gmail.com> wrote:
>>>
>>> >2010/11/6 sqwbwh <sqwbwh at 126.com>:
>>> >> At compile time how to add Embedded Script:
>>> >> Such as add Embedded Script :
>>> >> #! Gpxe
>>> >> dhcp net0
>>> >> autoboot
>>> >>
>>> >> Should be written where?
>>> >
>>> >I believe "autoboot" is a special command that tries to look to the
>>> >network for everything and already does "dhcp net0" (See also
>>> >http://etherboot.org/wiki/commandline#other ).  Try the "# (optional)
>>> >Customize image configuration options:"  ("Customize" button) and you
>>> >get an input box "Embedded Script:".
>>> >
>>> >> Embedded Script "sleep" This command failed yet?
>>> >
>>> >I believe "TIME_CMD" is disabled by default.  (Again "Customize").
>>> >
>>> >> Where can I find detailed information on the Embedded Script
>>> >
>>> >http://etherboot.org/wiki/commandline
>>
>>--
>>-Gene
>>
>>"No one ever says, 'I can't read that ASCII(plain text) e-mail you sent me.'"

-- 
-Gene


More information about the gPXE mailing list