You are not logged in.

#1 2008-10-07 03:14:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

root partition using dm-crypt on LVM

I've just got a new job working for a Network Security firm, and I get to choose what desktop I use, as long as it's *secure*.  Ding ding ding!! Linux!!

I wanted to install Arch with LVM and Encryption. LVM I've done before, and Encryption I've done by following the wiki and doing it in a Virtual Machine this afternoon. Doing them both together is causing me problems neutral

At the moment, it's barfing out when I try and boot. Here is a screenshot of where is fails:
http://picpaste.com/SShotArchTesting.jpeg (click on the image for full size version)

As you can see in the red highlight, the LVM starts and activates OK.

The pink part seems to be trying to unlock my / 'partition'. It seems to succeed given the "key slot 0 unlocked" message.

The yellow part is obviously where it's failing sad

Before I rebooted from ArchLive, I had the following:

/dev/mapper/vg0-root     # LVM volume for /
/dev/mapper/root         # Encrypted map to vg0-root

My partition table is:

/dev/sda1   # /boot
/dev/sda2   # <swap>  -  also encryted
/dev/sda3   # LVM physical volume
/dev/sdb1   # LVM physical volume

My kernel line for grub is:

kernel /vmlinuz26 root=/dev/mapper/vg0-root cryptdevice=/dev/mapper/vg0-root:vg0 ro vga=790

Any suggestions on how to make kinit play ball? sad

Last edited by fukawi2 (2008-10-07 03:15:10)

Offline

Board footer

Powered by FluxBB