Re: Initrd Question

Chris Lingard
2004-02-13T20:34:23Z

On Friday 13 February 2004 3:12 am, Jim Gifford wrote:
> I wrote the initrd hint for the Linux from Scratch. I have followed the
> initrd.txt exactly to the letter. The problem I have noticed is with one of
> the commands, and I checked other mkinitrd scripts and they have the
> workaround in it.

With regards to the initrd.txt hint. (2.4.x kernels)

It does not work with the " root=/dev/rd/0 (with devfs) "
unless { "rd/0", 0x0100 }, is added to the root_dev_names[]
__initdata array; (init/do_mounts.c)

You need to use "root=/dev/ram0" with or without devfs. (or change
init/do_mounts.c). Patches to either code or documentation if you want.

Chris