rootfs挂载失败(error -5)的一个可能

bash[ 复制代码
[    4.070602] block ubiblock0_4: created from ubi0:4(rootfsB)

[    4.074961] ubiblock: device ubiblock0_4 (rootfsB) set to be root filesystem

[    4.082820] clk: Not disabling unused clocks

[    4.086143] usb0_vbus: disabling

[    4.089341] usb1_vbus[    4.099482] VFS: Cannot open root device "(null)" or unknown-block(254,0): error -5

[    4.105758] Please append a correct "root=" boot option; here are the available partitions:

[    4.114075] 0100           30000 ram0 [    4.117555]  (driver?)

[    4.119904] 1f00            1024 mtdblock0 [    4.123916]  (driver?)

[    4.126240] 1f01             256 mtdblock1 [    4.130227]  (driver?)

[    4.132599] 1f02             256 mtdblock2 [    4.136565]  (driver?)

[    4.138913] 1f03             256 mtdblock3 [    4.142923]  (driver?)

[    4.145251] 1f04            1024 mtdblock4 [    4.149238]  (driver?)

[    4.151616] 1f05          251904 mtdblock5 [    4.155576]  (driver?)

[    4.157924] 1f06            6912 mtdblock6 [    4.161934]  (driver?)

[    4.164262] 1f07             512 mtdblock7 [    4.168249]  (driver?)

[    4.170598] 1f08            2976 mtdblock8 [    4.174608]  (driver?)

[    4.176936] 1f09           33480 mtdblock9 [    4.180929]  (driver?)

[    4.183294] 1f0a             124 mtdblock10 [    4.187347]  (driver?)

[    4.189696] 1f0b            2852 mtdblock11 [    4.193792]  (driver?)

[    4.196121] 1f0c           30256 mtdblock12 [    4.200194]  (driver?)

[    4.202566] 1f0d             124 mtdblock13 [    4.206619]  (driver?)

[    4.208966] fe00           30256 ubiblock0_4 [    4.213150]  (driver?)

[    4.215479] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(254,0)

报-5错误有几种可能,一个是驱动未正确加载或没编译,一个是有坏块或刷入未完成,前两种是常见情况,最后一种是SquashFS/UBIFS签名不匹配,不常见,但我碰到的就是这种情况,原因是使用的打包工具mksquashfs4使用了上一个sdk版本,替换成新版重新打包刷入后rootfs成功挂载

相关推荐
杨云龙UP5 小时前
Oracle 中 NOMOUNT、MOUNT、OPEN 怎么理解? 在不同场景下如何操作?_20260402
linux·运维·数据库·oracle
Amctwd5 小时前
【Linux】OpenCode 安装教程
linux·运维·服务器
wwj888wwj6 小时前
Docker基础(复习)
java·linux·运维·docker
2401_892070986 小时前
【Linux C++ 日志系统实战】日志消息对象 LogMessage 完整实现:流式拼装 + 标准化输出
linux·c++·日志系统·流式日志
信息安全专家9 小时前
sigmastar SSD222D编译问题总结2-dash问题
linux·嵌入式硬件·dash
前端之虎陈随易9 小时前
Lerna-Lite 5.0发布解析
linux·运维·服务器
RisunJan9 小时前
Linux命令-nano(字符终端文本编辑器)
linux·运维·服务器
和小潘一起学AI9 小时前
【无标题】
linux·开发语言·python