Article 5NHZ1 Stuck on initramfs with encrypted boot and root partitions

Stuck on initramfs with encrypted boot and root partitions

by
lupe
from LinuxQuestions.org on (#5NHZ1)
I'm setting up a new Devuan Beowulf amd64 system that is installed on a SSD disk with a gpt partition scheme.
/dev/sdb1 is for the EFI fat32 partition
/dev/sdb2 is for the encrypted (cryptsetup luks type 1) /boot
/dev/sdb3 is for the /, encrypted (cryptsetup luks type 2)

The EFI partition is mounted at /boot/efi after opening the encrypted container.

As is, when booting, grub asks for the passphrase for /dev/sdb2.
Then the grub menu is shown.
After pressing Enter, the system asks for the passphrase for /dev/sdb3.
Then it waits until shows the message:

Quote:
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules: ls /dev)
ALERT! /dev/mapper/crypt_boot does not exist. Dropping to a shell!
[/dev/mapper/crypt_boot is in /dev/sdb2]

And then there's an initramfs shell.

It seems that although /dev/mapper/crypt_boot was decrypted in first place for the grub menu, it is not now, at this boot stage, and initramfs cannot find vmlinuz.

What should I do to solve this issue?latest?d=yIl2AUoC8zA latest?i=2tkX79LdNNA:2TtZ56MYw9E:F7zBnMy latest?i=2tkX79LdNNA:2TtZ56MYw9E:V_sGLiP latest?d=qj6IDK7rITs latest?i=2tkX79LdNNA:2TtZ56MYw9E:gIN9vFw2tkX79LdNNA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments