Re: Multiple kernel boot in linuxboot.cfg

David Pye <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
On Wednesday 22 September 2004 11:55, Marko Friedemann wrote:
> [email protected] schrieb:
> > Would it be feasible to extend cromwell and the linuxboot.cfg so that it
> > can load different kernels from a fatx and/or native partitions?
>
> It can do that already.
> Just put up one kernel w/ linuxboot.cfg in your /boot directory (native)
>   and the other in e:/debian (fatx) and cromwell will display two drive
> symbols, the one for fatx on the left and the native one second from the
> left. Has been working like a charm for quite a while now.
>
> Besides, I reckon dmp is reworking the whole menu system anyway, so it
> will probably become even more flexible.

Hehe, yup.

There were a couple of problems with having multiple kernel options (a couple 
still exist, but the main one is solved).

The icon-menu was very inflexible - previously, you could have four items, and 
they are statically created. Hence, having more than one fatx, or more than 
one, native option, is slightly problematic. Let alone, more than four ;)

The 'redone' icon menu can have unlimited numbers of icons, with you being 
able to scroll left and right through them, if there are more than four.  
They can also be added at runtime, so parsing linuxboot.cfg and adding an 
icon per 'bootoption' within it is possible.

There is also an embryonic heirarchical text menu system, which is not yet 
finished.

The linuxboot.cfg 'parser' needs upgrading to handle multiple kernel/initrd 
combos, but there's no huge obstacle to this work. If anyone is interested in 
helping with this, do let me know, and I'll be happy to give some pointers.

Otherwise, it's somewhere on my to-do list, but I can't promise anything 
fixed.

Regards,

David

> Marko

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s-: a-- C++ UL++++ P L+++ E--- W++ N+ o+ K- w---
O M V- PS+ PE+ Y+ PGP t 5- X+ R- tv+ b+ DI++ D+
G+ e++ h--- r++ y++
------END GEEK CODE BLOCK------


-------------------------------------------------------
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.