错误:意外的不一致;手动运行 fsck

She*_*ock 11 filesystem boot

当我启动我的电脑时,以下命令出现在 cmd 空间中:

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

BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in-commands.

(initramfs)_
Run Code Online (Sandbox Code Playgroud)

有人可以帮忙解决这个问题吗?谢谢!

小智 22

  1. 在命令行输入:“fsck /dev/sda6”

  2. 输入y提示进行修复的时候。

https://ubuntuforums.org/showthread.php?t=789454


Man*_*sht 6

To avoid data loss due to disk failure, this command should be given from a live Ubuntu session. Follow these steps:

  • You should burn a live Ubuntu CD.
  • Insert the live CD and try Ubuntu without installing.
  • Open a terminal and type the following command:

    sudo fsck /dev/sda1  
    
    Run Code Online (Sandbox Code Playgroud)
  • When prompted, type y to fix the errors.

That should be all. Your system will boot normally once this fix has been applied.