Questions tagged [crypttab]
The crypttab tag has no summary.
29 questions
1 vote
1 answer
85 views
Can a LUKS volume on a USB drive be opened at boot?
I have a new install of Debian 13 with a LUKS-encrypted hard drive (/dev/sda) with LVM. I am trying to add another encrypted drive to the LVM volume group as a new physical drive. For this, I am ...
3 votes
2 answers
776 views
Does crypttab's "key-slot" option mean LUKS will try that keyslot "only", or "first"?
I am following the Debian dev's guide to full disk encryption. I am currently on Section 4, step 3- editing /etc/crypttab. In the guide, in section 3 they set up keyslot 0 for something else and now ...
0 votes
1 answer
358 views
crypttab seems to not been active
After I upgraded from Linux Mint 21.1 to 21.2 the newest initrd stopped working. The older one works fine. Regenerating the initrd doesn't help. On startup with the newest initrd the error tells that ...
1 vote
1 answer
781 views
Mount a LUKS encrypted EXT4 formated image file when mount folder is accessed (using autofs)
Here's what I'd like to do. Use autofs to automount an encrypted luks image file when the target directory is accessed. I've been playing with both fstab and crypttab, but to no luck. I do NOT want to ...
0 votes
1 answer
1k views
Systemd, crypttab and starting units after decryption
I have an encrypted partition that I configured with crypttab like /etc/crypttab: name UUID=<THE_UUID> none luks,noauto and /etc/fstab UUID=<THE_UUID> /mnt/mountpoint ext4 defaults,noauto ...
4 votes
1 answer
3k views
cryptsetup ignoring unknown option 'tpm2-device'
I have been trying to get LUKS disk encryption with TPM2 working on an HP EliteBook 850 G8 running Kali Linux 2022.3. However, I am struggling to get TPM2 disk decryption added to Initramfs. Steps I ...
2 votes
0 answers
845 views
How to make boot drive encryption work with PKCS#11 Smart card in Fedora (35)
On Fedora Workstation 35 here. systemd v249 I am trying to unlock root LUKS volume with smart card on BOOT, but it does not work. I added to /etc/crypttab mydisk UUID=496e1cd5-712f-44ab-ad02-...
2 votes
0 answers
9k views
How to mount a btrfs subvolume via fstab? Has the root subvolume to be already mounted elsewhere?
I'm trying to mount two btrfs subvolumes from a same (luks-encrypted) device via the entries in fstab. The crypttab entry must be correct, since the system asks for the password on boot. But then it ...