Ubuntu启动失败提示:fsck error on boot: /dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

问题解决:
root-file-system-requires-manual-fsck
Ubuntu无法启动提示The root filesystem on /dev/sda2 requires a manual fsck

电脑卡住了,然后直接 reboot,重启 ubuntu,发生了奇怪的现象。提示我说 /dev/sda2 need a manual fsck??? 啥情况?
经过百度,找到了解决方法,在此分享,希望能有帮助。

问题描述

(Initramfs): /dev/sda1 contains a file system with errors, check forced.
Inodes that were a part of a corrupted orphan linked lost found.
/dev/sda2 : UNEXPECTED INCONSISTENCY; RUN fsck manually.(I.e .,
without -a or -p options). fsck exited with status code 4. The root
filesystem on /dev/sda2 requires a manual fsck

在这里插入图片描述

这是因为非正常关机造成系统文件损坏,导致磁盘检测不通过,执行以下命令进行修复

解决方法

From there, you should be able to drop to some maintenance shell (if not already opened), where you may run fsck -yf /dev/sda2.

  1. 输入以下指令,手动修改 fsck
    (initramfs) fsck -yf /dev/sda2
    ● Here y in -yf is for yes wherever the system asks for y/n choice
    ● The -f is to force check a filesystem, even if it is seen as clean. More of a reflex, might not be required when your system refuses to boot on that partition.
    ● 注意:命令中的/dev/sda2是开机时提示的问题磁盘,需根据实际提示信息就行修改
    在这里插入图片描述

  2. 退出指令,正常启动
    看到下面图片表示修复完成,这时重启一下服务器即可
    在这里插入图片描述

(initramfs) exit

问题解决!!!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值