From: Andrew Morton <akpm@osdl.org>
To: "H. J. Lu" <hjl@lucon.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Initrd problem with 2.6 kernel
Date: Thu, 7 Aug 2003 17:32:30 -0700 [thread overview]
Message-ID: <20030807173230.13f57349.akpm@osdl.org> (raw)
In-Reply-To: <20030807223019.GA27359@lucon.org>
"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".
next prev parent reply other threads:[~2003-08-08 0:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-07 22:30 H. J. Lu
2003-08-08 0:32 ` Andrew Morton [this message]
2003-08-08 10:49 ` Herbert Xu
2003-08-08 15:23 ` H. J. Lu
2003-08-08 20:52 Andrey Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030807173230.13f57349.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=hjl@lucon.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®