bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting rid of serverboot


From: Roland McGrath
Subject: Re: Getting rid of serverboot
Date: Thu, 16 Aug 2001 20:20:11 -0400 (EDT)

We already have a plan for this, and if you'd like to implement it that
would be great.  We've had this plan in mind since the beginning when the
multiboot spec was being developed.

The first step is to rewrite boot_script.[ch] so that it can really be used
in the kernel.  I started to do this but never finished.  Maybe I'll go at
it tonight and send you the results to debug and finish.

That's really all that needs to be done to be able to boot this way.  The
idea is that the lines that now make up the boot script will be the module
string for each module.  The kernel will use the boot_script.c code to
parse each of these strings and apply it (i.e. the ELF loader filling up a
task) to the multiboot module data (i.e. file contents loaded by GRUB).  

Take each line in your boot script and put "module " in front of it, and
you have the GRUB commands to load up the files as multiboot module and the
strings to direct the kernel what to do with them.  

That's all there is.  Once we have this, we might like to have some GRUB
extensions to make it easier (avoid copying the boot-script boilerplate
into menu.lst).  But that is just gravy.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]