树莓派报错Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2)
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
树莓派系统启动或者刷系统的时候会出现:
Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2)
这是系统文件损坏的问题,原因是sd卡中的内容被不小心修改,主要是mmcblk0p2分区,将系统sd卡取下,通过读卡器在另一个linux系统下挂载,
查看区挂载情况,查看SD卡的分区
fdisk -l
例如SD卡分区为: /dev/sdb2
使用以下命令修复
fsck.ext4 -v /dev/sdb2
或者:
fsck -f -v -r /dev/sdb2
这时候会出现以下界面:
当提示修复成功后出现上面这个页面时说明已经修复好系统文件。
当我们进行修复的时候也可能会遇到下面这种问题:
/dev/nvme0n1p2 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck
这是因为e2fsck版本过低的问题,查看一下版本:
e2fsck -V
随后下载更新新的版本:
# 命令下载,也可手动下载
wget -c https://nchc.dl.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.45.0/e2fsprogs-1.45.0.tar.gz
# 解压
tar xzf e2fsprogs-1.45.0.tar.gz
# 编译
./configure
make
make install
完成,解决上面e2fsck版本低的问题。




A beautiful web dashboard for Linux
最近提交(Master分支:5 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
所有评论(0)