Hi.

On Wed, Sep 25, 2019 at 08:49:29AM +0200, john doe wrote:
> > Put in into pxelinux.cfg/default file, into "append" clause.
> > Something like that:
> >
> >     kernel linux
> >     append initrd=initrd.gz url=tftp://10.0.2.2/preseed.cfg
> >
> 
> Looks like it is working but why is it working this way:
> 
> append initrd=initrd.gz url=tftp://10.0.2.2/preseed.cfg
> 
> and not this way:
> 
> append url=tftp://10.0.2.2/preseed.cfg   initrd=initrd.gz
> 
> 
> In other words, what is the difference between arguments before
> initrd.gz and after it.

The way I see it (can be wrong), url= is a variable that's processed by
the initrd itself, not the kernel. Therefore it makes sense to put
initrd first, and its variables second.

Reco

Reply via email to