mount more than one luks partition at boot

Daniel Hahler ubuntu+lists at thequod.de
Mon May 18 12:28:08 UTC 2009


On Sat, May 16, 2009 00:37, travis wrote:

> I regularly use LVM over encryption (via cryptsetup) as per the
> alternate installer.
>
> However, I have found that the boot process will only attempt to open
> up the primary encrypted devices; if you have encrypted another drive using
> the same technique, you have to mount it manually (and this causes the
> mount -a to fail for that drive's /etc/fstab entry).
>
> I used to be rather strong regarding the boot process and how it
> works, but ever since things went to initrd, I've lost touch.
>
> Can anyone tell me how to get an additional cryptsetup-encrypted
> volume to be decrypted during the boot process, along with the primary one
> which holds / and so on?

Check /etc/crypttab.

There's probably an entry for your root filesystem, and you should add
your other(s) there, too.

*edit*: resent to mailinglist, sorry.


Cheers,
Daniel

-- 
http://daniel.hahler.de/





More information about the Ubuntu-devel-discuss mailing list