日期:2014-05-16  浏览次数:20637 次

移植linux3.3.5时候出现的问题
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0013bb0>] (unwind_backtrace+0x0/0xf8) from [<c01d3dc8>] (panic+0x8c/0x1e0)
[<c01d3dc8>] (panic+0x8c/0x1e0) from [<c027cca4>] (mount_block_root+0x180/0x2b4)

[<c027cca4>] (mount_block_root+0x180/0x2b4) from [<c027cf48>] (prepare_namespace
+0x10c/0x1cc)
[<c027cf48>] (prepare_namespace+0x10c/0x1cc) from [<c027c294>] (kernel_init+0xf0
/0x130)
[<c027c294>] (kernel_init+0xf0/0x130) from [<c000f00c>] (kernel_thread_exit+0x0/
0x8)

------解决方案--------------------
如果你的分区注册正确
Please append a correct "root=" boot option; here are the available partitions:

下面会打印出识别的分区的,而现在没有打印出分区信息