Hello,

how can I set up Kali Linux to automatically mount a second encrypted hard disk in the laptop?

Under Xubuntu 20.04 (and other Ubuntu dervies) it works like this, but in Kali it never worked before, the 2nd hard disk always had to be mounted "by hand", if it worked there at all.

in /etc/crypttab
Code:
2TB /dev/sda1 /home/user/.vera tcrypt-veracrypt
2TB - Name of the hard disk
/dev/sda1 - Location of the partition/hard disk
/home/User/.vera - file with password

in /etc/fstab
Code:
/dev/mapper/2TB /media/2TB ext4 defaults 0 0
/dev/mapper/2TB - the first part remains, then the name of the hard disk follows as in /etc/crypttab, here 2TB
/media/2TB - Location where the hard disk is mounted
ext4 - file system, alternatively "auto" works

add to file /home/user/.vera

Password, all in one line WITHOUT line break.

I want to switch to Kali, and this one has to work...

Thanks...