You are not logged in.
Hi!
I just installed Arch with the next config:
/dev/sda1 -> /boot
/dev/sda2 -> encrypted, contains a LVM pv, with a vg called "linux"
/dev/linux/arch -> /
/dev/linux/home -> /home
I have done this before, but with separate encrypted logical volumes, and all I needed to do is modify rc.conf and mkinitpcio.conf, add cryptdevice to the grub2 arguments for the kernel, and good to go.
Now I changed rc.conf USELVM to "yes", I added the hooks ecrypt, lvm2 in that order just before filesystem, and my kernel line in grub lookslike this:
linux /vmlinuz-linux root=/dev/linux/arch cryptdevice=/dev/sda2:lvm ro quiet
How should I configure this? And also, I used luks on the pv, but I don't know if I should be doing that (after all, I was encrypting all LVs with the same password)
Thanks!
Offline
Hi,
I use pretty much the same configuration. Except that my boot parameter says cryptdevice=/dev/sda2:root. The :root part, as I get it, tells kernel that the root partition is on that physical device and hence it has to be cryptmounted first.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline