我正在 Atom 上处理一个小网页,突然它不允许我保存文件,说只读模式已打开。我尝试在终端中更新,但这也不让我这么做,所以我重新启动,希望能解决问题。相反,我遇到了更多的问题。
第一个错误出现在 BIOS 中:HP error 501
。我按 Enter 键继续,然后弹出以下屏幕:
Loading, please wait...
/dev/sda1: recovering journal
/dev/sda1 contains a file system with errors, check forced.
/dev/sda1:
Deleted inode 1048599 has zero dtime. FIXED.
/dev/sda1: 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
modprobe: module ehci-orion not found in modules.dep
BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
(initramfs) _
现在我被困在(initramfs)
命令提示符下。
如何返回我的系统和文件?
答案1
写入fsck /dev/sdax
(取决于被感染的驱动器“sda1,sda2等”)然后输入 然后它会问你很多编辑问题,只需输入“是”,然后重新启动它。