[syslinux] Global append and Label append

Dag Wieers dag at wieers.com
Tue Mar 28 02:40:14 PST 2006


On Thu, 23 Mar 2006, Dag Wieers wrote:

> Question number 3 :)
> 
> I'd like to do something like this:
> 
> 	display text.msg
> 	append text kssendmac ksdevice=eth1 ks=http://1.2.3.4/footprint/
> 	default localboot
> 
> 	label localboot
> 		localboot 0x80
> 
> 	label systemÃ5
> 		kernel vmlinuz
> 		append initrd=initrd.img ip=1.2.3.5 netmask=255.255.255.192 gateway=1.2.3.1
> 
> 	label system6
> 		kernel vmlinuz
> 		append initrd=initrd.img ip=1.2.3.6 netmask=255.255.255.192 gateway=1.2.3.1
> 	
> 	label rescue
> 		kernel vmlinuz
> 		append - initrd=initrd.img rescue
> 
> Reading the syslinux documentation that should be possible (at least 
> that's what I think). But it doesn't work, can someone shed some light 
> about where I am going wrong ?

Since I got no answers, let's rephrase it :)

Is it correct that the globally defined append is only used for sections 
(labels) that have no append line ?

I was hoping the globally defined append was prepended to the locally 
(section) append. It would be nice if somehow this functionality is 
possible.

Another solution would be to have variables or macros so we can substitute 
recurring options in order to make the isolinux.cfg easier to understand 
and manage. (And prevent human errors)


And I would like to use a page on the wiki to add feature requests, either 
those that are accepted explicitely, or both a list of accepted and 
rejected feature requestsÃ

I like the idea that users can discuss about features and they are being 
documented (and revised by developersÃ) until the design is ok. It might 
help others to contribute an implementation if some feature has been acked 
and the design/functionality is described.

Also a list of rejected features (with a rational and/or links to 
alternatives) seems to be useful.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


More information about the Syslinux mailing list