Re: How to encrypt /home, so it gets mounted during boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jan 28, 2011 at 7:32 PM, Karol Babioch <karol@xxxxxxxxxx> wrote:
> Now, while the root lv gets mounted, the initscripts then tries to mount
> anything within /etc/fstab, but here lies the problem, because the lvm2
> hook hasn't unlocked /dev/sdb1, because it is encrypted, and gets
> unencrypted only afterwards (/etc/crypttab).

I'm not using the same setup as you, but looking at rc.sysinit, it
should support a setup like the following (where any link in the chain
can be skipped of course):

raid -> lvm -> encrypt -> lvm -> fs

So in principle your setup should work (notice that inside the
crypttab stuff there is a call to activate_vgs).

I don't know how to solve your particular problem though, just thought
I'd let you know that it "should work" (TM).

Cheers,

Tom


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux