系统安装了 LVM 加密,因此在启动前会要求输入密码。
现在,启动过程失败,并出现以下情况:
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mapper/ubuntu-root does not exist. Dropping to a shell!
BusyBox v1.22.1 (Ubuntu 1:1.22.0-9ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
当然系统是正确的,/dev/mapper/ubuntu-root 现在确实不存在。这是 blkid 的输出:
/dev/sda1: UUID="e3106b58-2400-4c49-abdb-967b1718d3ec" TYPE="ext2" PARTUUID="00082db5-01"
/dev/sda5: UUID="0e81cba9-2bae-4450-9661-e7615782f412" TYPE="crypto_LUKS" PARTUUID="00082db5-02"
其中 /dev/sda1 曾经是 /boot,而 /dev/sda5 是磁盘的其余部分(已加密)。
我接下来该怎么做?(哪里出了问题?还会再次发生吗?)
谢谢,cd。