You are not logged in.
Hi,
someone an idea where to check else? I want to open an encrypted partition at boot time with a key, even though it's rightly configured in crypttab, I always get a password prompt?
The keyfile works. I don't use systemd or plain-mode and it works with other encrypted partitions.
Thx in advance,
napterk
Last edited by napterk (2018-05-20 07:56:54)
Offline
Did you also encrypt /boot ?
Offline
Did you also encrypt /boot ?
This partition is not associated with any system essential root partitions. But no /boot is not encrypted.
Offline
If you do not use systemd what do you use? How have you determined the crypttab entry is correct? How is this filesystem meant to be mounted? (for instance fstab + crypttab)
Offline
If you do not use systemd what do you use?
what I meant, is I don't use sd-encrypt rather than encrypt. I've read that this been an issue somewhere in the wiki. That's why I mentioned it.
How have you determined the crypttab entry is correct?
The other encrypted disks have the same setting and will mount at boot time without asking for the password.
My thought was that the password prompt has something to do with the setting the partition is encrypted.
But manually opening the partition with the key works without problem.
How is this filesystem meant to be mounted? (for instance fstab + crypttab)
yes, via fstab. I've put the setting on noauto, so I don't get stuck there.
Offline
Just to be sure when you wrote the keyfile works manually using cryptsetup using the keyfile does work? (I apologise the asking the obvious but before going on further investigations I want to be certain the obvious has been covered)
Offline
Sorry, I have to apologise - the path of the keyfile in /etc/crypttab was not correct. After examining the systemd service status, I could determine the mistake. Thank you for all the help and advice. Next time I will post the crypttab directly.
Offline