我正在做某事,我的文件突然变成了只读的。我无法打开浏览器。我重新启动,然后卡在这个屏幕上(诊断开启):
Please unlock disk sda3_crypt:
[ 15.138216] NET: Registered protocol family 38 WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Reading all physical volumes. This may take a while... Found volume group "ubuntu-vg" using metadata type 1vm2 WARNING: Failed to connect to lvmetad. Falling back to device scanning. 2 logical volume (s) in volume group "ubuntu-vg" now active cryptsetup (sda3_crypt): set up successfully
done. Begin: Running /scripts/local-premount done. Begin: Will now check root file system fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) /dev/mapper/ubuntu--vg-root] fsck.ext4 -a -CO /dev/mapper/ubuntu--vg-root /dev/mapper/ubuntu--vg-root contains a file system with errors, check forced. Inodes that were part of a corrupted orphan linked list found.
/dev/mapper/ubuntu--vg-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options) fsck exited with status code 4
done.
Failure: File system check of the root filesystem failed The root filesystem on /dev/mapper/ubuntu--vg-root requires a manual fsck
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.3) built-in shell (ash) Enter 'help' for a list of built-in commands.
(initramfs) [ 17.891055] thunderbolt 0000:06:00.0: stopping RX ring 0
[
[
17.891847] thunderbolt 0000:06:00.0: disabling interrupt at register 0x38200
17.892710] thunderbolt 0000:06:00.0: stopping TX ring 0 17.893492] thunderbolt 0000:06:00.0: disabling interrupt at register 0x38200
[ 17.894282] thunderbolt 0000:06:00.0: control channel stopped
错误消息表明文件系统包含错误,您应该手动对系统运行 fsck 以尝试修复这些错误。
您需要从实时 USB 启动,然后运行类似
之后,假设它成功,您可以使用智能工具检查您的磁盘健康状况,当然,维护您的数据备份