当我使用我的Ubuntu 2015.04 (加密的私密用户家庭)笔记本电脑时,突然,硬盘变成只读的。
我重新启动了,现在它被困在这上面了:
[ 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还是磁盘问题。我试着更新到最新的BIOS --我的联想Thinkpad T520,但它的引导效果并不好。
如何解决此问题,或者如果磁盘正在崩溃,如何至少将数据从加密的家中导出到外部驱动器?
发布于 2017-08-21 05:20:06
fsck /dev/sda<number>
并按enter (根据包含文件系统错误的目录从日志中查找<number>
)y
到所有要修复它们的错误exit
发布于 2018-12-19 08:51:20
在终点站
sudo -i
(如果不是根用户,则跳过此操作)
fdisk -l
找你的根驱动器。
我在raspberry pi中使用了Kali Linux,所以我的看起来像mmcblk0p2
而不是sdb1
..。看看你的。
`umount /dev/mmcblk0p2`
fsck -y /dev/mmcblk0p2
poweroff
https://askubuntu.com/questions/651577
复制相似问题