Page 1 of 1

Encrypted filesys and password

PostPosted: Feb 2nd, '15, 13:07
by mackowiakp
I created small (10 GB) partition as encrypted one. I dont want to mount automatically this partition during startup so in fstam I placed noauto statement.
But the problem is that PC still ask me during boot about password to that filesys.
So I commented in fstab line with mount definition for this partition. But still PC ask me for pass.
Is any possibility to be ask for pass only during on-demand mounting not during booting?

Re: Encrypted filesys ans password

PostPosted: Feb 2nd, '15, 16:19
by jiml8
Your fstab contains information pertaining to volumes to be mounted.

Because you have an encrypted device, the system cannot identify the volume within the device until the device is opened. I presume the system wants the device opened so that it can determine if the device is to be mounted or not.

If you do not wish for this behavior, you will have to change the initrd because that is where the message is coming from. Offhand, I can't tell you how to remove the crypto module from the initrd; my problem is usually the opposite one, where I try to add a module that the initrd is not picking up.

However, I am pretty sure there is a dracut option to permit you to exclude specific modules. I suggest you read the manpage for dracut as a place to start.

Re: Encrypted filesys and password

PostPosted: Feb 2nd, '15, 20:48
by doktor5000
What entries do you have in /etc/crypttab ?