Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在启动之前,我在 Ubuntu 17.04 上遇到了错误。它说:“意外的不一致,手动运行 FSCK”。所以我在谷歌找到问题的解决方案后输入: fsck /dev/sda2 。重新启动后,我的系统正常工作,没有任何错误。我的问题是: fsck /dev/sda2 是什么意思?
fsck是linux文件系统检查命令。您可以使用它来检查文件系统中是否有任何错误或尝试修复错误。man fsck了解更多。
fsck
man fsck
dev/sda2是导致错误的驱动器。该a部分是指第一个磁盘,因此很可能是您从中引导的磁盘,而该2部分是指第二个分区。
dev/sda2
a
2
没有更多细节,很难说出实际问题是什么。可能是驱动器损坏或快要死了。如果可能,请尝试从中备份您的数据。