Cramfs root file system

Dennis Khoo dkhoo at atmxdsl.com
Fri Nov 22 06:17:51 EST 2002


Flavio,

> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 02:00
>
> Now, is it possible to do what Im trying to do, if so are there any
> suggestions as to what I'm doing wrong?
>

I saw the same error when I was trying to mount jffs2 as root.  Maybe your
problem is similar to mine.

My solution:

1)   in kernel file init/main.c 's dev_name_struct,  add entry for
 "mtdblock", 0x1f00
if it's not there already.

2) in ppcboot =>setenv bootargs init=/linuxrc root=/dev/mtdblockx

Hope this helps.

Dennis Khoo
Software Engineer
Adapcom, Inc


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list