You are not logged in.
Hi !
I've switched recently to systemd and I've a problem to type my passphrase for unlocking my encrypted /home and swap at boot.
I see the prompt, but I don't have time to type anything, systemd continues booting anyway.
How can I force systemd to stop waiting for me to finish typing my passphrase ?
Here's my crypttab :
swap /dev/sda2 none timeout=1h
home /dev/sda9 none timeout=1hThanks for your help.
Last edited by yodaz (2012-07-31 20:49:54)
Offline
What hooks you have in mkinitcpio.conf?
Offline
Hi,
I have the following hooks :
HOOKS="base udev autodetect pata scsi sata filesystems usbinput keymap shutdown fsck usr"Offline
Offline
I'm not sure it's related to my problem ; I'm not using keyfile, I type passphrase on each boot.
And I don't need to mount ciphered partition from initramfs because only my home and my swap are crypted.
Here's my fstab :
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mapper/home /home ext3 defaults 0 1
/dev/mapper/swap swap swap defaults 0 0
UUID=0b408d8d-176a-4125-963d-3336c1122623 /var ext4 defaults 0 1
UUID=504126a5-5f6a-4241-b8e8-2dc7f43bf4eb /boot ext2 defaults 0 1
UUID=74682c6c-2144-4f13-ad15-fad581855295 /tmp ext4 defaults 0 1
UUID=869039e9-ade7-49b7-a7b1-23c25393edb4 / ext4 defaults 0 1
UUID=c2513c12-0df0-4740-9989-9a796bb97eae /usr ext4 defaults 0 1Offline
Ok, I've found what's wrong. I had the following line at end of my /etc/fstab that caused problem :
//192.168.0.2/media /media/nas cifs defaults,credentials=/etc/smb.credentials,ro,gid=91,uid=1000,iocharset=utf8,file_mode=0444,dir_mode=0555 0 0With this line, mounting filesystems failed and goes into endless error loop.
I've solved the problem by using automount : I've added noauto,x-systemd.automount in mount options, and everything works well
//192.168.0.2/media /media/nas cifs defaults,credentials=/etc/smb.credentials,ro,gid=91,uid=1000,iocharset=utf8,file_mode=0444,dir_mode=0555,noauto,x-systemd.automount 0 0Offline
How can I flag this topic as solved please ?
Offline
Edit the first post and prepend [Solved] to the subject.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Thanks, and sorry for the lame question ><
Offline