JFFS2 as root FS

Vipin Malik vipin.malik at daniel.com
Wed Apr 18 13:11:39 EDT 2001


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



To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list