Ok, now I am a bit confused. Why do I need the LVM root partition? Shouldn't I be using the luks one?
My original grub conf:
Code:
title Fedora (2.6.31.5-127.fc12.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=/dev/mapper/luks-7ad085ad-c93d-4e07-a420-775d8f2c3368
initrd /initramfs-2.6.31.5-127.fc12.x86_64.img
Code:
[root@lenovo-t61 ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg_lenovot61/lv_root
VG Name vg_lenovot61
LV UUID oTdjT1-ZeKX-uUAX-4OoH-MiPX-jQkP-Y4XzNL
LV Write Access read/write
LV Status available
# open 1
LV Size 15,00 GB
Current LE 3840
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
Code:
[root@lenovo-t61 ~]# blkid
/dev/sda1: UUID="d1ed46ad-9750-4368-9d04-082dea0ef096" TYPE="ext4"
/dev/sda2: UUID="CYJaay-qeEe-RjV1-8USU-vFtm-tzE2-RpzbR9" TYPE="LVM2_member"
/dev/mapper/vg_lenovot61-lv_root: UUID="7ad085ad-c93d-4e07-a420-775d8f2c3368" TYPE="crypto_LUKS"
...
Maybe our encryption strategy differs.
I created the encrypted luks partition during the fedora installation. By the way, it was the first time I started using lvm. Before I had my partitions devided as described in the first post without lvm. After this didn't work, I reinstalled the whole thing and let fedora devide my harddrive automatically. sda2 became lvm-group, which had logical partitions: root, home and swap. Here I activated the encryption, however, only for root. home and swap were encrypted later. Was this maybe a mistake.
I am planing on reinstalling the whole thing and do following:
Create structure:
Code:
sda1 - primary (for /boot)
sda2
- sda3 (for root)
- sda4 (rest for /home)
- sda5 (for swap)
Next I encrypt sda3, sda4, sda5. After that I install Fedora 12.
OR should I just use the options offered during the installation and encrypt everything at once?
Thanks again :-)