Re: JFFS2 as root FS

Vipin Malik
2001-04-18T17:10:53Z

Joakim Tjernlund wrote:

> Hi there
>
> Has anybody managed to get a root FS with JFFS2 to work?

Sure! But as you say that you followed the HOWTO, and since I wrote the
HOWTO,
I guess that something in my procedures tripped you up that worked ok for
me :)

>
> I followed the mtd howto and I have a root partition(with the necessary
> files) and
> all I get is: "Kernel panic: I have no root and I want to scream"
> message.

Hmm, what kernel version are you using? I've never seen that message (I've
seen Kernel panic: Unable to open root..blah blah..)

>
>
> first I tried to use "rdev zvmlinux /dev/mtdblock1", but
> the kernel ignored that an did a NFS mount as usual.

Wait, wait, wait. What do you mean by this? This is *a problem* right
here.

Why is it doing a NFS mount? Please describe your config and what you are
trying to do.
"usual" kernels don't NFS mount their root fs!

> I then
> specified on the kernel commad line: root=/dev/mtdblock1
> and the I got the kernel panic above.

Well, the kernel may not be able to understand the "mtdblock1" device by
name unless you patched
the init/main.c file to list a conversion table from mtdblockxx to a
*device number*.

>
>
> Any Ideas?

These are some.

Vipin