Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using ArchLinux, I followed their tutorial on encrypting your root filesystem:


But I cannot get grub to boot the encrypted partition.

My grub file looks like this:

root (hd0,2)
kernel /vmlinuz-linux cryptdevice=/dev/sda4:root root=/dev/mapper/root ro
initramfs /intiramfs-linux.img

I've tried editing this to everything I could think of, and everything I could find online, but nothing will boot. It always gives me this error:

ERROR: device '/dev/mapper/root' not found. Skipping fsck.
ERROR: unable to find root device '/dev/mapper/root'.

Any help would be greatly appreciated.

share|improve this question
That doesn't look like a Grub2 configuration file, looks like plain Grub. –  Mat Jul 8 '12 at 15:36
Ah, my mistake, thank you. –  Jake Jul 8 '12 at 16:15
This isn't a grub issue per se; it is your initramfs that does not seem to understand how to open the encrypted volume. –  psusi Jul 9 '12 at 0:44
Did you add the "encrypt" hook to /etc/mkinitcpio.conf and rebuilt your initramfs? –  Wieland Jul 9 '12 at 16:24

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.