On 12/28/01 at 10:20 AM, Ewald Wasscher <[EMAIL PROTECTED]> wrote: > David Douthitt wrote:
> >This was the BIG trip up; ROOT= must NOT be /dev/ram or > >/dev/ram0, but anything else. initrd.txt never says > >this... in fact, initrd.txt never considers the fact that > >it might be used for a floppy-based Linux... > At least for 2.4 kernels this isn't completely correct. I > put together a small-as-possible bootloader package and it > runs with root=/dev/ram0. But, I do specify init=/linuxrc, > just like Jacques. >From what I've been reading, what you and Jacques have done is "cheating" :) Here is the two methods compared: EWALD/JACQUES 1. initrd.gz is loaded into /dev/ram0 (ROOT=/dev/ram0) 2. The kernel recognizes root is /dev/ram0, and does NOT run /linuxrc 3. The kernel then releases memory and exits the load process 4. The kernel runs init (INIT=/linuxrc) 5. Your linuxrc performs a pivot_root (if necessary) and runs init by hand. OXYGEN 1. initrd.gz is loaded into /dev/ram0 (ROOT=/dev/ram1) 2. The kernel recognizes that root is NOT /dev/ram0, and then DOES run /linuxrc 3. The kernel then releases memory, performs a pivot_root, and runs /bin/init No unusual kernel parameters required. I might suggest too, something that had occured to me: what about an entry in the inittab that runs /linuxrc? But I digress: I think my way is the most standard way; what do you all think? No need to explain the need for INIT=/linuxrc, etc. -- David Douthitt UNIX Systems Administrator HP-UX, Unixware, Linux [EMAIL PROTECTED] _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel