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

[    3.405676] No filesystem could mount root, tried:  squashfs
[    3.411546] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

可能的原因之一:
uboot中rootfs分配的大小不够

解决:

修改root到一个合适的大小

项目开发,学习交流,欢迎私信

你可能感兴趣的:(iot,linux)