From: Ben Collins <bcollins@debian.org>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Differences between 2.2.x and 2.4.x initrd
Date: Tue, 13 Nov 2001 15:03:17 -0500 [thread overview]
Message-ID: <20011113150317.G329@visi.net> (raw)
In-Reply-To: <20011113143947.F329@visi.net> <3BF1794B.D5E584D0@mandrakesoft.com>
In-Reply-To: <3BF1794B.D5E584D0@mandrakesoft.com>
On Tue, Nov 13, 2001 at 02:49:31PM -0500, Jeff Garzik wrote:
> Ben Collins wrote:
> > Basically what we have is a kernel image with ramdisk and initrd
> > enabled, and a root disk image slapped on the end that is loaded via
> > initrd.
> >
> > On 2.2.x, this works without problems; the ramdisk is loaded, and
> > /sbin/init is executed. However, with 2.4.x, it's quite different.
> >
> > It loads the initial ramdisk, mounts it fine, tries to execute /linuxrc
> > (same as in 2.2.x, but it isn't there, so it continues), and then
> > complains with this:
> >
> > VFS: Mounted root (ext2 filesystem).
> > VFS: Cannot open root device "" or 02:00
> >
> > For some reason it is trying to mount /dev/fd, and totally forgets
> > about /dev/ram. If I pass root=/dev/ram to the command line, it works
> > fine, but I don't want to have to do this :)
>
> hrm, if your root filesystem is indeed in RAM, then root=/dev/ram seems
> appropriate on both 2.2.x and 2.4.x. That's what 2.2.x and 2.4.x
> Documentation/initrd.txt seem to indicate to me, anyway.
Well, the point being that 2.2.x worked implicitly, and 2.4.x doesn't. I
don't want to have to tell people who have been using tilo forever and a
day that they now have to add additional command line to get it to work
with 2.4.x.
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
next prev parent reply other threads:[~2001-11-13 20:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 19:39 Differences between 2.2.x and 2.4.x initrd Ben Collins
2001-11-13 19:49 ` Jeff Garzik
2001-11-13 20:03 ` Ben Collins [this message]
2001-11-13 20:50 ` Herbert Xu
2001-11-13 21:34 ` Ben Collins
2001-11-13 22:48 ` Jeff Garzik
2001-11-14 1:27 ` Ben Collins
2001-11-14 1:48 ` Ben Collins
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=20011113150317.G329@visi.net \
--to=bcollins@debian.org \
--cc=jgarzik@mandrakesoft.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.