LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Encrypted LVM process loops "already mapped or mounted", Mint 16 Cinnamon x64 (https://www.linuxquestions.org/questions/linux-mint-84/encrypted-lvm-process-loops-already-mapped-or-mounted-mint-16-cinnamon-x64-4175491057/)

RickDeckard 01-12-2014 06:31 PM

Encrypted LVM process loops "already mapped or mounted", Mint 16 Cinnamon x64
 
I've been trying to set up a LVM boot with an encrypted partition for Mint and an encrypted partition shared as /home and swap space between Mint and my other Linux system. On every startup, cryptsetup asks me to supply the passphrase to my Mint LVM (under its physical name) AFTER it maps same LVM to cryptroot. The result is, as you might expect, me always being asked to supply the passphrase to a drive that will not mount. I can be to, and input, the passphrase seven times before I get to press "S" or "M" for recovery options.

/etc/crypttab:
Code:

georgia UUID=... none luks, cipher=serpent-xts-essiv:sha256, retry=2,lvm=atlanta-root

shared UUID=... none luks cipher=serpent-xts-essiv:sha256,retry=2,lvm=data-home

/etc/initramfs-tools/conf.d/cryptroot:
Code:

CRYPTOPTS=TARGET=georgia source=/dev/disk/by-uuid/...,lvm=atlanta-root
/etc/default/grub:
Code:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash rootfstype=ext4"
GRUB_CMDLINE_LINUX="cryptdevice=/dev/disk/by-uuid/... georgia"

The boot process complains and quits, or worse yet drops me to initramfs without a word, if any of these entries are absent. I've looked over and tried everything I can to get it to even this point, didn't want to come here without making at least a bit of effort. There's got to be something I'm missing. A little help here, please?

RickDeckard 01-22-2014 07:30 AM

Never mind, just had to go into /usr/share/initramfs-tools/scripts/local-top/cryptroot and change crypttarget from "cryptroot" to "", then update the initramfs. It works fine now.


All times are GMT -5. The time now is 03:16 PM.