重启后无法访问 ubuntu-gnome:cryptsetup:未知的 fstype;密码或选项错误?

重启后无法访问 ubuntu-gnome:cryptsetup:未知的 fstype;密码或选项错误?

我的笔记本电脑昨晚在火车上没电了,今天早上我把它插上电源,启动后一切正常。进入桌面后,鼠标只能移动,不能点击任何东西。我尝试使用 ctrl + alt + t 访问终端,但没有成功。所以我按住电源按钮重新启动。然后当我尝试登录时,我收到各种错误消息。

在 cryptsetup pw 屏幕上按 F1,在输入密码之前,我看到:

lvmetad is not active yet, using direct activation during sysint
Volume group "ubuntu-gnome-vg" not found
Cannot process volume group ubuntu-gnome-vg

请解锁磁盘 sdc5_crypt”

如果我输入正确的密码:

/run/lvm/lvmetad.socket: failed to connect no such file or directory
WARNING: failed to connect to lvmetad, Falling back on internal scanning.
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-gnome-vg" using metadata type lvm2
/run/lvm/lvmetad.socket: failed to connect no such file or directory
WARNING: failed to connect to lvmetad, Falling back on internal scanning.
2 logical volume(s) in volume group "ubuntu-gnome-vg" now active.
cryptsetup:Unknown fstype; bad password or options?
device-mapper: remove ioctl on sdc5_crypt failed: Device or resource busy

最后一行重复了很多次,然后断断续续

Device sdc5_crypt is still in use

过了一会儿,它继续打印

lvmetad is not active yet, using direct activation during sysint

直到最后打印出来

Gave up waiting for root device. Common problems:
- Boot args
 check root delay
 check root
- Missing modules
ALERT! /dev/mapper/ubuntu--gnome--vg-root does not exist. Dropping to a shell!

这会进入忙碌箱提示。

前几天,我在 /dev/mapper/ubuntu--gnome--vg-root 中遇到了一个坏超级块,我用 fsck 修复了它。这个不太容易。不过 ubuntu--gnome--vg-root 位于 /dev/mapper 中。

我尝试使用早期的内核进行启动,但没有成功。

请帮忙!

答案1

好吧,我终于找到了一个解决方案。我制作了一个 live usb 并尝试从中安装磁盘。我得到的错误与正常情况非常相似 - 我的文件系统类型未知(LVM2_member 或类似的东西)。我突然想到尝试在 liveusb 环境中对 linux 卷执行 fsck,这发现了很多错误。我重新启动它,瞧!它成功了。

希望这能帮助以后有需要的人!

相关内容