Hi and welcome to the Forum
This will change the device names and UUID’s used:
- The NVMe =
/dev/nvme#n#
with a UUID for the device. - The HD in the USB-C enclosure will most likely become something like
/dev/sda
with a different UUID for the device.
That’s why the encrypted container will not be recognized, because of difference in configuration inside /etc/crypttab
- You should use a simple name in the first column instead of
luks-ac7c561e-98e4-4bdb-a3d5-e2f2dfcb2e61
- Plus instead of
UUID=
in the second column usePARTUUID=
orLABEL=
or device name like/dev/nvme#n#
or similar as appropriate for the device enclosure.
Ofcourse relecting the name in the first column in your fstab
and maybe your kernel command line also…
See: man crypttab
Please edit your OP to use codeblocks for the output of your commands, see:
Do NOT mount under /run/media/
like that via fstab…