You are not logged in.
Hi, in my new system I'm using LVM on LUKS on RAID. This is visualised below.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
|-sda1 8:1 0 1G 0 part /boot
`-sda2 8:2 0 222.6G 0 part
`-md127 9:127 0 444.9G 0 raid0
`-ssdraid0enc 253:0 0 444.9G 0 crypt
|-ssdVG-swap 253:1 0 16G 0 lvm
|-ssdVG-root 253:2 0 96G 0 lvm /
`-ssdVG-home 253:3 0 299.6G 0 lvm /home
sdb 8:16 0 223.6G 0 disk
|-sdb1 8:17 0 1G 0 part
`-sdb2 8:18 0 222.6G 0 part
`-md127 9:127 0 444.9G 0 raid0
`-ssdraid0enc 253:0 0 444.9G 0 crypt
|-ssdVG-swap 253:1 0 16G 0 lvm
|-ssdVG-root 253:2 0 96G 0 lvm /
`-ssdVG-home 253:3 0 299.6G 0 lvm /home
However the system won't boot and times out looking for /dev/ssdVG/root
I imagine it has something to do with my mkinitpcio image (https://ptpb.pw/Hb2c).
Also, here is my mdadm.conf file which is embedded in the initram when I use the mdadm_udev hook (https://ptpb.pw/ltOy)
And my /etc/default/grub file (https://ptpb.pw/x_sO)
The argument I am passing is cryptdevice=/dev/md/ssdraid0:ssdraid0enc
Are my hooks setup right? How do I debug this?
Thanks
Solution:
Need to use rd.luks.name rather than cryptdevice argument to kernel
Last edited by KylieGS (2018-07-23 15:44:24)
Offline
Solution:
Need to use rd.luks.name rather than cryptdevice argument to kernel
Just to note cryptdevice is correct for the none sd hook, rd.luks.name is correct for he sd hook.
Offline