Re: Initrd Question

From: Chris Lingard
Date: Fri Feb 13 2004 - 15:37:02 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/