[lkml]   [2000]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Q: Linux rebooting directly into linux.
Erik Andersen <> writes:

> On Tue Nov 14, 2000 at 07:59:18AM -0700, Eric W. Biederman wrote:
> >
> > All mkelfImage does is the pasting of initrd's, command lines,
> > and just a touch of argument conversion code.
> You can link in an initrd using linker magic, i.e.
> $(OBJCOPY) --add-section=image=kernel --add-section=initrd=initrd.gz

Hmm this is certainly possible.
My impression is that this doesn't currently work on x86.
I would love to be wrong.

> This is done in ppc/boot/Makefile for example. It might be a nice thing
> to add a .config option to optionally specify an initrd to link into
> the kernel image. Similarly, several architectures have a CONFIG_CMDLINE
> which could also do the job (see arch/ppc/ for example).
> Presumably, by doing such things you could avoid needing to use mkelfImage.

Agreed. And I would like to see that.
With the 2.4 code freeze it is too late to do that today.
Also mkelfImage gives me backwards compatibility for now.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:1.994 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site