Skip to contentSkip to conversation

boot error using /dev/mtdblock0

DISCUSSION rolf liu 2 participants 3 messages Jul 18, 2005 Memory technology devices (MTD)

lore
Share & tools
lore

rolf liu

author
#0 lore raw

I am using /dev/mtdblock0 as the root, and put a jffs2 image on it. but when the kernel boots up, it panic:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Any suggestion?

#1 lore raw
Quoted 6 lines · rolf liu

I am using /dev/mtdblock0 as the root, and put a jffs2 image on it. but when the kernel boots up, it panic:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Any suggestion?

Put this on your kernel command line:

rootfstype=jffs2

We really need to update the FAQ with that. *sigh*

josh

author
#2 lore raw

thanks
It works now

Quoted 17 lines · Josh Boyer
Quoted 6 lines · rolf liu

I am using /dev/mtdblock0 as the root, and put a jffs2 image on it. but when the kernel boots up, it panic:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

Any suggestion?

Put this on your kernel command line:

rootfstype=jffs2

We really need to update the FAQ with that. *sigh*

josh