I currently encounter the initramfs on boot "error". I tried several hours to recover from it.
At the first place I got the error, /dev/mapper/root
does not exist. I got rid of that with this steps:
- Boot into a live distro.
cryptsetup open /dev/nvmexxxx
- get access to my nvme.
- mount the root, usr, tmp, var, dev, sys, proc and boot into
/mnt
.
chroot /mnt
- execute this command
update-initramfs -u -k all
and than update-grub
as well.
- reboot
Now I do not get any alerts at all and the prompt wont show up, where I can enter my password for the nvme to "unlock".
The only clue I have is, when I boot up in recovery mode. Cannot process volume group vg00
. I am not able to find anything in the internet about this error. Also I checked my /etc/crypttab
as well and there is the right UUID. I also checked /etc/fstab
, if I named the tag from cryptsetup
wrong, but this neither.
I also tried this bash script, but with no success.
-- Update output of vgdisplay vg00
--
| Name | Name |
|:------:|:------:|
|VG Name| vg00|
|System ID| |
|Format| lvm2|
|Metadata Areas| 1|
|Metadata Sequence No| 11|
|VG Access | read/write|
|VG Status |resizable|
|MAX LV | 0|
|Cur LV | 6|
|Open LV | 6|
|Max PV | 0|
|Cur PV | 1|
|Act PV | 1|
|VG Size | <476.27 GiB|
|PE Size | 4.00 MiB|
|Total PE | 121925|
|Alloc PE / Size | 121925 / <476.27 GiB|
|Free PE / Size | 0 / 0 |
|VG UUID | affkCZ-Y9aU-7r3p-dTxo-5Y0A-u91e-Nhubij|
Thank in advance!