Encrypted filesys and password

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Encrypted filesys and password

Postby mackowiakp » Feb 2nd, '15, 13:07

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?
Last edited by isadora on Feb 2nd, '15, 20:01, edited 1 time in total.
Reason: Title edited by moderator
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Encrypted filesys ans password

Postby jiml8 » Feb 2nd, '15, 16:19

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.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Encrypted filesys and password

Postby doktor5000 » Feb 2nd, '15, 20:48

What entries do you have in /etc/crypttab ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest