I googled the cryptopen and if the command I'm supposed to enter is the cryptsetup luksOpen /dev/xvdi2 name, then it says access denied, I can seemingly unencrypted it from the gnome-disks GUI but not mount it.
However I tried booting up the old hdd again and now it works as long as the ssd is connected too but all my data is gone and is just a clone of the new ssd, without the ssd connected it doesn't boot up like before, I guess it has been formatted then, is there a way to recover some of the lost information? I only really need a few files.
Mounted it as oldhdd, using
ls -al /dev/mapper/*-private says there is no such directory
ls -al /dev/mapper/oldhdd-private says the same
ls -al /dev/mapper/oldhdd returns only one line
lrwxrwxrwx 1 root root 7 May 31 17:39 /dev/mapper/oldhdd -> ../dm-0
Tried those 3 ways with and without sudo
I really appreciate you helping me, sorry to be so dumb for these stuff, I manage just fine for every day things.