При загрузке получал сообщение: Gave up waiting for root file system device ...
Решение нашёл здесь: system-no-longer-boots-gave-up-waiting-for-root-device-initramfs-dev-mappe
Загрузиться до initramfs
cryptsetup luksOpen /dev/sda3 sda3_crypt
lvm vgchange -a y
exit
Система должна загрузиться
Проверить crypttab и fstab
sudo nano /etc/crypttab
sudo nano /etc/fstab
update-initramfs -k all -c
Не должно быть ошибок
Перезагрузиться
Boot from a Live DVD/USB (USB will be a lot faster).
Open a Terminal and type the following:
sudo -i
cryptsetup luksOpen /dev/sda5 sda5_crypt
# (do any lvm management you need here, I didn't need any.)
mkdir /mnt/system
mount /dev/mapper/ubuntu--vg-root /mnt/system
mount /dev/sda2 /mnt/system/boot
mount /dev/sda1 /mnt/system/boot/efi (May or may not be needed.)
for i in /dev/pts /dev /proc /sys; do mount -B $i /mnt/system$i; done
chroot /mnt/system
update-initramfs -k all -c
exit
for i in /dev/pts /dev /proc /sys; do umount /mnt/system$i; done
umount /mnt/system/boot/efi # (If you have UEFI.)
umount /mnt/system/boot
umount /mnt/system
Reboot and hope it works.
Open a Terminal and type the following:
sudo -i
cryptsetup luksOpen /dev/sda5 sda5_crypt
# (do any lvm management you need here, I didn't need any.)
mkdir /mnt/system
mount /dev/mapper/ubuntu--vg-root /mnt/system
mount /dev/sda2 /mnt/system/boot
mount /dev/sda1 /mnt/system/boot/efi (May or may not be needed.)
for i in /dev/pts /dev /proc /sys; do mount -B $i /mnt/system$i; done
chroot /mnt/system
update-initramfs -k all -c
exit
for i in /dev/pts /dev /proc /sys; do umount /mnt/system$i; done
umount /mnt/system/boot/efi # (If you have UEFI.)
umount /mnt/system/boot
umount /mnt/system
Reboot and hope it works.