[syslinux] .cfg LABEL usage correct?

H. Peter Anvin hpa at zytor.com
Mon Nov 17 09:31:30 PST 2003


McMahon, Chris wrote:
> Hello again... 
> 	I'd like to confirm that I really understand what the LABEL property
> in the PXELINUX config file is doing:  
> 	Assume that at the "boot:" prompt, I want to issue the command
> "memdisk initrd=floppy1", and I want to attach this command to label "A".
> If I were to put this in the config file: 
> 
> LABEL A 
> 	KERNEL memdisk 
> 	APPEND initrd=floppy1 
> 
> Then if the user entered "A" at the "boot:" prompt, "boot:" would actually
> execute "memdisk initrd=floppy1" instead of attempting to execute "A"?  
> 	Do I understand LABEL correctly?   
> -Chris   
> 

Yes, that is correct.

	-hpa




More information about the Syslinux mailing list