[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd and encrypted partition (was: grub and encrypted partition problem)



On 2015-08-29 05:12:46 PM, Hans wrote:
> Hello list,
> I am having still the problem that my encrypted partition are not opened
> at boot and thus cannot be mounted.
> I believe, it might be a problem with systemd, but i am not experienced with 
> systemd, to have a clue, where to look.
> IMO this is the related error message of systemd:
> Aug 29 16:18:16 protheus2 systemd-default-display-manager-
> generator[200]: */lib/systemd/system/kdm.service is not a systemd unit, we 
> disable th* 
> *rpcbind.target: Dependency Before=rpcbind.target dropped* 
> *[/run/systemd/generator/systemd-cryptsetup@home.service:13] Failed to 
> add required mount for, ignoring: * 
> *open-vm-tools.service: Cannot add dependency job, ignoring: Unit open-
> vm-tools.service failed to load: N* 
> *display-manager.service: Cannot add dependency job, ignoring: Unit 
> display-manager.service is masked.* 
> *display-manager.service: Cannot add dependency job, ignoring: Unit 
> display-manager.service is masked.* 

I'm also not a systemd expert, but 'failed to add required mount' seems
suggestive.

> Also I get an error message by creating a new initrd:
> update-initramfs -u -k all 

What is the error message? 

> I looked, if /dev/sda8 is in /etc/uswusp.conf, but as it is correct, /dev/sda5 
> is named in it (which is swap).
> It would be nice, if someone could give me a clue, how to initialise the crypt 
> related configurations.

How did you set up your partitions? Do you use cryptsetup? Did you fill
out the relevant entries in /etc/cryptab? What happens if you run
cryptdists_start?

MM


Reply to: