Re: Initrd problem with 2.6 kernel

From: Andrew Morton (akpm@osdl.org)
Date: Thu Aug 07 2003 - 19:32:30 EST


"H. J. Lu" <hjl@lucon.org> wrote:
>
> There is a chicken and egg problem with initrd on 2.6. When
> root=/dev/xxx is passed to kernel, kernel will call try_name, which
> uses /sys/block/drive/dev, to find out the device number for ROOT_DEV.
> The problem is /sys/block/drive may not exist if the driver is loaded
> by /linuxrc in initrd. As the result, /linuxrc can't use
> /proc/sys/kernel/real-root-dev to determine the root device number.

You should be able to use the numeric identifier:

        root=03:02

that's major:minor, and it recently changed. In 2.6.0-test2 that would be
"0302".

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:41 EST