public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Differences between 2.2.x and 2.4.x initrd
@ 2001-11-13 19:39 Ben Collins
  2001-11-13 19:49 ` Jeff Garzik
  2001-11-14  1:48 ` Ben Collins
  0 siblings, 2 replies; 8+ messages in thread
From: Ben Collins @ 2001-11-13 19:39 UTC (permalink / raw)
  To: linux-kernel

I've come across a difference in how initrd is handled in 2.2.x and
2.4.x. This related directly to TILO (sparc TFTP image with ramdisk).

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 :)

I can't seem to find the relevant place where this broke. Any ideas?

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-11-14  1:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox