Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've used archlinux before, and I've decided to have it enccrypted. I use BIOS. I used the latest vesion of archboot. I made an LUKS setup, then made lvm volume group and two ext4 partition in it for / and /boot. Then I made a ext4 boot partition and let the setup to save the password in my root partition and use kernel path for fstab.

After the installation I corrected my fstab and mkintcpio and once installed syslinux and the other time grub. But no matter what the bootloader is it couldn't load the OS or the and goes to rootfs without asking the password to my luks setup.

How should I fix it, How much more information is my question lacking to be answered, where am I doing it wrong? I also played with the crypttab however it resulted in no good.

share|improve this question
Does your HOOKS-array in /etc/mkinitcpio.conf contain these items in this exact order: encrypt lvm2 filesystems? And remember, if you edit /etc/mkinitcpio.conf, you have to recreate initramfs with this command: mkinitcpio -p linux. And does your kernel commandline (GRUB_CMDLINE_LINUX-variable in /etc/default/grub) contain this: cryptdevice=<device>:<dmname> where <device> is the encrypted partion, for example /dev/sda2 and <dmname> is the name given to lvm device which is under /dev/mapper/<dmname> , f.ex. cryptroot? – Risto Salminen Dec 7 '13 at 15:24
Yes I've done them. However still getting the error. Thanks for you response:) – prodigen Dec 7 '13 at 18:37
Well, cryptdevice=<device>:<dmname> kernel parameter should make it to prompt for passphrase, so it sounds like there's something wrong with it. You'd try to edit kernel command line when it boots in grub to ensure that the kernel parameter is right. – Risto Salminen Dec 7 '13 at 18:49
I'll try, thanks! – prodigen Dec 7 '13 at 19:11
From your question I understand that you have the boot partition encripted and inside the LVM volume group. Is that so? – Mauricio Pasquier Juan Jan 5 '14 at 5:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.