我正在正常使用我的Ubuntu 2015.04(带有ecryptfs加密用户主目录)笔记本电脑时,突然硬盘变成了只读模式。
我重新启动后,现在卡在这个界面上:
系统日志中的有趣部分:
我重新启动后,现在卡在这个界面上:
[ 0.703206] ACPI PCC probe failed.
starting version 219
error: /dev/sdb: No medium found
error: /dev/sdb: No medium found
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default or ^D to
try again to boot into default mode.
root@nico:~#
系统日志中的有趣部分:
-- Unit systemd-fsckd.service has begun starting up.
system-fsck[475]: /dev/sda1 contains a file system with errors, check forced.
kernel: ACPI warning: \_SB_.PCIO.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20141107/nsarguments-95)
kernel: ACPI warning: \_SB_.PCIO.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20141107/nsarguments-95)
kernel: thinkpad_acpi: EC reports that Thermal Table has changed
system-fsck[475]: /dev/sda1: Inodes that were part of a corrupted orphan linked list found.
system-fsck[475]: /dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
system-fsck[475]: (i.e., without -a or -p options)
system-fsck[475]: fsck failed with error code 4.
system-fsck[475]: Running request emergency.target/start/replace
systemd[1]: system-fsck-root.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start File System Check on Root Device
-- Subject: Unit system-fsck-root.service has failed
我不确定是ACPI问题还是磁盘问题。我尝试更新我的联想Thinkpad T520的最新BIOS,但它没有更好地启动。
如何解决这个问题,或者如果磁盘快要损坏了,如何至少将我加密的主目录数据导出到外部驱动器?
fsck /dev/sda1
并与其交互,让它显示出找到的错误并选择修复它们。首次运行时始终选择“no”来查看有多少错误。如果这些错误似乎只涉及无关紧要的文件,比如日志文件,再次运行时选择“yes”。这可能会导致文件丢失,所以如果你可以先将分区复制到USB设备上,最好这样做。 - meuh