I tried to reproduce it in a Ubuntu 22.04 VM by preparing disks with following options:
``` sudo apt install cryptsetup-bin cryptsetup-initramfs sudo cryptsetup luksFormat --cipher=aes-cbc-essiv:sha256 --hash=sha1 /dev/vdb sudo cryptsetup luksFormat --cipher=aes-cbc-essiv:sha256 /dev/vdc sudo cryptsetup luksFormat --hash=sha1 /dev/vdd ```
Then added break=bottom to the kernel options:
``` sudo vim /etc/default/grub -> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash break=bottom" sudo update-grub ```
Rebooted and tried to open the disks in the initramfs:
``` cryptsetup luksOpen /dev/vdb vdb cryptsetup luksOpen /dev/vdc vdc cryptsetup luksOpen /dev/vdd vdd ```
All opened fine. Need to further investigate. It does look like it's the cipher mode or hash spec.
I tried to reproduce it in a Ubuntu 22.04 VM by preparing disks with following options:
``` initramfs aes-cbc- essiv:sha256 --hash=sha1 /dev/vdb aes-cbc- essiv:sha256 /dev/vdc
sudo apt install cryptsetup-bin cryptsetup-
sudo cryptsetup luksFormat --cipher=
sudo cryptsetup luksFormat --cipher=
sudo cryptsetup luksFormat --hash=sha1 /dev/vdd
```
Then added break=bottom to the kernel options:
``` LINUX_DEFAULT= "quiet splash break=bottom"
sudo vim /etc/default/grub
-> GRUB_CMDLINE_
sudo update-grub
```
Rebooted and tried to open the disks in the initramfs:
```
cryptsetup luksOpen /dev/vdb vdb
cryptsetup luksOpen /dev/vdc vdc
cryptsetup luksOpen /dev/vdd vdd
```
All opened fine. Need to further investigate. It does look like it's the cipher mode or hash spec.