You are not logged in.
Hello guys,
since I'm using Luks for my whole system I'd like to backup it on my external hard drive that should be encrypted too.
So I used the following commands:
cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/sdb
cryptsetup luksOpen /dev/sdb external
mkfs.ext4 /dev/mapper/external
I'm then able to mount it with
mount -t ext4 /dev/mapper/external /media/external
But I want to automise that, means my external drive should be mounted automatically by system (I guess it's only via udev possible?) after it was plugged in, without any passphrase scan and with complete user access, not just root.
How could I achieve that?
Thank you for your help.
Offline