You are not logged in.
I would like to automount my Truecrypt encrypted HDDs at boot without having to enter my password for each HDD. I configured my installation as was stated in the wiki, but I have encountered a problem: At every boot I am asked for password for each of the disks, even though i put my plain password in a file - they have the same password (/etc/TCpassword) and configured crypttab to read that file. Did I err somewhere ?
My crypttab:
# NOTE: Do not list your root (/) partition here, it must be set up
# beforehand by the initramfs (/etc/mkinitcpio.conf).
# <name> <device> <password> <options>
# home UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37 /etc/mypassword1
# data1 /dev/sda3 /etc/mypassword2
# data2 /dev/sda5 /etc/cryptfs.key
# swap /dev/sdx4 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
# vol /dev/sdb7 none
cryptboot /dev/sda2 none luks
HDD_1 /dev/sdb2 /etc/TCpassword tcrypt
HDD_2 /dev/sde2 /etc/TCpassword tcrypt
HDD_3 /dev/sdd3 /etc/TCpassword tcrypt
HDD_4 /dev/sdf1 /etc/TCpassword tcrypt
HDD_5 /dev/sdg1 /etc/TCpassword tcrypt
HDD_6 /dev/sdh2 /etc/TCpassword tcrypt
Seagate /dev/sdc2 /etc/TCpassword tcryptMy fstab:
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/mapper/MyVol-root
UUID=6519ab96-8add-4991-9df7-7adaf3e34cf6 / ext4 rw,noatime,data=ordered 0 1
# /dev/mapper/cryptboot
UUID=dfe405c4-5ca8-4cdd-863f-0e08b4c09b7f /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl 0 2
# /dev/sda1
UUID=3765-E251 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/mapper/MyVol-swap
UUID=df7426b8-14fb-4017-9799-ab2cc650ac14 none swap defaults,pri=-2 0 0
# /dev/mapper/HDD_1
/dev/mapper/HDD_1 /mnt/HDD_1 ntfs x-systemd.automount 0 0
# /dev/mapper/HDD_2
/dev/mapper/HDD_2 /mnt/HDD_2 ntfs x-systemd.automount 0 0
# /dev/mapper/HDD_3
/dev/mapper/HDD_3 /mnt/HDD_3 ntfs x-systemd.automount 0 0
# /dev/mapper/HDD_4
/dev/mapper/HDD_4 /mnt/HDD_4 ntfs x-systemd.automount 0 0
# /dev/mapper/HDD_5
/dev/mapper/HDD_5 /mnt/HDD_5 ntfs x-systemd.automount 0 0
# /dev/mapper/HDD_6
/dev/mapper/HDD_6 /mnt/HDD_6 ntfs x-systemd.automount 0 0
# /dev/mapper/Seagate
/dev/mapper/Seagate /mnt/Seagate ntfs x-systemd.automount 0 0Last edited by Yoda007 (2018-02-09 15:16:01)
Offline
Hello and welcome to the community.
I have never had the need to use truecrypt but the first thing that took my attention when I clicked on the wiki link you provided were the two red WARNING boxes.
They tell you that development and maintenance for truecrypt are in the past. Therefore I believe you should maintain the package to your needs if you have any problems.
As well do you have any particular reason for choosing it over veracrypt (again as the warning boxes suggest)?
Cheers!
Offline
Recommend you copy your data out, and use a maintained encryption method such as LUKS.
Offline
My choice is LUKS as well.
Offline