Can't boot after udpate

Hi,
I made some update and now I can’t boot into my system
When I turn on my pc it goes => the logo of my hardware then luks asking for passphrase to uncrypt my disks and if the password is right it tell me :

Warning: /lib/modules/5.10.2-2-manjaro/modules.devname not found - ignoring 
Cannot initialize device-mapper. Is dm_mod kernel module loaded ?
Cannot use device luks-5ff..., name is invalid or still in use.

A password is required to access the luks-5ff... volume : 
Enter passphrase for dev/sda1

And when I enter the passphrase, it respond :

Cannot initialize device-mapper. Is dm_mod kernel module loaded ?
Cannot use device luks-5ff..., name is invalid or still in use.

I tried to look up for a solution but I can’t even enter some command
I tried to change to TTY with ctrl+alt+Fx but none of them worked …

What can I do ?
Thanks in advence for your help

reboot with USB iso manjaro
for chroot and crypt see this

So I boot into my USB key with manjaro
When I’m on the desktop I do all the things you said starting with sudo su, mount the disks and then install grub
And after a reboot, I would be able to boot like always with all my data
That’s it ?
Sorry if it seems redundent I just want to be sure to not reinstall manjaro and delete my data !

after entry chroot

chroot /mnt
pacman -Syyu
mkinitcpio -P
sync
exit ( quit chroot )

So I don’t do the following command ?

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose

efibootmgr -v

And how know the name of the swap disk ?

i only give this link to enter and chroot with dm crypt partitions
see my reply before

OK so I did everything but the PacMan -syyu didn’t work (failed to synchronize all databases) even if I connected to the Internet and the mkinitcpio -p did his thing but when it try to build the 5.10.2-2 and the previous one it said “module not found”
When I boot again it didn’t change, I got the same error

Try to reinstall the kernel after chrooting again:

sudo pacman -S linux510

on pacman -Syyu what error appears ?

It says

   Error : failed retrieving file 'xxx' from xxxx : could not ressolve host : xxx

For every enter

I tried the

Sudo pacman -s linux510

And it respond I’m running on an old kernel and I need to turn off my computer
So I did it
And work !
Thanks a lot @stephane and @moson :tada::ok_hand:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.