Grub2 unable to boot encrypted root

view full story

http://unix.stackexchange.com – I'm using ArchLinux, I followed their tutorial on encrypting your root filesystem: https://wiki.archlinux.org/index.php/Using_DM-Crypt 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/ro (HowTos)