Docasne si sem odlozim postup, jak se snazim opravit muj problem (jeste netusim, zda to vubec funguje):
Spustim LinuxMint z flashdisku, nastavim heslo roota a prihlasim se pod nim.
1. pripojim zasifrovany rootfs:
cryptsetup open /dev/nvme0n1p1 nvme0n1p1_crypt2. pripojim / k adresari /mnt:
mount -t ext4 /dev/nvme0n1p1_crypt /mnt3. pripojim /boot ktery je na sda1:
mount -t ext4 /dev/sda1 /mnt/bootroot@mint:~# df -h -l|grep /dev/|grep -v fs
/dev/mapper/ventoy 2.9G 2.9G 0 100% /cdrom
/dev/mapper/nvme0n1p1_crypt 916G 116G 762G 14% /mnt
/dev/sda1 927M 214M 649M 25% /mnt/boot
4.
mount --bind /dev /mnt/dev5.
mount --bind /proc /mnt/proc6.
mount --bind /sys /mnt/sys7.
chroot /mntroot@mint:/# df -l -h|grep /dev/|grep -v fs
/dev/mapper/nvme0n1p1_crypt 916G 116G 762G 14% /
/dev/sda1 927M 214M 649M 25% /boot
8.
update-initramfs -d -c -k allroot@mint:/# update-initramfs -d -c -k all
update-initramfs: Generating /boot/initrd.img-6.14.0-35-generic
cryptsetup: WARNING: target 'nvme0n1p1_crypt' not found in /etc/crypttab
9.
update-grub