Re: Patch to support initrd with dynamic ramdisks.

Matthias Urlichs (smurf@noris.de)
7 Dec 1996 01:38:22 +0100


In linux.dev.kernel, article <199612061855.MAA00609@wind.enjellic.com>,
greg@wind.enjellic.com (G.W. Wettstein) writes:
>
> My overall goal was to be able to use a compressed ramdisk and gain
> the functionality of linuxrc without either using loadlin or lilo.
>
Why don't you want lilo? You get a boot prompt from lilo and cann pass
arguments to the kernel... a Good Thing, especially for installation or
rescue floppies.

> 2.) If a linuxrc is found it is executed before the final
> disposition of root is selected. If no change (via
> /proc/sys/kernel/real-root-dev) is specified the ramdisk
> based filesystem is used as root.
>
Actually, when you say "root=/dev/sda1" to LILO, real-root-dev contains
0x801. No problem.

I'm using this setup for standard system boot. LILO loads the kernel and a
compressed RAM disk from hard disk. /linuxrc tries to load all those pesky
SCSI adapters until it finds one that actually works. The rest is loaded
from disk.

-- 
>From a Japanese information booklet about using a hotel air conditioner: 
Cooles and Heates: If you want just condition of warm in your room, please
control yourself.
-- 
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP Nürnberg 
Schleiermacherstraße 12   \   Linux+Internet   /   EMail: urlichs@noris.de
90491 Nürnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="http://info.noris.de/~smurf/finger">here</A>.    42