Re: launching a kernel from the terminal

Oliver Xymoron (oxymoron@waste.org)
Mon, 11 Oct 1999 22:08:26 -0500 (CDT)


On 11 Oct 1999, H. Peter Anvin wrote:

> > It is possible to launch a kernel + ramdisk from the console line , just
> > one time without using lilo, or is there a "one shot" option in lilo ?
>
> The console line only exists in a boot loader such as LILO, LoadLin,
> or SYSLINUX, so you definitely need a boot loader of some sort. What
> boot loader you need depends on what you want to load *from*.

Sounds like he wants a loadlin that runs from within Linux. Doesn't exist.

It's an ugly problem but it might be doable with a kernel module. Load a
memory image, unmount all drives, then call into the module which acts as
a complicated halt routine which puts the image in the proper place in
memory. Then, rather than halting, it switches back to real mode and jumps
into the new kernel image.

Has some utility, but probably not enough to make it worth writing.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/