Re: Multiple kernel boot in linuxboot.cfg

"DaveXXX" <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <001a01c4a0ed$4bf817a0$1400a8c0@wxp>
> Oh, and to add another fly to the ointment, we need to discuss what the 
> new
> linuxboot.cfg should look like. If we can keep backwards and forwards
> compatibility, that would be even better.
> At present, the parser understands lines starting 'kernel', 'initrd', and
> 'append'.  All others are ignored - which at least gives us some

The linuxboot.cfg can look like this:

kernel
initrd
append

kernel
initrd
append

and so on.... a kernel starts a section. initrd and append refer to whatever 
section was started last.
The first section is the defalt one... unless a default parameter is given 
[optional].

This will be compatible with existing installs, provided they start with a 
kernel keyword (which is the default).

in general:

section := sectionstart sectionparameter [sectionparameter...]

sectionstart := kernel <path-to-the-kernel>
sectionparameter := appendparameter | initrdparameter | xxxparameter

appendparameter := append <append-value>
initrdparameter := initrd <initrd-value>
xxxparameter := xxx <xxx-value>

The definition is not perfect, but renders the idea. How do you like it?

DaveXXX 



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.